Removed redundant functions, some Standardisation work
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Model_Service_Billing extends ORM_OSB {
|
||||
class Model_Service_Billing extends ORM {
|
||||
protected $_table_name = 'account_billing';
|
||||
|
||||
// Relationships
|
||||
|
@@ -9,7 +9,7 @@
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Model_Service_Change extends ORM_OSB {
|
||||
class Model_Service_Change extends ORM {
|
||||
protected $_table_name = 'service_change';
|
||||
|
||||
// Relationships
|
||||
@@ -35,7 +35,7 @@ class Model_Service_Change extends ORM_OSB {
|
||||
$output = array();
|
||||
|
||||
foreach ($this->find_all() as $sco) {
|
||||
array_push($output,sprintf('%s %s',$sco->product->title(),$sco->display('date_effective')));
|
||||
array_push($output,sprintf('%s %s',$sco->product->name($sco->service->account->language),$sco->display('date_effective')));
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@@ -9,7 +9,7 @@
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Model_Service_Memo extends ORM_OSB {
|
||||
class Model_Service_Memo extends ORM {
|
||||
// Relationships
|
||||
protected $_belongs_to = array(
|
||||
'service'=>array(),
|
||||
|
@@ -9,7 +9,7 @@
|
||||
* @copyright (c) 2009-2013 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
abstract class Model_Service_Plugin extends ORM_OSB {
|
||||
abstract class Model_Service_Plugin extends ORM {
|
||||
// Reset any sorting that may be defined in our parent
|
||||
protected $_sorting = array();
|
||||
|
||||
|
Reference in New Issue
Block a user