update barcode yg baru
This commit is contained in:
@@ -187,6 +187,7 @@ class Items extends CI_Controller {
|
|||||||
|
|
||||||
$barcodes = $this->db
|
$barcodes = $this->db
|
||||||
->where('item_id',$item_id)
|
->where('item_id',$item_id)
|
||||||
|
->where('status !=', 'sold_out')
|
||||||
->order_by('id','ASC')
|
->order_by('id','ASC')
|
||||||
->get('item_barcodes')
|
->get('item_barcodes')
|
||||||
->result();
|
->result();
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
:root {
|
:root {
|
||||||
--tech-primary: #ff9800;
|
--tech-primary: #ff9800;
|
||||||
--tech-primary-light: #fff3e0;
|
--tech-primary-light: #fff3e0;
|
||||||
--tech-primary-dark: #e65100;
|
--tech-primary-dark: #ff9800;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -78,6 +78,15 @@ body {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-tech td .badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-width: 65px;
|
||||||
|
padding: 0.35em 0.65em;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.table-tech tbody tr:hover {
|
.table-tech tbody tr:hover {
|
||||||
background: #fff3e0;
|
background: #fff3e0;
|
||||||
}
|
}
|
||||||
@@ -480,7 +489,7 @@ body {
|
|||||||
<th>Nama Barang</th>
|
<th>Nama Barang</th>
|
||||||
<th>Serial Number</th>
|
<th>Serial Number</th>
|
||||||
<th>Jumlah</th>
|
<th>Jumlah</th>
|
||||||
<th style="width:100px">Status</th>
|
<th class="text-center" style="width:100px">Status</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
@@ -529,7 +538,7 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Data table -->
|
<!-- Data table -->
|
||||||
<h6 class="fw-bold mb-2"><i class="bi bi-box me-1"></i> Barang Bawaan</h6>
|
<h6 class="fw-bold mb-2 mt-5"><i class="bi bi-box me-1"></i> Barang Bawaan</h6>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="tableFormBarang" class="table table-tech table-hover table-striped align-middle w-100">
|
<table id="tableFormBarang" class="table table-tech table-hover table-striped align-middle w-100">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -538,7 +547,7 @@ body {
|
|||||||
<th>Barcode</th>
|
<th>Barcode</th>
|
||||||
<th>Nama Barang</th>
|
<th>Nama Barang</th>
|
||||||
<th>Serial Number</th>
|
<th>Serial Number</th>
|
||||||
<th style="width:20px">Jumlah</th>
|
<th style="width:100px">Jumlah</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody></tbody>
|
<tbody></tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user