diff --git a/routes/web.php b/routes/web.php index 6aadda47..811a6712 100644 --- a/routes/web.php +++ b/routes/web.php @@ -407,7 +407,7 @@ Route::get('/1688/fix', function(){ $adjuster = (count($product) - 7); $descriptionIndex = 3 + $adjuster; - $bookings[$document->owner->marking] = [ + $bookings[$document->owner->marking][] = [ 'description' => str_replace("\n","",$product[$descriptionIndex]), 'quantity' => (int) str_replace("\n","",$product[$descriptionIndex + 2]), 'unit_price' => (float) str_replace("\n","",$product[$descriptionIndex + 3])