getSchoolSetupInfo(); $status_sty = array('REGISTERED' => 'MATRICUALDO', 'RETIRED' => 'RETIRADO'); $count = 0; $totaldebts_dbt = 0; ?> getTotalsBySerialTtls(explode(',', $student->serial_ttls), $schoolYear->serial_scy); $totalDebtedByStudent = 0; ?> serial_dbt): ?> getTotalPaidByTotalInvoices(array($student->serial_dbt)); $totalDebted = $student->debts_dbt - $totalPaidPreviousYears; $totalDebtedByStudent+=$totalDebted; $totaldebts_dbt+=$totalDebted; ?> $beforeSchoolYerar): ?> start_date_deb])): ?> start_date_deb]); $dataInvoiceTotals = explode(',', $dataInvoice[0]); $dataInvoiceInvocies = explode(',', $dataInvoice[1]); $totalTlls = 0; foreach ($dataInvoiceTotals as $dataInvoiceTotal) { $dataInvoiceTotalsValue = explode('@', $dataInvoiceTotal); $totalTlls+=$dataInvoiceTotalsValue[1]; } $serailttls = array(); foreach ($dataInvoiceInvocies as $dataInvoiceInvocie) { $dataInvoiceTotalsttls = explode('@', $dataInvoiceInvocie); $serailttls[] = $dataInvoiceTotalsttls[1]; } $paymentDetailTotalInvoice = new PaymentDetailTotalInvoice(); $totalPaid = $paymentDetailTotalInvoice->getTotalPaidByTotalInvoices($serailttls); $total = $totalTlls - $totalPaid; $month->total+=$total; $totalDebtedByStudent+=$total; $totalByYear+=$total; if($totalByYear){ $carPaids++; } ?> $beforeSchoolYerar): ?> total ?>
name_sst); ?>
AÑO LECTIVO name_scy; ?>
TODOS LOS ESTUDIANTES CON CARTAS DE PAGO PENDIENTES
HASTA LA CARTA DE PAGO No. cp; ?>
FECHA DEL INFORME:
VALOR TOTAL DATOS DE LA MADRE DATOS DEL PADRE
Número Código Nombre Curso Beca name_scy; ?> name_scy; ?> TOTAL NÚMERO DE CARTAS DE PAGO NOMBRE CORREO 1 CORREO 2 CORREO 3 CELULAR NOMBRE CORREO 1 CORREO 2 CORREO 3 CELULAR
serial_std; ?> last_name_std); ?> first_name_std); ?> serial_std); $course = $studentInfo->getCourseInfo($schoolYear->serial_scy); $mother = $studentInfo->getGuardianByType('MOTHER'); $father = $studentInfo->getGuardianByType('FATHER'); ?> name_set); ?> name_lvl); ?> name_clg); ?> No matriculado en el año seleccionado getBecaDiscountsByPaymentConcopetAsignedTM($schoolYear->serial_scy, $student->serial_std, Date('M', strtotime($data['txtEndDate'] . '-01'))); ?> name_dsc; ?> getTotalsBySerialTtls(explode(',', $student->serial_ttls), $beforeSchoolYerar->serial_scy); foreach ($totalInvoiceBeforeYears as $totalInvoiceBeforeYear) { // Debug::print_r($totalInvoiceBeforeYear);die(); $dataInvoice = explode('*', $totalInvoiceBeforeYear); $dataInvoiceTotals = explode(',', $dataInvoice[0]); $dataInvoiceInvocies = explode(',', $dataInvoice[1]); $totalTlls = 0; foreach ($dataInvoiceTotals as $dataInvoiceTotal) { $dataInvoiceTotalsValue = explode('@', $dataInvoiceTotal); $totalTlls+=$dataInvoiceTotalsValue[1]; } $serailttls = array(); foreach ($dataInvoiceInvocies as $dataInvoiceInvocie) { $dataInvoiceTotalsttls = explode('@', $dataInvoiceInvocie); $serailttls[] = $dataInvoiceTotalsttls[1]; } $paymentDetailTotalInvoice = new PaymentDetailTotalInvoice(); $totalPaid = $paymentDetailTotalInvoice->getTotalPaidByTotalInvoices($serailttls); $total = $totalTlls - $totalPaid; $totalYear+=$total; $totalDebtedByStudent+=$total; } $beforeSchoolYerar->total+=$totalYear; ?> last_name_grd); ?> first_name_grd); ?> email_grd; ?> email2_grd; ?> email3_grd; ?> mobile_grd; ?> last_name_grd); ?> first_name_grd); ?> email_grd; ?> email2_grd; ?> email3_grd; ?> mobile_grd; ?>
TOTALES total; ?> total ?>