getPaymntesBySchoolYearMonthDiscountSoonPayment($data['serial_scy'], $data['start_date_deb'], 1, false, 'ALL', 'ALL');
$schoolYear = SchoolYear::find($data['serial_scy']);
$schoolSetup = new SchoolSetup();
$schoolSetupInfo = $schoolSetup->getSchoolSetupInfo();
$count = 0;
$totaldebts_dbt = 0;
//$payementConceptGroup = PaymentConceptGroup::find($data['serial_pcg']);
?>
|
Código |
Estudiante |
Curso |
Fecha de pago |
$student): ?>
status_invoice_ttl)) {
$removeDiscount = true;
$removeDiscountStatus = 'YES';
} else {
if (strpos($student->status_invoice_ttl, 'PAID') === false) {
if (strpos($student->status_invoice_ttl, 'PARTIALLY') === false) {
$removeDiscount = true;
$removeDiscountStatus = 'YES';
} else {
$paymetnDetailTotalInvoice = new PaymentDetailTotalInvoice();
$paymentDetails = $paymetnDetailTotalInvoice->getPaymentDetailsBySeialsTtlsArrayStartDate(array($student->serial_ttl), $data['start_date_deb']);
foreach ($paymentDetails as $paymentDetail) {
$paymetDate = $paymentDetail->payment_date_pdt;
if ($paymetDate > $control_date) {
$removeDiscount = true;
$removeDiscountStatus = 'YES';
}
break;
}
}
} else {
$paymetnDetailTotalInvoice = new PaymentDetailTotalInvoice();
$paymentDetails = $paymetnDetailTotalInvoice->getPaymentDetailsBySeialsTtlsArrayStartDate(array($student->serial_ttl), $data['start_date_deb']);
foreach ($paymentDetails as $paymentDetail) {
$paymetDate = $paymentDetail->payment_date_pdt;
if ($paymetDate > $control_date) {
$removeDiscount = true;
$removeDiscountStatus = 'YES';
}
break;
}
}
}
?>
getStudentYearDiscountByYearByStudent($schoolYear->serial_scy, $student->serial_pct, $student->serial_std);
?>
status_invoice_ttl; ?>
|
serial_std; ?>
|
last_name_std); ?> first_name_std); ?>
|
name_lvl); ?> name_set); ?> name_clg); ?>
|
|