add refund logic and fix books inventory logic
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m20s

This commit is contained in:
root
2026-08-22 13:44:25 -04:00
parent 23d1cbb64c
commit d906a915d6
45 changed files with 4711 additions and 442 deletions
+3 -1
View File
@@ -15,9 +15,11 @@ class InventoryMovementModel extends Model
protected $useTimestamps = true;
protected $allowedFields = [
'item_id','qty_change','movement_type','reason','note',
'item_id','item_year_id','qty_change','movement_type','reason','note',
'semester','school_year',
'performed_by','teacher_id','student_id','class_section_id',
'idempotency_key','reversal_of_movement_id','status','reversed_at',
'reversed_by','source_type','source_id',
];
protected $validationRules = [
'school_year' => 'required|string|max_length[9]',