OSB enhancements to date
This commit is contained in:
21
modules/invoice/classes/controller/admin/invoice.php
Normal file
21
modules/invoice/classes/controller/admin/invoice.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* This class provides invoice capabilities.
|
||||
*
|
||||
* @package OSB
|
||||
* @subpackage Invoice
|
||||
* @category Controllers/Admin
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Controller_Admin_Invoice extends Controller_TemplateDefault {
|
||||
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