Minor work on ADSL/Domain/Hosting and other minor fixes
This commit is contained in:
@@ -19,12 +19,10 @@ class Controller_Admin_Invoice extends Controller_TemplateDefault_Admin {
|
||||
* Show a list of invoices
|
||||
*/
|
||||
public function action_list() {
|
||||
$io = ORM::factory('invoice');
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('System Customer Invoices'),
|
||||
'body'=>Table::display(
|
||||
$io->find_all(),
|
||||
ORM::factory('invoice')->find_all(),
|
||||
25,
|
||||
array(
|
||||
'id'=>array('label'=>'ID','url'=>'user/invoice/view/'),
|
||||
@@ -43,12 +41,5 @@ class Controller_Admin_Invoice extends Controller_TemplateDefault_Admin {
|
||||
)),
|
||||
));
|
||||
}
|
||||
|
||||
public function action_convert() {
|
||||
if (Config::sitemode() != KOHANA::DEVELOPMENT)
|
||||
throw new Kohana_Exception(__METHOD__.' can only be run in development');
|
||||
else
|
||||
throw new Kohana_Exception(__METHOD__.' can be run in development');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user