From 6c29d1511bfb8eff350511b83b2ebd532a85c532 Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Mon, 4 Dec 2023 01:29:23 +0100 Subject: [PATCH] piccolo fix in formattazione tabella complessiva prodotti. ref #240 --- code/app/Printers/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/app/Printers/Order.php b/code/app/Printers/Order.php index 91cdfb57..a9c8998f 100644 --- a/code/app/Printers/Order.php +++ b/code/app/Printers/Order.php @@ -209,7 +209,7 @@ private function formatTableRows($order, $shipping_place, $status, $fields, &$al foreach($bookings as $booking) { $row = UserFormatter::format($booking->user, $fields->user_columns); $subrow = $this->formatBookingInTable($order, $booking, $status, $all_products); - $row = array_merge($row, $subrow); + $row += $subrow; $price = $booking->getValue($get_total, true); $total_price += $price;