base
parent
11f263fdf1
commit
ab95f3acf4
|
|
@ -27,7 +27,7 @@ class OrderPrint
|
|||
if ($devices->count() > 0 && $templateId) {
|
||||
$service = PrintService::make();
|
||||
$products = [];
|
||||
foreach($order->products as $item) {
|
||||
foreach($order->products()->get() as $item) {
|
||||
array_push($products, [
|
||||
'name' => $item->name,
|
||||
'price' => round($item->sell_price / 100, 2, PHP_ROUND_HALF_DOWN),
|
||||
|
|
|
|||
Loading…
Reference in New Issue