|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /home/matalashes/.trash/app.bak.3/Views/admin/pages/custom/ic/kirimbarangic/ |
Upload File : |
<?= $this->extend('admin/layout/admin_datatable_mkt') ?>
<?= $this->section('content') ?>
<!-- ============================================================== -->
<!-- Page Content -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Different data widgets -->
<!-- ============================================================== -->
<?php
$session = service('session');
echo form_content_table_tag_open('table', 'table align-middle table-row-dashed fs-6 gy-5', '', $session->get('trash')) ?>
<thead>
<tr class="text-start text-muted fw-bolder fs-7 text-capitalize gs-0">
<th hidden>ID</th>
<th>No F.PRO.02</th>
<th>Tgl F.PRO.02</th>
<th>Status</th>
<th>Last Update</th>
<th class="text-end">#</th>
</tr>
</thead>
<tbody class="text-gray-600 fw-bold">
<?php
foreach ($_data as $d) {
?>
<tr>
<td hidden><?= $d->tkb_ic_id ?></td>
<td ><?= $d->tkb_ic_fpro_no ?></td>
<td>
<?php if($d->tkb_ic_fpro_date == '0000-00-00' || $d->tkb_ic_fpro_date == NULL) { ?>
-
<?php } else { ?>
<?= date("d/m/Y", strtotime($d->tkb_ic_fpro_date ?? '')) ?>
<?php } ?>
</td>
<td>
<?php
$st = '<span class="badge badge-light-danger">Draft</span>';
if($d->tkb_ic_status==1){
$st = '<span class="badge badge-light-success">Terkirim</span>';
}else if($d->tkb_ic_status==2){
$st = '<span class="badge badge-light-warning">Ditolak PRO</span>';
}
echo $st;
?>
</td>
<td><?= date("d/m/Y H:i", strtotime($d->updated_at ?? '')) ?></td>
<td>
<?php if($d->tkb_ic_status==1) { ?>
<?= action_button_table_icon_view(\Config\Services::session()->get('trash'), $url_action_table, $myLib->secure_id($d->tkb_ic_id)) ?>
<?php }else{ ?>
<?= action_button_table(\Config\Services::session()->get('trash'), $url_action_table, $myLib->secure_id($d->tkb_ic_id)) ?>
<?php } ?>
</td>
</tr>
<?php
}
?>
</tbody>
<!-- <tfoot>
<tr>
<th hidden> </th>
<th> </th>
<th class="searchable">No Faktur</th>
<th class="searchable">Supplier</th>
<th class="searchable">Metode Bayar</th>
<th class="searchable">Tempo</th>
<th class="searchable">Total</th>
<th class="searchable">Status</th>
<th class="searchable">Status Bayar</th>
<th> </th>
</tr>
</tfoot> -->
<?= form_content_table_tag_close(); ?>
<!-- End Page Content -->
<!-- ============================================================== -->
<?= $this->endSection('content') ?>