order totals

This commit is contained in:
Edward Yang 2022-07-29 17:58:26 +08:00
parent 37b4feff6c
commit e4d384dd2c
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class OrderController extends Controller
public function show(Request $request, Order $order)
{
$order->load(['orderTotals']);
$data = [
'order' => $order,
];