correction of error for purchase and sales

This commit is contained in:
2024-10-04 16:31:02 +05:45
parent ec6bfaf7ff
commit e3c8a3b5fe
5 changed files with 25 additions and 23 deletions

View File

@ -153,7 +153,6 @@ class MStocks extends CI_Model
}
public function getStockSummary($data)
{
$stocklocation_id = $data['stocklocation_id'] ?? null;
$this->db->where("status", 1);
if ($stocklocation_id != 0) {