Ejemplo n.º 1
0
 public function showCustomerInvoices($id)
 {
     $customer = new Customer($id);
     $invoices = Invoice::allCustomerInvoices($id);
     return view('customer_invoices', ['customer' => $customer, 'invoices' => $invoices]);
 }