stock dash

This commit is contained in:
Thanakorn S
2026-04-09 09:48:47 +07:00
parent a4f474b5df
commit 3b8f94f011
10 changed files with 612 additions and 105 deletions
+8
View File
@@ -199,6 +199,14 @@ class WarehouseManager {
$name = $this->getWarehouseName($warehouse_id);
$table = "td_stock_" . $name;
if (empty($id)) {
return [
'table' => $table,
'name' => $name,
'row' => []
];
}
$sql = "SELECT * FROM `$table`
WHERE company_id = :company_id AND id = :id";