Fix default unit ID retrieval in ProdukController

This commit is contained in:
2026-10-29 16:52:35 +07:00
parent a7336ea9de
commit 872a42489f
+1 -1
View File
@@ -57,7 +57,7 @@ class ProdukController {
$this->md5_key = Param::Get("MD5Key", ""); $this->md5_key = Param::Get("MD5Key", "");
$this->i_filter = Param::Int("Filter_Produk", 0); $this->i_filter = Param::Int("Filter_Produk", 0);
$this->id_eceran = (int) $session->get('APP_INV')['ECERANID'] ?? 5; $this->id_eceran = (int) $session->get('APP_INV')['ECERANID'] ?? 5;
$this->def_satuan = (int) $session->get('APP_INV')['DEF_SATUANID'] ?? 0; $this->def_satuan = (int) $session->get('APP_INV')['SATUANID'] ?? 0;
$this->inv = new Inv($app); $this->inv = new Inv($app);
} }