Improvements to invoice display and other misc items
This commit is contained in:
@@ -13,24 +13,26 @@ class StaticList_ItemType extends StaticList {
|
||||
protected function _table() {
|
||||
return array(
|
||||
0=>_('Product/Service Charge'), // Line Charge Topic on Invoice, eg: Service Name
|
||||
1=> _('Hardware'),
|
||||
2=> _('Service Relocation Fee'),
|
||||
3=> _('Service Change Fee'),
|
||||
4=> _('Service Connection Fee'),
|
||||
1=>_('Hardware'),
|
||||
2=>_('Service Relocation Fee'),
|
||||
3=>_('Service Change Fee'),
|
||||
4=>_('Service Connection Fee'),
|
||||
5=>_('Excess Usage'), // Excess Service Item, of item 0
|
||||
6=> _('Service Cancellation Fee'),
|
||||
6=>_('Service Cancellation Fee'),
|
||||
7=>_('Extra Product/Service Charge'), // Service Billing in advance
|
||||
124=>_('Late Payment Fee'),
|
||||
125=>_('Payment Fee'), // Payment processing fee
|
||||
126=> _('Rounding'),
|
||||
127=> _('Late Payment Fee'),
|
||||
126=>_('Other'),
|
||||
127=>_('Rounding'),
|
||||
);
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
|
||||
public static function index($key) {
|
||||
return array_search($key,static::factory()->table());
|
||||
return array_search($key,self::factory()->table());
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -19,7 +19,7 @@ class StaticList_PriceType extends StaticList {
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -23,7 +23,7 @@ class StaticList_RecurSchedule extends StaticList {
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -18,7 +18,7 @@ class StaticList_RecurType extends StaticList {
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -23,7 +23,7 @@ class StaticList_SweepType extends StaticList {
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -22,7 +22,7 @@ class StaticList_Title extends StaticList {
|
||||
}
|
||||
|
||||
public static function get($value) {
|
||||
return static::factory()->_get($value);
|
||||
return self::factory()->_get($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -23,7 +23,7 @@ class StaticList_YesNo extends StaticList {
|
||||
|
||||
return $format ? View::factory(Config::theme().'/label/bool')
|
||||
->set('label',$value ? 'label-success' : '')
|
||||
->set('column',static::factory()->_get($value)) : $value;
|
||||
->set('column',self::factory()->_get($value)) : $value;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user