Make sorting of invoice items reliable.
Some checks failed
Build project image / Build-and-release-image (push) Failing after 3m1s
Some checks failed
Build project image / Build-and-release-image (push) Failing after 3m1s
This commit is contained in:
@@ -32,7 +32,7 @@ class InvoiceitemController extends Controller
|
||||
'name' => 'required|string',
|
||||
'description' => 'nullable|string',
|
||||
'article_number' => 'nullable|string',
|
||||
|
||||
'sort' => 'required|numeric|min:0',
|
||||
]);
|
||||
|
||||
$item = $invoice->items()->create($itemData);
|
||||
|
||||
Reference in New Issue
Block a user