mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
validation for adjustment in controller
This commit is contained in:
@@ -65,6 +65,7 @@ class InvoiceController extends Controller
|
||||
'contact_no' => 'required',
|
||||
'marking' => 'required',
|
||||
'reg_no' => 'required',
|
||||
'adjustment' => 'required|numeric',
|
||||
'lines.*.order' => 'required|numeric',
|
||||
'lines.*.stock_code' => 'required',
|
||||
'lines.*.description' => 'max:256',
|
||||
@@ -174,6 +175,7 @@ class InvoiceController extends Controller
|
||||
'contact_no' => 'required',
|
||||
'marking' => 'required',
|
||||
'reg_no' => 'required',
|
||||
'adjustment' => 'required|numeric',
|
||||
'lines.*.order' => 'required|numeric',
|
||||
'lines.*.stock_code' => 'required',
|
||||
'lines.*.description' => 'max:256',
|
||||
|
||||
Reference in New Issue
Block a user