mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Merge pull request #708 from turbo124/master
Validation rule realignment
This commit is contained in:
commit
04807bccc6
@ -32,7 +32,7 @@ class UpdateInvoiceRequest extends Request
|
||||
$invoiceId = Invoice::getPrivateId($publicId);
|
||||
|
||||
$rules = [
|
||||
'invoice_items' => 'required|valid_invoice_items',
|
||||
'invoice_items' => 'valid_invoice_items',
|
||||
'invoice_number' => 'unique:invoices,invoice_number,'.$invoiceId.',id,account_id,'.Auth::user()->account_id,
|
||||
'discount' => 'positive',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user