22 lines
632 B
PHP
22 lines
632 B
PHP
|
<?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');
|
||
|
}
|
||
|
}
|
||
|
?>
|