base
parent
4275b90f60
commit
eea40fabdf
|
|
@ -40,7 +40,7 @@ class OrderPrint
|
||||||
'sn' => $order->sn,
|
'sn' => $order->sn,
|
||||||
'time' => $order->created_at->format('Y-m-d H:i:s'),
|
'time' => $order->created_at->format('Y-m-d H:i:s'),
|
||||||
'desk' => $desk->name,
|
'desk' => $desk->name,
|
||||||
'products' => json_encode($products),
|
'products' => json_encode($products, JSON_UNESCAPED_UNICODE),
|
||||||
'total' => round($order->total_amount, 2, PHP_ROUND_HALF_DOWN),
|
'total' => round($order->total_amount, 2, PHP_ROUND_HALF_DOWN),
|
||||||
'remarks' => $order->note ?: '',
|
'remarks' => $order->note ?: '',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue