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