Skip to content

Commit

Permalink
Update LaravelPostnlApi.php
Browse files Browse the repository at this point in the history
The testapi of postNL accepts 0 as an index, but the live api doesn't
  • Loading branch information
sytheveenje committed Jun 5, 2024
1 parent 48d7f16 commit 8d0935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelPostnlApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function generateLabelForMultiCollo(
'Reference' => $reference,
'Remark' => $remark,
'Groups' => [
'GroupSequence' => $index,
'GroupSequence' => $index + 1,
'GroupType' => '03',
'GroupCount' => count($barcodes),
'MainBarcode' => $barcodes[0],
Expand Down

0 comments on commit 8d0935b

Please sign in to comment.