Skip to content

Commit

Permalink
Merge pull request #10 from zoparga/invoice-validation-patch-1
Browse files Browse the repository at this point in the history
Update InvoiceValidationRules.php
  • Loading branch information
zoparga authored Aug 8, 2024
2 parents 3ae0da9 + 408da44 commit affe452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Internal/Support/InvoiceValidationRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function validationRulesForSavingInvoice()
* -------------------------------------------------------- */
'items' => ['required', 'array', 'min:1'],
'items.*.name' => ['required', 'string'],
'items.*.quantity' => ['required', 'numeric', 'min:1'],
'items.*.quantity' => ['required', 'numeric'], // Szamlazz.hu accepts -1 also
'items.*.quantityUnit' => ['required', 'string'],
'items.*.netUnitPrice' => ['required', 'numeric'],
'items.*.taxRate' => ['required'],
Expand Down

0 comments on commit affe452

Please sign in to comment.