mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 23:24:16 -04:00
27 lines
422 B
PHP
27 lines
422 B
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Token_suspended_invoice_count class
|
|
*/
|
|
|
|
class Token_suspended_invoice_count extends Token
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->CI->load->model('Sale');
|
|
}
|
|
|
|
public function token_id()
|
|
{
|
|
return 'SCO';
|
|
}
|
|
|
|
public function get_value()
|
|
{
|
|
return $this->CI->Sale->get_suspended_invoice_count();
|
|
}
|
|
}
|
|
?>
|