6
0
Fork 0
panliang 2023-02-25 17:43:29 +08:00
parent 4275b90f60
commit eea40fabdf
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class OrderPrint
'sn' => $order->sn,
'time' => $order->created_at->format('Y-m-d H:i:s'),
'desk' => $desk->name,
'products' => json_encode($products),
'products' => json_encode($products, JSON_UNESCAPED_UNICODE),
'total' => round($order->total_amount, 2, PHP_ROUND_HALF_DOWN),
'remarks' => $order->note ?: '',
];