"#","<?php echo __('Tanggal'); ?> ","<?php echo __('Status'); ?> " <?php $i = 0; foreach ($pager->getResults() as $student_absence) { ++$i; use_helper('myHelper'); ?> "<?php echo $i + ($pager->getPage() - 1) * $pager->getMaxPerPage(); ?> ","<?php echo $student_absence->getStart() ? DateToIndo($student_absence->getStart()) : 'n/a'; ?> ","<?php if ($student_absence->getStatus() == AbsenceCourse::STATUS_SICK) { echo __('Sakit'); } elseif ($student_absence->getStatus() == AbsenceCourse::STATUS_PERMIT) { echo __('Izin'); } elseif ($student_absence->getStatus() == AbsenceCourse::STATUS_ABSENCE) { echo __('Tanpa Keterangan'); } ?> " <?php }
<?php } ?> </tbody> </table> <table border="0" width="100%"> <tr><td colspan="35" style="height: 10px;"></td></tr> <tr> <td width="10%"></td> <td width="65%" align="left" style="font-size: 12px; font-weight: bold;">Mengetahui,<br />Kepala Sekolah</td><td colspan="26"></td> <td width="25%" align="left" style="font-size: 12px; font-weight: bold;" colspan="8"> Jakarta, <?php $tanggal = date('Y-m-d'); echo DateToIndo($tanggal); ?> <br />Guru Mata Pelajaran </td> </tr> <tr><td colspan="25" height="70px"></td></tr> <tr> <td></td> <td style="text-align: left; font-size: 12px; font-weight: bold;"> <?php $c = new Criteria(); $c->add(EmployeePeer::DEPARTMENT_ID, $course_schedule->getAcademicCalendar()->getDepartmentId()); $c->add(EmployeePeer::STAFF_TYPE_ID, 14); $employee = EmployeePeer::doSelectOne($c); echo $employee->getName() ? $employee->getName() : '-'; ?>
?> </td> <td><?php echo $value['tingkatan']; ?> </td> <td><?php echo $value['aktivitas']; ?> </td> <td><?php echo $value['hasil_aktivitas']; ?> </td> <td><?php echo DateToIndo($value['tanggal']); ?> </td> <td> <a href="<?php echo Yii::$app->urlManager->createUrl(['human-resource/update-aktivitas', "id" => $value['id_aktivitas']]); ?> " class="btn btn-success btn-sm"><i class="glyphicon glyphicon-pencil"></i></a> <a href="<?php echo Yii::$app->urlManager->createUrl(['human-resource/delete-aktivitas', "id" => $value['id_aktivitas']]); ?> " class="btn btn-danger btn-sm"><i class="glyphicon glyphicon-trash"></i></a> </td> </tr> <?php
echo "November "; } elseif ($bln == 12) { echo "December "; } if ($tgl_cetak == 1 || $tgl_cetak == 21 || $tgl_cetak == 31) { echo $tgl_cetak . 'st'; } elseif ($tgl_cetak == 2 || $tgl_cetak == 22) { echo $tgl_cetak . 'nd'; } elseif ($tgl_cetak == 3 || $tgl_cetak == 23) { echo $tgl_cetak . 'rd'; } else { echo $tgl_cetak . 'th'; } echo ' ' . $tahun; } else { echo DateToIndo($time2); } ?> <br /><?php if ($counseling->getEmployeeId() == 444) { echo 'Home Teacher'; } else { echo 'Wali Kelas'; } ?> </b> </td> </tr> <tr><td height="50"></td></tr> <tr> <td style="font-size: 11px;"><b>
<td align="left"> <?php echo $cir_history->getColItem() ? $cir_history->getColItem()->getCatalog() ? $cir_history->getColItem()->getCatalog()->getTitle() : '-' : '-'; ?> </td> <td align="left"> <?php echo $cir_history->getColItem() ? $cir_history->getColItem()->getColLocation() ? $cir_history->getColItem()->getColLocation()->getDepartment()->toString() : '-' : '-'; ?> </td> <td align="left"><?php echo $cir_history->getOrderDate() ? DateToIndo($cir_history->getOrderDate('Y/m/d')) : '-'; ?> </td> <td align="left"><?php echo $cir_history->getDueDate() ? DateToIndo($cir_history->getDueDate('Y/m/d')) : '-'; ?> </td> <td align="left"><?php echo $cir_history->getLateDays($now) . " " . __('days'); ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table>
?> </label></td> <td style="text-align:center;">:</td> <td><p class="detail"><b><?php echo $employee_medical->getDepartment() ? $employee_medical->getDepartment()->toString() : '-'; ?> </b></p></td> </tr> <tr> <td><label ><?php echo __('Medical Date'); ?> </label></td> <td style="text-align:center;">:</td> <td><p class="detail"><b><?php echo $employee_medical->getMedicalDate() ? DateToIndo($employee_medical->getMedicalDate()) : '-'; ?> </b></p></td> </tr> <tr> <td><label ><?php echo __('Hospital'); ?> </label></td> <td style="text-align:center;">:</td> <td><p class="detail"><b><?php echo $employee_medical->getHospital() ? $employee_medical->getHospital() : '-'; ?> </b></p></td> </tr> <tr>
</td> <td style="text-align: left;"> <?php if ($ta_detail->getSex() == 'L') { echo __('Laki-laki'); } elseif ($ta_detail->getSex() == 'P') { echo __('Perempuan'); } ?> </td> <td style="text-align: left;"><?php echo $ta_detail->getPob() ? $ta_detail->getPob() : '-'; ?> </td> <td style="text-align: left;"><?php echo $ta_detail->getDob() ? DateToIndo($ta_detail->getDob()) : '-'; ?> </td> <td style="text-align: left;"><?php echo $ta_detail->getReligion() ? $ta_detail->getReligion()->toString() : '-'; ?> </td> <td style="text-align: left;"><?php echo $ta_detail->getFather() ? $ta_detail->getFather() : '-'; ?> </td> <td style="text-align: left;"><?php echo $ta_detail->getMother() ? $ta_detail->getMother() : '-'; ?> </td>
++$i; if ($i % 2 == 0) { echo ' even'; } ?> "> <td><?php echo $i + ($pager->getPage() - 1) * $pager->getMaxPerPage(); ?> </td> <td class='first'><?php echo $daily_visit->getDepartment() ? $daily_visit->getDepartment()->toString() : '-'; ?> </td> <td align="left"><?php echo $daily_visit->getTimein() ? DateToIndo($daily_visit->getTimein('Y/m/d')) : '-'; ?> </td> <td align="left"><?php echo $daily_visit->getTotal(); ?> </td> <td align="left"><?php $rata = $daily_visit->getRataRata() / $daily_visit->getTotal(); $rata = round($rata, 2); $rata = $rata % (60 * 60 * 24); $hours = str_pad(intval($rata / (60 * 60)), 1, '0', STR_PAD_LEFT); $rata = $rata % (60 * 60); $mins = str_pad(intval($rata / 60), 1, '0', STR_PAD_LEFT); if ($rata > 60) { echo $hours . ' jam ' . $mins . ' menit';
?> </td> <td align="left"><?php echo $ejh->getDepartmentId() ? $ejh->getDepartment()->toString() : '-'; ?> </td> <td align="left"><?php echo $ejh->getEmployeeLevelId() ? $ejh->getEmployeeLevel()->getCode() : '-'; ?> </td> <td align="left"><?php echo $ejh->getEmployeeLevelId() ? $ejh->getEmployeeLevel()->getLevel() : '-'; ?> </td> <td align="left"><?php echo $ejh->getStart() ? DateToIndo($ejh->getStart()) : '-'; ?> </td> <td align="left"><?php echo $ejh->getWorkService() ? $ejh->getWorkService() : '-'; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table>
$totalbyr = $totalbyr + $result['totalbayar']; $totalsisa = $totalsisa + $result['sisakekurangan']; } $pdf->SetFont('Arial', 'B', 9); $pdf->SetWidths(array(20.5, 2.6, 2.6, 2.6)); $pdf->Row(array("SUBTOTAL", number_format($totalsw, 0, ',', '.') . ",-", number_format($totalbyr, 0, ',', '.') . ",-", number_format($totalsisa, 0, ',', '.') . ",-")); $pdf->SetWidths(array(28.3)); $pdf->Row(array("SEWA KENDARAAN NON RETAIL")); $pdf->SetFont('Arial', '', 9); $pdf->SetWidths(array(2.3, 2.5, 2.5, 2.5, 3.7, 2.2, 2.2, 2.6, 2.6, 2.6, 2.6)); $pdf->SetHeight(0.1); $pdf->SetAligns(array('C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C')); $query_datakorporate = $getquerykorporate; $querykorp = mysql_query($query_datakorporate) or die("Query gagal"); while ($resultkorp = mysql_fetch_array($querykorp)) { $pdf->Row(array($resultkorp['marketing'], DateToIndoAngka($resultkorp['mulai']), $resultkorp['no_ref'], $resultkorp['kendaraan'], $resultkorp['merk'] . '-' . $resultkorp['tipekendaraan'], DateToIndoAngka($resultkorp['mulai']), DateToIndoAngka($resultkorp['sampai']), $resultkorp['nama'], number_format($resultkorp['total'], 0, ',', '.') . ",-", number_format($resultkorp['totalbayar'], 0, ',', '.') . ",-", number_format($resultkorp['sisakekurangan'], 0, ',', '.') . ",-")); $totalswkorporate = $totalswkorporate + $resultkorp['total']; $totalbyrkorporate = $totalbyrkorporate + $resultkorp['totalbayar']; $totalsisakorporate = $totalsisakorporate + $resultkorp['sisakekurangan']; } $pdf->SetFont('Arial', 'B', 9); $pdf->SetWidths(array(20.5, 2.6, 2.6, 2.6)); $pdf->Row(array("SUBTOTAL", number_format($totalswkorporate, 0, ',', '.') . ",-", number_format($totalbyrkorporate, 0, ',', '.') . ",-", number_format($totalsisakorporate, 0, ',', '.') . ",-")); $pdf->SetWidths(array(28.3)); $pdf->Row(array("")); $pdf->SetWidths(array(20.5, 2.6, 2.6, 2.6)); $pdf->SetFont('Arial', 'B', 10); $pdf->Row(array("GRAND TOTAL", number_format($totalsw + $totalswkorporate, 0, ',', '.') . ",-", number_format($totalbyr + $totalbyrkorporate, 0, ',', '.') . ",-", number_format($totalsisa + $totalsisakorporate, 0, ',', '.') . ",-")); $pdf->Ln(); $pdf->Output('Laporan Hasil Sewa Cabang ' . $gudang . ' Periode ' . DateToIndo($mulai) . " - " . DateToIndo($akhir) . '.pdf', 'D');
echo '2. ' . __('Sex'); ?> </td> <td>: <?php echo $ng_test_applicant->getSex() ? $key[$ng_test_applicant->getSex()] : ''; ?> </td> </tr> <tr> <td class="label"><?php echo '3. ' . __('Pob') . ', ' . __('Dob'); ?> </td> <td>: <?php echo $ng_test_applicant->getPob() ? $ng_test_applicant->getPob() . ', ' : ''; echo $ng_test_applicant->getDob() ? DateToIndo($ng_test_applicant->getDob()) : '-'; ?> </td> </tr> </table> <table width="95%" class="detail"> <tr> <td class="label_up" colspan="2"><?php echo 'II. ' . __('Home Detail'); ?> </td> </tr> <tr> <td class="label"><?php echo '1. ' . __('Address');
if ($can_remove) { echo link_to_remote(__('delete'), array('url' => 'ng_reg_detail/deleteDetail?id=' . $ng_reg_test_detail->getId() . '&ng_reg_period_id=' . $ng_reg_period->getId(), 'confirm' => __('Are you sure?'), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'red')); } ?> </p> </td> <td><?php echo $ng_reg_test_detail->getTitle() ? $ng_reg_test_detail->getTitle() : '-'; ?> </td> <td><?php echo $ng_reg_test_detail->getStart() ? DateToIndo($ng_reg_test_detail->getStart()) . ', Pkl. ' . substr($ng_reg_test_detail->getStart(), 11, 5) : '-'; ?> </td> <td><?php echo $ng_reg_test_detail->getEnd() ? DateToIndo($ng_reg_test_detail->getEnd()) . ', Pkl. ' . substr($ng_reg_test_detail->getEnd(), 11, 5) : '-'; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> <?php if ($pager->getNbResults() > 1) { echo include_partial('global/pager', array('position' => 'bottom', 'pager' => $pager, 'module' => 'NgRegPeriod')); }
<td style="vertical-align:middle;"> <p class="detail" style="font-weight: bold;"><?php echo $schedule->getLocation() ? $schedule->getLocation()->toString() : '-'; ?> </p> </td> </tr> <tr> <td style="vertical-align:middle;"><label><?php echo __('Tanggal Ujian'); ?> </label></td> <td width="2%" style="text-align:center; vertical-align:middle;">:</td> <td style="vertical-align:middle;"> <p class="detail"><?php echo $schedule->getDate() ? DateToIndo($schedule->getDate()) : '-'; ?> </p> </td> </tr> <tr> <td style="vertical-align:middle;"><label><?php echo __('Day'); ?> </label></td> <td width="2%" style="text-align:center; vertical-align:middle;">:</td> <td style="vertical-align:middle;"><p class="detail"><?php echo $schedule->getDayString(); ?> </p></td> </tr>
$pdf->SetFont('Arial', 'B', 9); $pdf->SetWidths(array(14.5, 2.2, 2.6, 2.3, 2.6, 2.6, 2.6, 2.6, 2.6)); $pdf->Row(array("SUBTOTAL", number_format($totalangsuran, 0, ',', '.') . ",-", number_format($totaluangmuka, 0, ',', '.') . ",-", "0,-", "0,-", number_format($totaltunai, 0, ',', '.') . ",-", number_format($totaltrasfer, 0, ',', '.') . ",-", number_format($totaloperasional, 0, ',', '.') . ",-", number_format($total, 0, ',', '.') . ",-")); $pdf->SetWidths(array(34.6)); $pdf->Row(array("SEWA KENDARAAN NON RETAIL (CORPORATE)")); $pdf->SetFont('Arial', '', 9); $pdf->SetWidths(array(2.3, 2.5, 2.5, 2.5, 2.5, 2.2, 2.2, 2.6, 2.3, 2.6, 2.6, 2.6, 2.6, 2.6)); $pdf->SetHeight(0.1); $pdf->SetAligns(array('C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C')); $query_datakorporate = $getquerykorporate; $querykorp = mysql_query($query_datakorporate) or die("Query gagal"); while ($resultkorp = mysql_fetch_array($querykorp)) { $pdf->Row(array($resultkorp['user'], $resultkorp['customer'], $resultkorp['no_ref'], DateToIndoAngka($resultkorp['periodeawal']), DateToIndoAngka($resultkorp['periodeakhir']), $resultkorp['kendaraan'], number_format($resultkorp['angsuran'], 0, ',', '.') . ",-", number_format($resultkorp['uangmuka'], 0, ',', '.') . ",-", "0,-", "0,-", number_format($resultkorp['tunai'], 0, ',', '.') . ",-", number_format($resultkorp['transfer'], 0, ',', '.') . ",-", number_format($resultkorp['operasional'], 0, ',', '.') . ",-", number_format($resultkorp['total'], 0, ',', '.') . ",-")); $totalangsurankorporate += $resultkorp['angsuran']; $totaluangmukakorporate += $resultkorp['uangmuka']; $totaltrasferkorporate += $resultkorp['transfer']; $totaltunaikorporate += $resultkorp['tunai']; $totaloperasionalkorporate += $resultkorp['operasional']; $totalkorporate += $resultkorp['total']; } $pdf->SetFont('Arial', 'B', 9); $pdf->SetWidths(array(14.5, 2.2, 2.6, 2.3, 2.6, 2.6, 2.6, 2.6, 2.6)); $pdf->Row(array("SUBTOTAL", number_format($totalangsurankorporate, 0, ',', '.') . ",-", number_format($totaluangmukakorporate, 0, ',', '.') . ",-", "0,-", "0,-", number_format($totaltunaikorporate, 0, ',', '.') . ",-", number_format($totaltrasferkorporate, 0, ',', '.') . ",-", number_format($totaloperasionalkorporate, 0, ',', '.') . ",-", number_format($totalkorporate, 0, ',', '.') . ",-")); $pdf->SetWidths(array(34.6)); $pdf->Row(array("")); $pdf->SetWidths(array(14.5, 2.2, 2.6, 2.3, 2.6, 2.6, 2.6, 2.6, 2.6)); $pdf->SetFont('Arial', 'B', 10); $pdf->Row(array("GRAND TOTAL", number_format($totalangsuran + $totalangsurankorporate, 0, ',', '.') . ",-", number_format($totaluangmuka + $totaluangmukakorporate, 0, ',', '.') . ",-", "0,-", "0,-", number_format($totaltunai + $totaltunaikorporate, 0, ',', '.') . ",-", number_format($totaltrasfer + $totaltrasferkorporate, 0, ',', '.') . ",-", number_format($totaloperasional + $totaloperasionalkorporate, 0, ',', '.') . ",-", number_format($total + $totalkorporate, 0, ',', '.') . ",-")); $pdf->Ln(); $pdf->Output('Laporan Penerimaan Hasil Sewa Cabang ' . $row_data['gudang'] . ' Periode ' . DateToIndo($mulai) . " - " . DateToIndo($akhir) . '.pdf', 'D');
++$i; if ($i % 2 == 0) { echo ' even'; } ?> "> <td><?php echo $i + ($pager->getPage() - 1) * $pager->getMaxPerPage(); ?> </td> <td class='first'><?php echo $employee_absence->getAcademicCalendarId() ? $employee_absence->getAcademicCalendar()->toString() : '-'; ?> </td> <td align="left"><?php echo $employee_absence->getStart() ? DateToIndo($employee_absence->getStart()) . ' ' . $employee_absence->getStart('h:i') : '-'; ?> </td> <td align="left"> <?php if ($employee_absence->getStatus() == EmployeeAbsence::STATUS_COME) { echo __('EMP_COME'); } elseif ($employee_absence->getStatus() == EmployeeAbsence::STATUS_HOME) { echo __('EMP_HOME'); } elseif ($employee_absence->getStatus() == EmployeeAbsence::STATUS_SICK) { echo __('EMP_SICK'); } elseif ($employee_absence->getStatus() == EmployeeAbsence::STATUS_ABSENT) { echo __('EMP_ABSENT'); } elseif ($employee_absence->getStatus() == EmployeeAbsence::STATUS_LATE) { echo __('EMP_LATE'); }
<tr class="list<?php ++$i; if ($i % 2 == 0) { echo ' even'; } ?> "> <td><?php echo $i + ($pager->getPage() - 1) * $pager->getMaxPerPage(); ?> </td> <td valign="top"> <?php if ($student_absence->getStart() != null) { echo DateToIndo($student_absence->getStart()); } else { echo 'n/a'; } ?> </td> <td valign="top"> <?php if ($student_absence->getStatus() == AbsenceCourse::STATUS_PRESENT) { echo "<font class='level_green'>" . __('Hadir') . "</font>"; } elseif ($student_absence->getStatus() == AbsenceCourse::STATUS_ABSENCE) { echo "<font class='level_red'>" . __('Tidak Hadir') . "</font>"; } elseif ($student_absence->getStatus() == AbsenceCourse::STATUS_LATE) { echo "<font class='level_yellow'>" . __('Terlambat') . "</font>"; } elseif ($student_absence->getStatus() == AbsenceCourse::STATUS_LEAVE) {
</td> <td align="left"> <?php if ($student_detail->getSex() == 'L') { echo __('L'); } elseif ($student_detail->getSex() == 'P') { echo __('P'); } ?> </td> <td align="left"><?php echo $student_detail->getPob() ? $student_detail->getPob() : '-'; ?> , <?php echo $student_detail->getDob() ? DateToIndo($student_detail->getDob()) : '-'; ?> </td> <td style="text-align: left;"><?php echo $student_detail->getReligion() ? $student_detail->getReligion()->toString() : '-'; ?> </td> <td style="text-align: left;"><?php echo $student_detail->getFather() ? $student_detail->getFather() : '-'; ?> </td> <td style="text-align: left;"><?php echo $student_detail->getMother() ? $student_detail->getMother() : '-'; ?> </td>
$c = new Criteria(); $c->add(EmployeeDetailPeer::EMPLOYEE_ID, $employee_absence->getEmployeeId()); $employee_detail = EmployeeDetailPeer::doSelectOne($c); echo $employee_detail->getFingercode() ? $employee_detail->getFingercode() : '-'; ?> </td> <td><?php echo $employee_absence->getEmployee() && $employee_absence->getEmployee()->getName() ? $employee_absence->getEmployee()->getName() : '-'; ?> </td> <td><?php echo $employee_absence->getEmployee() && $employee_absence->getEmployee()->getDepartmentId() ? $employee_absence->getEmployee()->getDepartment()->toString() : '-'; ?> </td> <td><?php echo $employee_absence->getDateIn() ? DateToIndo($employee_absence->getDateIn()) : '-'; ?> </td> <td><?php echo $employee_absence->getStart() ? $employee_absence->getStart('H:i') : '-'; ?> </td> <!--td> <?php #if ($employee_absence->getStatus() == EmployeeAbsence::STATUS_COME) echo __('EMP_COME'); #elseif ($employee_absence->getStatus() == EmployeeAbsence::STATUS_HOME) echo __('EMP_HOME'); ?> </td--> </tr> <?php }
</div> <div class="accord-content"> <table class="table"> <tr> <th>Mulai</th> <th>:</th> <td><?php echo DateToIndo($b->row('waktu_mulai')); ?> </td> </tr> <tr> <th>Selesai</th> <th>:</th> <td><?php echo DateToIndo($b->row('waktu_selesai')); ?> </td> </tr> </table> </div> </div> <div class="accord-elem"> <div class="accord-title"> <h5><i class="fa fa-question"></i>Staf Pengajar</h5> <a class="accord-link" href="#"></a> </div> <div class="accord-content"> <table class="table"> <?php
$c->add(VInfaqPaymentPeer::USER_ID, $payment_history->getUserId()); $c->add(VInfaqPaymentPeer::PAID_AT, $payment_history->getPaidAt()); $c->add(VInfaqPaymentPeer::ACADEMIC_COST_COMPONENT_ID, $payment_history->getAcademicCostComponentId()); $paids = VInfaqPaymentPeer::doSelect($c); $total = 0; foreach ($paids as $paid) { $total += $paid->getPaid(); } echo format_number($total); ?> </td> <td style="text-align: center;"> <?php if ($payment_history->getPaidAt() != null) { echo DateToIndo($payment_history->getPaidAt()); } else { echo 'n/a'; } ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> <?php
$c = new Criteria(); $c->add(StudentParentsPeer::STUDENT_ID, $student->getId()); $c->add(StudentParentsPeer::RELATION, 1); $parent = StudentParentsPeer::doSelectOne($c); $student_detail = $student->getStudentDetail(); if ($parent) { echo $parent->getName() ? $parent->getName() : '___________________'; } else { echo $student_detail ? $student_detail->getParentName() ? $student_detail->getParentName() : '___________________' : '-'; } ?> </span> </td> <td width="30%" align="left"> Bekasi, <?php echo $score_rule->getLanguage() == 'Inggris' ? DateToEng($time2) : DateToIndo($time2); ?> <br><br>Wali Kelas,<br><br><br> <span> <?php $cb = new Criteria(); $cb->add(CounselingTutorPeer::COUNSELING_ID, $counseling->getId()); $cb->addAscendingOrderByColumn(CounselingTutorPeer::ID); $counseling_tutor = CounselingTutorPeer::doSelect($cb); $tutors = array(); foreach ($counseling_tutor as $cr) { $tutors[] = $cr->getEmployee() ? $cr->getEmployee()->getName() : ''; } echo join(" & ", $tutors); ?> </span>
echo $class_counseling->getCounselingStatus() ? $class_counseling->getCounselingStatus()->toString() : '-'; ?> </td> <td><?php echo $class_counseling->getGrade() ? $class_counseling->getGrade() : '-'; ?> </td> <td><?php echo $class_counseling->getReward() ? $class_counseling->getReward() : '-'; ?> </td> <td><?php echo DateToIndo($class_counseling->getTimeReport()); ?> </td> <td> <?php $tutors = array(); foreach ($class_counseling->getCourseSchedule()->getCourseScheduleTutors() as $cr) { $tutors[] = $cr->getEmployee() ? '· ' . $cr->getEmployee()->getName() : '-'; } echo join("<br>", $tutors); ?> </td> <td style="text-align:center; vertical-align: middle;"> <?php
</td> <?php $id_child = $childs[$i]; $emplo_child = EmployeeChildsPeer::retrieveByPK($id_child); ?> <td><?php echo $emplo_child ? $emplo_child->getName() ? $emplo_child->getName() : '' : ''; ?> </td> <td> <?php echo $emplo_child ? $emplo_child->getPob() ? $emplo_child->getPob() . ', ' : '' : ''; ?> <?php echo $emplo_child ? $emplo_child->getDob() ? DateToIndo($emplo_child->getDob()) : '' : ''; ?> </td> <td> <?php if ($emplo_child) { if ($emplo_child->getRelation() == EmployeeChilds::RELATION_SON1) { echo __('RELATION_SON1'); } elseif ($emplo_child->getRelation() == EmployeeChilds::RELATION_SON2) { echo __('RELATION_SON2'); } elseif ($emplo_child->getRelation() == EmployeeChilds::RELATION_SON3) { echo __('RELATION_SON3'); } elseif ($emplo_child->getRelation() == EmployeeChilds::RELATION_SON4) { echo __('RELATION_SON4'); } elseif ($emplo_child->getRelation() == EmployeeChilds::RELATION_SON5) { echo __('RELATION_SON5');
<?php if ($can_remove) { echo link_to_remote(__('delete'), array('url' => 'ng_reg_detail/deleteChild?id=' . $row->getId() . '&ng_reg_period_id=' . $ng_reg_detail->getNgRegPeriodId(), 'confirm' => __('Are you sure?'), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'red')); } ?> <?php echo '<br>. ' . link_to(__('Test Appl Schedule'), 'ng_reg_detail/printChild?id=' . $row->getId() . '&ng_reg_period_id=' . $ng_reg_detail->getNgRegPeriodId(), array('class' => 'white')); ?> </p </td> <td><?php echo $row->getStart() ? DateToIndo($row->getStart()) . ', Pkl. ' . substr($row->getStart(), 11, 5) : '-'; ?> </td> <td><?php echo $row->getEnd() ? DateToIndo($row->getEnd()) . ', Pkl. ' . substr($row->getEnd(), 11, 5) : '-'; ?> </td> <td><?php echo $row->getCapacity() ? $row->getCapacity() : '-'; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table>
echo link_to_remote(__('edit'), array('url' => 'ng_reg_detail/editOther?id=' . $ng_reg_test_period->getId() . '&ng_reg_period_id=' . $ng_reg_period->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'blue')); } ?> <?php if ($can_remove) { echo link_to_remote(__('delete'), array('url' => 'ng_reg_detail/deleteOther?id=' . $ng_reg_test_period->getId() . '&ng_reg_period_id=' . $ng_reg_period->getId(), 'confirm' => __('Are you sure? Other Data Related will be deleted'), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'red')); } ?> </p> </td> <td><?php echo $ng_reg_test_period->getStart() ? DateToIndo($ng_reg_test_period->getStart()) : '-'; ?> </td> <td><?php echo $ng_reg_test_period->getEnd() ? DateToIndo($ng_reg_test_period->getEnd()) : '-'; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> <?php if ($pager->getNbResults() > 1) { echo include_partial('global/pager', array('position' => 'bottom', 'pager' => $pager, 'module' => 'NgRegPeriod')); }
?> </td> <td align='left'><?php echo $employee_permit->getEmployee() && $employee_permit->getEmployee()->getName() ? $employee_permit->getEmployee()->getName() : '-'; ?> </td> <td align="left"><?php echo $employee_permit->getLeaveLength() ? $employee_permit->getLeaveLength() : '-'; ?> </td> <td align="left"><?php echo $employee_permit->getStart() ? DateToIndo($employee_permit->getStart()) : '-'; ?> </td> <td align="left"><?php echo $employee_permit->getEnd() ? DateToIndo($employee_permit->getEnd()) : '-'; ?> </td> <td align="left"> <?php if ($employee_permit->getStatus() == EmployeeLeave::SUBMISSION) { echo __('LEAVE_SUBMISSION'); } elseif ($employee_permit->getStatus() == EmployeeLeave::APPROVED) { echo __('LEAVE_APPROVED'); } elseif ($employee_permit->getStatus() == EmployeeLeave::NOT_APPROVED) { echo __('LEAVE_NOT_APPROVED'); } elseif ($employee_permit->getStatus() == EmployeeLeave::ACTIVE) { echo __('LEAVE_ACTIVE'); } elseif ($employee_permit->getStatus() == EmployeeLeave::FINISH) { echo __('LEAVE_FINISH'); }
?> </td> <td align="left"><?php echo $employee_leave->getLeaveType() ? $employee_leave->getLeaveType()->toString() : '-'; ?> </td> <td align="left"><?php echo $employee_leave->getLeaveLength() ? $employee_leave->getLeaveLength() : '-'; ?> </td> <td align="left"><?php echo $employee_leave->getStart() ? DateToIndo($employee_leave->getStart()) : '-'; ?> </td> <td align="left"><?php echo $employee_leave->getEnd() ? DateToIndo($employee_leave->getEnd()) : '-'; ?> </td> <td align="left"> <?php if ($employee_leave->getStatus() == EmployeeLeave::SUBMISSION) { echo __('LEAVE_SUBMISSION'); } elseif ($employee_leave->getStatus() == EmployeeLeave::APPROVED) { echo __('LEAVE_APPROVED'); } elseif ($employee_leave->getStatus() == EmployeeLeave::NOT_APPROVED) { echo __('LEAVE_NOT_APPROVED'); } elseif ($employee_leave->getStatus() == EmployeeLeave::ACTIVE) { echo __('LEAVE_ACTIVE'); } elseif ($employee_leave->getStatus() == EmployeeLeave::FINISH) { echo __('LEAVE_FINISH'); }
<tr> <td style="vertical-align:middle;"><label class="applicant"><?php echo __('Tempat'); ?> , <?php echo 'Tanggal Lahir'; ?> *</label></td> <td style="text-align:center; vertical-align:middle;">:</td> <td style="vertical-align:middle;"><p class="detail"> <?php echo $employee_parents->getPob() ? $employee_parents->getPob() : '-'; ?> , <?php echo $employee_parents->getDob() ? DateToIndo($employee_parents->getDob()) : '-'; ?> </p></td> </tr> <tr> <td style="vertical-align:middle;"><label class="applicant"><?php echo __('Agama'); ?> </label></td> <td style="text-align:center; vertical-align:middle;">:</td> <td style="vertical-align:middle;"><p class="detail"><?php echo $employee_parents->getReligionId() ? $employee_parents->getReligion()->toString() : '-'; ?> </p></td> </tr> <tr>
?> </td> <td <?php echo $cir_history->isLate($now) ? 'style="color:red;"' : 'style="color:green;"'; ?> > <?php echo $cir_history->getDueDate() ? DateToIndo($cir_history->getDueDate('Y/m/d')) : '-'; ?> </td> <td <?php echo $cir_history->isLate($now) ? 'style="color:red;"' : 'style="color:green;"'; ?> > <?php echo $cir_history->getReturnDate() ? DateToIndo($cir_history->getReturnDate('Y/m/d')) : '-'; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> <?php if ($pager->getNbResults() > 1) { echo include_partial('global/pager', array('position' => 'bottom', 'pager' => $pager, 'module' => 'CirHistory'));
?> </td> <td><?php echo $value['tingkatan']; ?> </td> <td><?php echo $value['kegiatan']; ?> </td> <td><?php echo $value['durasi']; ?> </td> <td><?php echo DateToIndo($value['tgl_lembur']); ?> </td> <td> <a href="<?php echo Yii::$app->urlManager->createUrl(['human-resource/setuju-lembur', "id" => $value['id_lembur']]); ?> " class="btn btn-success btn-sm"><i class="glyphicon glyphicon-check"> Setujui</i></a> <a href="<?php echo Yii::$app->urlManager->createUrl(['human-resource/tolak-lembur', "id" => $value['id_lembur']]); ?> " class="btn btn-danger btn-sm"><i class="glyphicon glyphicon-check"> Tolak</i></a> </td> </tr> <?php $i++;