update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
@@ -23,7 +23,7 @@ class StoreOrderRequest extends FormRequest
'os_id' => 'nullable|integer',
'addons' => 'array',
'addons.*.addon_id' => 'nullable|exists:product_addon,id',
'addons.*.qty' => 'nullable|integer|min:0',
'addons.*.qty' => 'nullable|integer|min:0|max:1000000',
];
}
@@ -38,6 +38,7 @@ class StoreOrderRequest extends FormRequest
'os_id.exists' => 'Hệ điều hành không hợp lệ',
'addons.*.addon_id.exists' => 'Addon không tồn tại',
'addons.*.qty.min' => 'Số lượng addon phải lớn hơn 0',
'addons.*.qty.max' => 'Số lượng addon vượt quá giới hạn cho phép',
];
}
}