add admin portal logo

This commit is contained in:
radhika587
2022-01-28 07:11:54 +00:00
committed by Mohit Panjwani
parent f594556de0
commit c194e98a7b
118 changed files with 545 additions and 407 deletions

View File

@@ -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
*