mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-19 19:32:52 -04:00
22 lines
341 B
PHP
22 lines
341 B
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Token_invoice_count class
|
|
*/
|
|
|
|
class Token_invoice_count extends Token
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->CI->load->model('Sale');
|
|
}
|
|
|
|
public function get_value()
|
|
{
|
|
return $this->CI->Sale->get_invoice_count();
|
|
}
|
|
}
|
|
?>
|