diff --git a/application/controllers/Items.php b/application/controllers/Items.php index 49b27a6..a8bd40f 100644 --- a/application/controllers/Items.php +++ b/application/controllers/Items.php @@ -187,6 +187,7 @@ class Items extends CI_Controller { $barcodes = $this->db ->where('item_id',$item_id) + ->where('status !=', 'sold_out') ->order_by('id','ASC') ->get('item_barcodes') ->result(); diff --git a/application/views/peralatan_teknisi/layout.php b/application/views/peralatan_teknisi/layout.php index ae67352..fa43bc0 100644 --- a/application/views/peralatan_teknisi/layout.php +++ b/application/views/peralatan_teknisi/layout.php @@ -5,7 +5,7 @@ :root { --tech-primary: #ff9800; --tech-primary-light: #fff3e0; - --tech-primary-dark: #e65100; + --tech-primary-dark: #ff9800; } body { @@ -78,6 +78,15 @@ body { 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 { background: #fff3e0; } @@ -480,7 +489,7 @@ body {
| Barcode | Nama Barang | Serial Number | -Jumlah | +Jumlah |
|---|