add refund logic and fix books inventory logic
This commit is contained in:
@@ -30,7 +30,12 @@ protected $table = 'inventory_items';
|
||||
'condition',
|
||||
'isbn',
|
||||
'edition',
|
||||
'author',
|
||||
'sku',
|
||||
'is_active',
|
||||
'retired_at',
|
||||
'isbn_edition_key',
|
||||
'sku_normalized',
|
||||
'notes',
|
||||
|
||||
// audit
|
||||
@@ -49,7 +54,6 @@ protected $table = 'inventory_items';
|
||||
'type' => 'required|in_list[classroom,book,office,kitchen]',
|
||||
'name' => 'required|min_length[2]',
|
||||
'quantity' => 'permit_empty|integer',
|
||||
'unit_price' => 'permit_empty|decimal',
|
||||
'school_year' => 'required|string|max_length[16]',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user