perbaikan di invoices
This commit is contained in:
@@ -420,7 +420,7 @@ class Items extends CI_Controller {
|
||||
->or_like('i.nama_barang', $barcode, 'both')
|
||||
->or_like('ib.serial_number', $barcode, 'both')
|
||||
->group_end()
|
||||
->limit(15)
|
||||
// ->limit(15)
|
||||
->get()
|
||||
->result();
|
||||
|
||||
@@ -969,6 +969,8 @@ class Items extends CI_Controller {
|
||||
|
||||
// hapus item
|
||||
$this->db->delete('stock_logs',['item_id'=>$id]);
|
||||
$this->db->delete('item_movements',['item_id'=>$id]);
|
||||
$this->db->delete('item_barcodes',['item_id'=>$id]);
|
||||
$this->db->delete('items',['id'=>$id]);
|
||||
|
||||
$j = $this->db->get_where('journals', [
|
||||
|
||||
Reference in New Issue
Block a user