Add paypal payments

This commit is contained in:
Deon George
2020-07-27 14:49:59 +10:00
parent 9887996da8
commit 1242dffa20
18 changed files with 1483 additions and 433 deletions

View File

@@ -55,7 +55,7 @@ class UserHomeController extends Controller
*/
public function invoice(Invoice $o): View
{
return View('u.invoice',['o'=>$o]);
return View('u.invoice.home',['o'=>$o]);
}
/**
@@ -66,7 +66,7 @@ class UserHomeController extends Controller
*/
public function invoice_pdf(Invoice $o)
{
return PDF::loadView('u.invoice', ['o'=>$o])->stream(sprintf('%s.pdf',$o->invoice_account_id));
return PDF::loadView('u.invoice.home',['o'=>$o])->stream(sprintf('%s.pdf',$o->invoice_account_id));
}
/**