mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-22 00:07:58 -05:00
26 lines
404 B
PHP
26 lines
404 B
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Token_invoice_sequence class
|
|
*/
|
|
|
|
class Token_invoice_sequence extends Token
|
|
{
|
|
|
|
public function __construct($value = '')
|
|
{
|
|
parent::__construct($value);
|
|
}
|
|
|
|
public function token_id()
|
|
{
|
|
return 'ISEQ';
|
|
}
|
|
|
|
public function get_value()
|
|
{
|
|
return $this->CI->Appconfig->acquire_save_next_invoice_sequence();
|
|
}
|
|
}
|
|
?>
|