Removed redundant functions from Invoice, optimised Invoice tables
This commit is contained in:
@@ -54,7 +54,7 @@ class HomeController extends Controller
|
||||
*/
|
||||
public function invoice_pdf(Invoice $o)
|
||||
{
|
||||
return PDF::loadView('u.invoice.home',['o'=>$o])->stream(sprintf('%s.pdf',$o->invoice_account_id));
|
||||
return PDF::loadView('u.invoice.home',['o'=>$o])->stream(sprintf('%s.pdf',$o->sid));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user