fix inventory

This commit is contained in:
root
2026-06-11 11:06:32 -04:00
parent 9483750161
commit c91fa2ce4d
53 changed files with 2936 additions and 12666 deletions
@@ -28,6 +28,16 @@ class InventoryItemResource extends JsonResource
'semester' => $this['semester'] ?? null,
'school_year' => $this['school_year'] ?? null,
'updated_by' => $this['updated_by'] ?? null,
// New fields
'preferred_supplier_id' => $this['preferred_supplier_id'] ?? null,
'last_purchase_price' => $this['last_purchase_price'] ?? null,
'average_unit_cost' => $this['average_unit_cost'] ?? null,
'reorder_point' => $this['reorder_point'] ?? null,
'reorder_quantity' => $this['reorder_quantity'] ?? null,
'lead_time_days' => $this['lead_time_days'] ?? null,
'barcode' => $this['barcode'] ?? null,
'qr_code' => $this['qr_code'] ?? null,
'asset_tag' => $this['asset_tag'] ?? null,
];
}
}