Current Path : /home/atdotid/posdemo.aturtoko.id/application/models/tokens/ |
Current File : /home/atdotid/posdemo.aturtoko.id/application/models/tokens/Token_year_invoice_count.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Token_year_invoice_count class */ class Token_year_invoice_count extends Token { public function __construct() { parent::__construct(); $this->CI->load->model('Sale'); } public function token_id() { return 'YCO'; } public function get_value() { return $this->CI->Sale->get_invoice_number_for_year(); } } ?>