Update various controllers and scripts; modify last modified dates, enhance JSON responses, and adjust PPN handling for improved functionality
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
Description : Master Barang
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : May 19th, 2010.
|
||||
Last Modified : September 10th, 2026.
|
||||
Last Modified : November 4th, 2026.
|
||||
|
||||
(c) 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
@@ -253,7 +253,7 @@ class ProdukController {
|
||||
}
|
||||
|
||||
public function detail_produk() {
|
||||
$atabel = ['InvID'=>0,'Nama_Produk'=>"",'Grup_InvID'=>0,'StokID'=>$this->def_satuan,'NormalID'=>$this->def_satuan,'Harga_Beli'=>0,'Harga_Tambah'=>0,'Harga_Pokok'=>0,'Stok_Min'=>0,'Stok_Max'=>0,'Aktif'=>1,'PPN'=>0];
|
||||
$atabel = ['InvID'=>0,'Nama_Produk'=>"",'Grup_InvID'=>0,'StokID'=>$this->def_satuan,'NormalID'=>$this->def_satuan,'Harga_Beli'=>0,'Harga_Tambah'=>0,'Harga_Pokok'=>0,'Stok_Min'=>0,'Stok_Max'=>0,'Aktif'=>1,'PPN'=>1];
|
||||
if ($this->id_inv > 0) {
|
||||
$atabel = $this->db->fetchRow("SELECT * FROM inv_produk WHERE InvID=?", [$this->id_inv]);
|
||||
$this->Produk_Backup();
|
||||
|
||||
Reference in New Issue
Block a user