mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
add admin portal logo
This commit is contained in:
committed by
Mohit Panjwani
parent
f594556de0
commit
c194e98a7b
@@ -34,6 +34,19 @@ function get_customer_logo($company_id)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get current admin portal logo
|
||||
*
|
||||
* @param $company_id
|
||||
* @return string
|
||||
*/
|
||||
function get_login_page_logo()
|
||||
{
|
||||
if (\Storage::disk('local')->has('database_created')) {
|
||||
return Setting::getSetting('login_page_logo');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current admin theme
|
||||
*
|
||||
@@ -54,6 +67,33 @@ function get_admin_portal_theme()
|
||||
return 'crater';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current login page heading
|
||||
*
|
||||
* @param $company_id
|
||||
* @return string
|
||||
*/
|
||||
function get_login_page_heading()
|
||||
{
|
||||
if (\Storage::disk('local')->has('database_created')) {
|
||||
return Setting::getSetting('login_page_heading');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current login page description
|
||||
*
|
||||
* @param $company_id
|
||||
* @return string
|
||||
*/
|
||||
function get_login_page_description()
|
||||
{
|
||||
if (\Storage::disk('local')->has('database_created')) {
|
||||
return Setting::getSetting('login_page_description');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set Active Path
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user