Vendor & contractor integration
This commit is contained in:
@@ -67,6 +67,14 @@ class StaticFunctions {
|
||||
}
|
||||
}
|
||||
|
||||
public function getVendorRules () {
|
||||
if(file_exists('assets/VendorRules.pdf')) {
|
||||
return 'assets/VendorRules.pdf';
|
||||
} else {
|
||||
return 'assets/VendorRules.example.pdf';
|
||||
}
|
||||
}
|
||||
|
||||
public function getLogoText () {
|
||||
if(file_exists('assets/logo-text.png')) {
|
||||
return 'assets/logo-text.png';
|
||||
@@ -119,4 +127,4 @@ class StaticFunctions {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user