update email template
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user