This commit is contained in:
Sampanna Rimal
2024-07-12 17:57:29 +05:45
parent 9cd05ef3cb
commit 7ffe31e260
22 changed files with 209 additions and 97 deletions

View File

@ -208,4 +208,13 @@ class MStocks extends CI_Model
$this->db->insert("tbl_stocks", $TableData);
}
}
// public function getUnitByItemId($id)
// {
// $this->db->where('status', 1);
// $Item = $this->db->where("item_id", $id)->get("tbl_items")->row();
// $Unit = $this->db->where("unit_id", $Item->units_id)->get("tbl_units")->row();
// $unitname = $Unit->title;
// return $unitname;
// }
}