update email template

This commit is contained in:
baodev0
2026-09-09 16:56:22 +07:00
parent d3d9f76ba0
commit 2365ef72e9
210 changed files with 6335 additions and 4688 deletions
@@ -95,7 +95,7 @@ class CustomerBillingService
{
$customer = $this->resolveCustomer($uuid);
return $this->orderRepository->filter(['client' => $customer->id], ['customer', 'payment', 'invoice']);
return $this->orderRepository->filter(['client' => $customer->id], ['customer', 'payment', 'invoices']);
}
/**
@@ -114,6 +114,6 @@ class CustomerBillingService
// (dùng ở getOrders) được xoá theo — xem ghi chú ở updateInvoice.
$this->orderRepository->update($orderId, $data);
return $order->refresh()->load(['payment', 'invoice']);
return $order->refresh()->load(['payment', 'invoices']);
}
}