Minor fixes to statement, services and internal things
Many misc updates
This commit is contained in:
@@ -15,24 +15,24 @@ class Company {
|
||||
return new Company;
|
||||
}
|
||||
|
||||
public static function name() {
|
||||
return Config::sitename();
|
||||
}
|
||||
|
||||
public static function street() {
|
||||
// @todo Details should be obtained from DB
|
||||
return 'PO Box 149';
|
||||
return Config::instance()->so->display('site_address');
|
||||
}
|
||||
|
||||
public static function city() {
|
||||
// @todo Details should be obtained from DB
|
||||
return 'Bendigo';
|
||||
return Config::instance()->so->display('site_city');
|
||||
}
|
||||
|
||||
public static function state() {
|
||||
// @todo Details should be obtained from DB
|
||||
return 'VIC';
|
||||
return Config::instance()->so->display('site_state');
|
||||
}
|
||||
|
||||
public static function pcode() {
|
||||
// @todo Details should be obtained from DB
|
||||
return '3550';
|
||||
return Config::instance()->so->display('site_zip');
|
||||
}
|
||||
|
||||
public static function address($ln='<br/>') {
|
||||
@@ -40,13 +40,11 @@ class Company {
|
||||
}
|
||||
|
||||
public static function phone() {
|
||||
// @todo Company phone should be obtained from db
|
||||
return '03 5410 1135';
|
||||
return Config::instance()->so->display('site_phone');
|
||||
}
|
||||
|
||||
public static function fax() {
|
||||
// @todo Details should be obtained from DB
|
||||
return '03 5410 1145';
|
||||
return Config::instance()->so->display('site_fax');
|
||||
}
|
||||
|
||||
public static function contacts() {
|
||||
|
Reference in New Issue
Block a user