Show externally billed domains
This commit is contained in:
@@ -52,6 +52,9 @@ class Model_Service extends ORM_OSB {
|
||||
'date_next_invoice'=>array(
|
||||
array('Config::date',array(':value')),
|
||||
),
|
||||
'external_billing'=>array(
|
||||
array('StaticList_YesNo::get',array(':value',TRUE)),
|
||||
),
|
||||
'price_override'=>array(
|
||||
array('Currency::display',array(':value')),
|
||||
),
|
||||
|
@@ -38,7 +38,7 @@ abstract class Model_Service_Plugin extends ORM_OSB {
|
||||
*/
|
||||
protected function manage() {
|
||||
// Dont show the manage button for expired or inactive services
|
||||
if (! $this->service->status OR $this->service->expiring())
|
||||
if (! $this->service->status OR $this->service->expiring() OR $this->service->external_billing)
|
||||
return FALSE;
|
||||
|
||||
static $x = '';
|
||||
|
Reference in New Issue
Block a user