mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-26 02:08:05 -05:00
18 lines
275 B
PHP
18 lines
275 B
PHP
<?php
|
|
|
|
class Token_invoice_count extends Token
|
|
{
|
|
private $CI;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->CI =& get_instance();
|
|
$this->CI->load->model('Sale');
|
|
}
|
|
|
|
public function get_value()
|
|
{
|
|
return $this->CI->Sale->get_invoice_count();
|
|
}
|
|
} |