getSchoolSetupInfo(); $status_sty = array('REGISTERED' => 'MATRICUALDO', 'RETIRED' => 'RETIRADO'); $count = 0; $totaldebts_dbt = 0; $totalDebtedByStudentCurrentYear = 0; ?> getTotalsBySerialTtls(explode(',', $student->serial_ttls), $schoolYear->serial_scy); $totalDebtedByStudent = 0; ?> $beforeSchoolYerar): ?> $beforeSchoolYerar): ?> total ?> serial_pcg; $total+=$month->$str ?>
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 description_name_pcg; ?>
Número Código Nombre Curso Beca Deudas anteriores name_scy; ?> cp; ?> name_scy; ?> TOTAL cp; ?> TOTAL
serial_std; ?> last_name_std); ?> first_name_std); ?> serial_std); $course = $studentInfo->getCourseInfo($schoolYear->serial_scy); ?> 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; ?> serial_dbt): ?> getTotalPaidByTotalInvoices(array($student->serial_dbt)); $totalDebted = $student->debts_dbt - $totalPaidPreviousYears; $totalDebtedByStudent+=$totalDebted; $totaldebts_dbt+=$totalDebted; ?> 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; ?> 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; $totalDebtedByStudentMonth+=$total; $totalDebtedByStudentCurrentYear+=$total; ?> start_date_deb])): ?> start_date_deb]); $dataInvoiceTotals = explode(',', $dataInvoice[0]); $dataInvoiceInvocies = explode(',', $dataInvoice[1]); $totalTlls = 0; foreach ($dataInvoiceTotals as $dataInvoiceTotal) { $dataInvoiceTotalsValue = explode('@', $dataInvoiceTotal); if ($dataInvoiceTotalsValue[0] == $paymenConcepGroup->serial_pcg) { $totalTlls+=$dataInvoiceTotalsValue[1]; } } $serailttls = array(); foreach ($dataInvoiceInvocies as $dataInvoiceInvocie) { $dataInvoiceTotalsttls = explode('@', $dataInvoiceInvocie); if ($dataInvoiceTotalsttls[0] == $paymenConcepGroup->serial_pcg) { $serailttls[] = $dataInvoiceTotalsttls[1]; } } $paymentDetailTotalInvoice = new PaymentDetailTotalInvoice(); $totalPaid = $paymentDetailTotalInvoice->getTotalPaidByTotalInvoices($serailttls); $total = $totalTlls - $totalPaid; $str = 'total' . $paymenConcepGroup->serial_pcg; $paymenConcepGroup->total+=$total; $month->$str+=$total; $totalDebtedByStudent+=$total; ?>
TOTALES total; ?> total ?> total; ?> $str?$month->$str:''; ?>