Merge branch 'document-title' into 'master'

add admin_document_title

See merge request mohit.panjvani/crater-web!1447
This commit is contained in:
Mohit Panjwani
2022-02-24 12:40:33 +00:00
8 changed files with 81 additions and 69 deletions

View File

@ -55,7 +55,9 @@ class BootstrapController extends Controller
'admin_portal_logo',
'login_page_logo',
'login_page_heading',
'login_page_description'
'login_page_description',
'admin_page_title',
'copyright_text'
]);
return response()->json([

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)
]);
}