} elseif ($n2 == 4) { echo ' Four'; } elseif ($n2 == 5) { echo ' Five'; } elseif ($n2 == 6) { echo ' Six'; } elseif ($n2 == 7) { echo ' Seven'; } elseif ($n2 == 8) { echo ' Eight'; } elseif ($n2 == 9) { echo ' Nine'; } } } else { echo ucwords(say_number($nilai2)); } ?> </th> <th style="font-weight: normal;"> <?php if (array_key_exists($sub->getSubjectCurrId() . '#' . $student->getId() . '#91', $grades)) { if ($grades[$sub->getSubjectCurrId() . '#' . $student->getId() . '#91'] == '80') { echo __('A'); } elseif ($grades[$sub->getSubjectCurrId() . '#' . $student->getId() . '#91'] == '70') { echo __('B'); } elseif ($grades[$sub->getSubjectCurrId() . '#' . $student->getId() . '#91'] == '60') { echo __('C'); } elseif ($grades[$sub->getSubjectCurrId() . '#' . $student->getId() . '#91'] == '50') { echo __('D'); } else {
echo $journal->getAcademicCost() && $journal->getAcademicCost()->getAcademicCostComponent() ? $journal->getAcademicCost()->getAcademicCostComponent()->toString() : '-'; ?> </td></tr> <tr><td>Jumlah Pembayaran</td><td> </td><td>: Rp. <?php echo format_number($journal->getAmount()); ?> </td></tr> <tr><td>Terbayar</td><td> </td><td>: Rp. <?php echo format_number($journal->getPaid()); ?> </td></tr> <tr><td>Sisa</td><td> </td><td>: Rp. <?php echo format_number($journal->getReceivable()); ?> </td></tr> <tr><td>Terbilang</td><td> </td><td>: <?php echo ucwords(say_number($journal->getPaid())); ?> Rupiah</td></tr> <tr><td colspan="3"nowrap><br>Demikianlah tanda bukti pembayaran ini dibuat sebagai tanda bukti pembayaran yang sah</td></tr> <tr><td><br><br><br>Jakarta, <?php echo date('d-m-Y'); ?> </td><td> </td><td> </td></tr> <tr><td><?php echo ParamsPeer::retrieveByCode('univ_name')->getValue(); ?> </td><td> </td><td> </td></tr> <tr><td><br><br><br><br><br>Kasir</td><td> </td><td> </td></tr> </table>
</td> </tr> <?php $total_cost = 0; foreach ($payments as $c) { $total_cost += $c->getPaid(); } ?> <tr> <td align="left"><?php echo __('Banyaknya Uang'); ?> </td> <td width="2%" align="center">:</td> <td align="left"> <?php echo ucwords(say_number($total_cost)); ?> Rupiah</td> </tr> <tr> <td align="left"><?php echo __('Untuk Pembayaran'); ?> </td> <td width="2%" align="center">:</td> <td align="left"> <?php $tutors = array(); foreach ($payments as $cr) { $tutors[] = $cr->getAcademicCost() ? $cr->getAcademicCost()->getAcademicCostComponent()->getName() : '-'; }
</td></tr> <tr><td style="vertical-align: top;">Untuk Pembayaran</td><td>:</td> <td style="vertical-align: top;"> <?php echo $journal->getAcademicCost() && $journal->getAcademicCost()->getAcademicCostComponent() ? $journal->getAcademicCost()->getAcademicCostComponent()->toString() : '-'; ?> </td> </tr> <tr><td>Jumlah Pembayaran</td><td>:</td> <td> <b><?php echo 'Rp. ' . format_number($journal->getAmount()) . ',-'; ?> </b><br /> <font style=" text-decoration:underline; font-style: italic;"><?php echo ucwords(say_number($journal->getAmount())); ?> Rupiah</font> </td> </tr> </table> <br /><br /><br /> <table align="left" style="border-collapse:collapse; margin-left: 40px;width:100%;"> <tr> <td width="50%" style="vertical-align: top;"> <table> <tr><td></td></tr> <tr> <td><b><?php echo __('Siswa'); ?>