{if !!dt.termPanel}
{/if}
{if !!dt.schoolPanel}
{/if}
{if !!dt.termPanel}
{if !!dt.termPanel.yocTermFightCardDto && dt.termPanel.fightEnable != 0}
{if !!dt.termPanel.yocTermFightCardDto.certGenerated}
{else}
{if dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_APPLY_FIGHT_AVAILABLE}
{elseif dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_APPLY_FIGHT_DONE}
{elseif dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_APPLY_CERT_AVAILABLE || dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_SUCCESS_NORMAL_CERT_AVAILABLE}
{elseif dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_APPLY_CERT_DONE || dt.termPanel.yocTermFightCardDto.detailStatus == constant.DETAIL_STATUS_CERT_DIRECT}
{/if}
{/if}
{/if}
{if !!dt.termPanel.yocCert && dt.termPanel.chargable == true &&
dt.termPanel.chargeableCert == 1 && !!dt.termPanel.yocTermPaidCertCardDto}
{if payCertStatus == euConstant.PAYCERT_PRE}
{if dt.termPanel.yocTermPaidCertCardDto.applyCert == false}
{else}
{/if}
{elseif payCertStatus == euConstant.PAYCERT_CONFIRMSCORE}
{if dt.termPanel.yocTermPaidCertCardDto.applyCert == false &&
dt.termPanel.yocTermPaidCertCardDto.pass == true}
{elseif dt.termPanel.yocTermPaidCertCardDto.applyCert == true &&
dt.termPanel.yocTermPaidCertCardDto.pass == true }
{/if}
{elseif payCertStatus == euConstant.PAYCERT_APPLYCERTEND}
{if dt.termPanel.yocTermPaidCertCardDto.applyCert == true && dt.termPanel.yocTermPaidCertCardDto.pass == true }
{/if}
{elseif payCertStatus == euConstant.PAYCERT_CERTSEND}
{if dt.termPanel.yocTermPaidCertCardDto.applyCert == true && dt.termPanel.yocTermPaidCertCardDto.pass == true }
{/if}
{/if}
{/if}
{/if}