refactor helpers

This commit is contained in:
radhika587
2022-02-23 17:58:07 +05:30
parent 439fc4e002
commit b819307612
5 changed files with 81 additions and 117 deletions

View File

@ -44,8 +44,8 @@ class InvoicePdfController extends Controller
}
return view('app')->with([
'customer_logo' => get_customer_logo($invoice->company_id),
'current_theme' => get_customer_portal_theme($invoice->company_id)
'customer_logo' => get_company_setting('customer_portal_logo', $invoice->company_id),
'current_theme' => get_company_setting('customer_portal_theme', $invoice->company_id)
]);
}