Use new logo
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a59d69cb0d
commit
15917d5f99
1 changed files with 6 additions and 3 deletions
|
@ -208,9 +208,12 @@ class AcceptanceController extends Controller
|
||||||
*/
|
*/
|
||||||
$branding_settings = SettingsController::getPDFBranding();
|
$branding_settings = SettingsController::getPDFBranding();
|
||||||
|
|
||||||
if (is_null($branding_settings->logo)){
|
|
||||||
$path_logo = "";
|
$path_logo = "";
|
||||||
} else {
|
|
||||||
|
// Check for the PDF logo path and use that, otherwise use the regular logo path
|
||||||
|
if (!is_null($branding_settings->acceptance_pdf_logo)) {
|
||||||
|
$path_logo = public_path() . '/uploads/' . $branding_settings->acceptance_pdf_logo;
|
||||||
|
} elseif (!is_null($branding_settings->logo)) {
|
||||||
$path_logo = public_path() . '/uploads/' . $branding_settings->logo;
|
$path_logo = public_path() . '/uploads/' . $branding_settings->logo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue