Untitled
unknown
plain_text
2 years ago
4.2 kB
6
Indexable
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Detail Peminjaman (PJ)</h3>
</div><!-- /.box-header -->
<div class="box-body">
<!-- <?php
$attributes = array('class'=>'form-horizontal','role'=>'form');
echo form_open_multipart('administrator/proses_pembelian_pur',$attributes);
$kode_peminjaman = $rows['kd_pinjam'];
?> -->
<div class="col-xs-12">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style='width:5%'>No</th>
<th style='width:30%'>Nama Item</th>
<th style='width:25%'>Deskripsi</th>
<!-- <th style='width:25%'>Dimesi</th> -->
<th style='width:5%'>Jumlah</th>
<th style='width:5%'>Satuan</th>
<th style='width:5%'>Status</th>
</tr>
</thead>
<tbody>
<?php
$no = 1;
foreach ($record as $row){
echo "<tr><td>$no</td>
<td>$row[nama_item]</td>
<td>$row[keterangan_item]</td>
<td>$row[jumlah_pinjam]</td>
<td>$row[satuan_pinjam]</td>
<td>$row[status_item]</td>";
echo "</tr>";
$no++;
}
?>
</tbody>
</table>
</div>
<div class="col-xs-6">
<table class='table table-condensed table-bordered'>
<tr><th width='140px' scope='row'>Kode Peminjaman</th> <td><input type='text' class='form-control' value='<?php echo "$rows[kd_pinjam]"; ?>' name='a' readonly></td></tr>
<!-- <tr><th width='140px' scope='row'>Kategori</th> <td><input type='text' class='form-control' value='<?php echo "$rows[kategori]"; ?>' name='b' readonly></td></tr>
<tr><th width='140px' scope='row'>Type</th> <td><input type='text' class='form-control' value='<?php echo "$rows[type]"; ?>' name='c' readonly></td></tr> -->
<tr><th width='140px' scope='row'>No Projek</th> <td><input type='text' class='form-control' value='<?php echo "$rows[no_projek]"; ?>' name='e' readonly></td></tr>
<tr><th width='140px' scope='row'>Lokasi</th> <td><input type='text' class='form-control' value='<?php echo "$rows[lokasi]"; ?>' name='d' readonly></td></tr>
</table>
</div>
<!-- <div class="col-xs-6">
<table class='table table-condensed table-bordered'>
<tbody>
<tr><th width='140px' scope='row'>No Job</th> <td><input type='text' class='form-control' value='<?php echo "$rows[no_job]"; ?>' name='f' readonly></td></tr>
<tr><th width='140px' scope='row'>Tanggal Dibutuhkan</th> <td><input type='date' class='form-control' value='<?php echo "$rows[tgl_kebutuhan]"; ?>' name='g'readonly></td></tr>
<tr><th width='140px' scope='row'>Keterangan PR</th> <td><textarea class='form-control' name='h' style='height:80px' readonly><?php echo $rows['keterangan'];?></textarea></td></tr>
</tbody> -->
</table>
<input type='hidden' value='<?php echo "$rows[id_peminjaman]"; ?>' name='idp'>
</div>
<a class='btn btn-default btn-sm' href='<?php echo base_url(); ?>karyawan/peminjaman'>Kembali</a>
</div>
<!-- Pembatas box 12 dalam -->
</div>
<!-- Pembatas box 12 pixel -->
</div>
<!-- Pembatas akhir dari template -->
</div>
Editor is loading...