fix inventory
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user