$studentYear->serial_spt, 'serial_lvl' => $studentYear->serial_lvl, 'serial_scy' => $studentYear->serial_scy, 'serial_set' => $studentYear->serial_set, 'mandatory_ypc' => 'YES'));
//Obtener rubros obligatorios por año lectivo, nivel, especialidad, payment concept,sección
$mandatoryPaymentConcepts = $yearLevelSpecialtyPaymentConcept->getPaymentConceptByLevelSectionYearGroup($paymentConcept->serial_pcg, true, $studentDataType->type_std);
?>
serial_ypc);
$paymentConceptDiscounts = PaymentConcept::find($mandatory->serial_pct);
$invoice = new DriveInvoiceCotroller();
if ($yearLevelSpecialtePaymentConcept->frequency_ypc == 'MONTHLY') {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, $month->format('Y-m-d'));
if (empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
}
} elseif ($yearLevelSpecialtePaymentConcept->frequency_ypc == 'ANNUAL') {//enum('ANNUAL','MONTHLY')
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, FALSE);
if (!empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, $month->format('Y-m-d'));
if (empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
if ($month->format('Y-m-d') === $studentYear->date_start_invoice_sty) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
} else {
$yearLevelSpecialtePaymentConceptData = new YearLevelSpecialtyPaymentConcept;
}
}
} else {
if ($month->format('Y-m-d') === $studentYear->date_start_invoice_sty) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
} else {
$yearLevelSpecialtePaymentConceptData = new YearLevelSpecialtyPaymentConcept;
}
}
}
?>
serial_ypc): ?>
getDiscountsByPaymentConcopetAsignedTM($studentYear->serial_scy, $studentYear->serial_std, $month->format('M'));
$discountsRgisterStudnetNews = $paymentConceptDiscounts->getDiscountsRegisterNewByPaymentConcopetAsignedTM($studentYear->serial_scy, $studentYear->serial_std, $month->format('M'));
?>
serial_dsc)): ?>
status_invoice_ttl,'PAID')===false && strpos($yearLevelSpecialtePaymentConceptData->status_invoice_ttl,'PARTIALLY')===false && strpos($yearLevelSpecialtePaymentConceptData->status_invoice_ttl,'INVOICED_SAFI')===false): ?>
total_deb ? $yearLevelSpecialtePaymentConceptData->total_deb : $yearLevelSpecialtePaymentConceptData->value_ypc;
?>
value_ydv;
?>
-
name_dsc; ?>value_ydv; ?>
$studentYear->serial_spt, 'serial_lvl' => $studentYear->serial_lvl, 'serial_scy' => $studentYear->serial_scy, 'serial_set' => $studentYear->serial_set, 'mandatory_ypc' => 'NO'));
$optionalPaymentConcepts = $yearLevelSpecialtyPaymentConceptOptionals->getPaymentConceptByLevelSectionYearGroup($paymentConcept->serial_pcg, false);
?>
serial_ypc);
$paymentConceptDiscounts = PaymentConcept::find($optional->serial_pct);
if ($yearLevelSpecialtePaymentConcept->frequency_ypc == 'MONTHLY') {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, $month->format('Y-m-d'));
if (empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
}
} elseif ($yearLevelSpecialtePaymentConcept->frequency_ypc == 'ANNUAL') {//enum('ANNUAL','MONTHLY')
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, FALSE);
if (!empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept->getCheckIsAsigned($serial_std, $month->format('Y-m-d'));
if (empty($yearLevelSpecialtePaymentConceptData->serial_ypc)) {
if ($month->format('Y-m-d') === $studentYear->date_start_invoice_sty) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
} else {
$yearLevelSpecialtePaymentConceptData = new YearLevelSpecialtyPaymentConcept;
}
}
} else {
if ($month->format('Y-m-d') === $studentYear->date_start_invoice_sty) {
$yearLevelSpecialtePaymentConceptData = $yearLevelSpecialtePaymentConcept;
} else {
$yearLevelSpecialtePaymentConceptData = new YearLevelSpecialtyPaymentConcept;
}
}
}
?>
serial_ypc): ?>
getDiscountsByPaymentConcopetAsignedTM($studentYear->serial_scy, $studentYear->serial_std, $month->format('M'));
?>
status_invoice_ttl,'PAID')===false && strpos($yearLevelSpecialtePaymentConceptData->status_invoice_ttl,'PARTIALLY')===false && strpos($yearLevelSpecialtePaymentConceptData->status_invoice_ttl,'INVOICED_SAFI')===false): ?>
total_deb ? $yearLevelSpecialtePaymentConceptData->total_deb : $yearLevelSpecialtePaymentConceptData->value_ypc;
?>
value_ydv;
?>
-
name_dsc; ?>value_ydv; ?>