Skip to content

Commit

Permalink
Merge pull request #20 from justbetter/feature/support-decimals
Browse files Browse the repository at this point in the history
Support MSI quantity decimals
  • Loading branch information
VincentBean authored Aug 14, 2024
2 parents 12873fe + 0f2612c commit 5ca7614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/StockData.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function rules(): array
if ($repository->msi()) {
$rules = array_merge($rules, [
'msi_quantity' => ['required', 'array'],
'msi_quantity.*' => ['integer'],
'msi_quantity.*' => ['numeric'],

'msi_status' => ['required', 'array'],
'msi_status.*' => ['boolean'],
Expand Down

0 comments on commit 5ca7614

Please sign in to comment.