mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-25 01:37:59 -05:00
26 lines
416 B
PHP
26 lines
416 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($save = TRUE)
|
|
{
|
|
return $this->CI->Appconfig->acquire_next_invoice_sequence($save);
|
|
}
|
|
}
|
|
?>
|