Fix transfer quantity, unify date format, align demo seeds
Stock Transfer list showed 0.00 (read in instead of out); stock-out/transfer forms show the location quantity; dates display as YYYY-MM-DD HH:mm:ss. Demo seeds map product accounts, use product names and supplier batches, and add demo_seed_assets.php.
This commit is contained in:
@@ -179,7 +179,7 @@ class AssetRunManager
|
||||
|
||||
$sth = $this->pdo->prepare(
|
||||
"SELECT r.*,
|
||||
DATE_FORMAT(r.created_at, '%d/%m/%Y %H:%i') AS created_at_fmt,
|
||||
DATE_FORMAT(r.created_at, '%Y-%m-%d %H:%i:%s') AS created_at_fmt,
|
||||
IF(g.id IS NULL, 0, 1) AS gl_status,
|
||||
COALESCE(g.id, 0) AS gl_id
|
||||
FROM td_asset_run r
|
||||
|
||||
Reference in New Issue
Block a user