Example #1
0
echo base_url();
?>
assets/images/your-logo-here.png" width="50px"></strong></center></p></td>
					</tr>
					<tr>
						<td colspan="3"><center><strong><u>BERITA ACARA SERAH TERIMA BARANG</u></strong></center></td>
					</tr>
					<tr>
				<td colspan="3"><p>Pada hari ini <strong> <?php 
echo dayindo($day);
?>
</strong> tanggal<strong> <?php 
echo substr($penerimaan['tgl'], 8, 2);
?>
 </strong> bulan <strong><?php 
echo GetMonthFull(substr($penerimaan['tgl'], 5, 2));
?>
</strong> tahun <strong><?php 
echo substr($penerimaan['tgl'], 0, 4);
?>
</strong>, yang bertanda  tangan di bawah ini,telah melakukan serah terima barang berdasarkan:</p></td>
					</tr>
					
					<tr>
						<td>No PO              : <?php 
echo $penerimaan['ref'];
?>
<u></u></td>
						<td>&nbsp;</td>
						<td><p>No Surat Jalan    : <u>                        </u></p></td>
					</tr>
Example #2
0
 function FormatTanggal($tgl)
 {
     $exp = explode("-", $tgl);
     $tgl = substr($exp[2], 0, 2) . " " . GetMonthFull(intval($exp[1])) . " " . $exp[0];
     return $tgl;
 }
Example #3
0
    	<?php 
}
?>
    </tr>
    <?php 
foreach ($query_list->result_array() as $r) {
    if ($shift) {
        $r['id'] = $r['id_k'];
    }
    echo "<tr id='listz-" . $r['id'] . "'>";
    if (permissionaction()) {
        echo "<td class='box_delete'><input type='checkbox' class='delete' id='del" . $r['id'] . "' value='" . $r['id'] . "'></td>";
    }
    foreach ($list as $s) {
        if ($s == "tgl") {
            $r[$s] = GetTanggal($r['tanggal']) . " " . GetMonthFull(intval($r['bulan'])) . " " . $r['tahun'];
        } else {
            if ($s == "id_employee") {
                $r[$s . '_temp'] = $r[$s];
                //$r[$s] = GetValue("person_nm","hris_persons", array("person_id"=> "where/".$r[$s]));
            } else {
                if ($s == "name" || $s == "keterangan" || $s == "scan_masuk" || $s == "scan_pulang") {
                    $r[$s] = $r[$s];
                } else {
                    if (($s == 'jh' || $s == 'hr') && $flag_tgl) {
                        //print_mz($r);
                        if ($r['hr'] == 1) {
                            $r['jh'] = "<i class='fa fa-check'></i>";
                        } else {
                            if ($s == "jh" && $r['jh'] == 1) {
                                $r['jh'] = "<i class='fa fa-check'></i>";
Example #4
0
}
?>
                                </tr>
                            </thead>
                            <tbody>
                            	<?php 
$param = array("jh", "off", "cuti", "ijin", "sakit", "alpa", "terlambat", "scan_masuk", "scan_pulang");
foreach ($rekap->result_array() as $r) {
    ?>
                            	<tr class="odd gradeX">
						                    <td><?php 
    echo $r['first_name'];
    ?>
</td>
						                    <td><?php 
    echo $r['tanggal'] . " " . GetMonthFull(intval($r['bulan'])) . " " . $r['tahun'];
    ?>
</td>
						                    <?php 
    foreach ($param as $key) {
        if ($key == "jh") {
            if ($r[$key] && !$r['terlambat']) {
                echo "<td class='center'><i class='icon-ok'></i></td>";
            } else {
                echo "<td class='center'></td>";
            }
        } else {
            if ($key == "scan_masuk" || $key == "scan_pulang") {
                if (!$r[$key]) {
                    $r[$key] = "-";
                }
Example #5
0
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>DEBIT NOTE<br />
ORIGINAL
  <p>Invoice No. <?php 
echo $sum['number'];
?>
 </p>
  <p>Invoice Date. <?php 
echo tglindo($sum['create_date']);
?>
 </p></td>
  </tr>
  <tr class="border_top">
    <td colspan="3">Payment for Domestic Delivery on <?php 
echo GetMonthFull(substr($sum['create_date'], 5, 2)) . ' ' . substr($sum['create_date'], 0, 4);
?>
</td>
  </tr>
  <tr>
    <td colspan="3"><table width="100%" border="0" align="center" cellspacing="0" class="invoices">
      <tr class="border_bottom border_top_bold">
        <td rowspan="2" align="center" class="borderkirikanan"><span class="">Date</span></td>
        <td rowspan="2" align="center" class="borderkirikanan"><span class="">Vehicle No</span></td>
        <td rowspan="2" align="center" class="borderkirikanan"><span class="">J/O No</span></td>
        <td rowspan="2" align="center" class="borderkirikanan"><span class="">Delivery</span></td>
        <td width="12%" rowspan="2" align="center" class="borderkirikanan">Type</td>
        <td colspan="4" align="center" class="borderkirikanan" style="border-right:3px solid black; border-left:3px solid black;">AMOUNT</td>
        <td width="14%" rowspan="2" align="center" class="borderkirikanan">TOTAL AMOUNT </td>
      </tr>
      <tr class="border_bottom">
Example #6
0
            $r['id'] = 0;
        }
        echo "<td class='action'>";
        //echo "<a href='".site_url($filename.'/detail/'.$r)."'>Edit</a>";
        echo '<a class="btn btn-sm btn-primary detail-OT" href="javascript:void(0);" title="detail" rel="' . $r['a_id'] . '"><i class="fa fa-edit"></i></a>';
        echo "</tr>";
        echo "<tr></tr>";
        echo "<tr>";
        echo "<td colspan='5' style='padding:0px !important;'>";
        echo "<div id='OT" . $r['a_id'] . "' style='display:none;' class='listdetailOT'>";
        echo "<table class='table table-striped table-hover table-detailOT'>";
        echo "<tr><th>No</th><th>Date</th><th>Hour SUM</th><th>Detail Reason</th></tr>";
        $no = 0;
        foreach ($query_detail[$r['a_id']] as $key => $d) {
            $no++;
            $tgl = GetTanggal($d['tanggal']) . " " . GetMonthFull(intval($d['bulan'])) . " " . $d['tahun'];
            echo "<tr><td width='70'>" . $no . "</td><td width='225'>" . $tgl . "</td><td>" . $d['acc_ot_incidental'] . "</td><td>" . $d['ovt_detail_reason'] . "</td></tr>";
        }
        echo "</table>";
        echo "</div>";
        echo "</td>";
        echo "</tr>";
    }
}
?>
          <div id="temp_open" rel="0"></div>
        </table>
      </form>
    </div>
  </div>
</div>