Fix default unit ID retrieval in ProdukController
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user