job numbering
Brought to you by:
andrewsimpson
Add automatic job numbering with customizable format
for each project created. Most likely would be
generated in task_add.php.
Since my company assigns a job number (for accounting
purposes) to each project, I found somthing like this
to be very useful for a job number format:
//set in config
$jobno_format = "Y####";
//or $jobno_format = "YMD####"; etc...
/*****
Y - 4 digit year
y - 2 digit year
M
m
D
d
C - gets next client specific job number?
# - 1 digit
*****/
function get_jobno() {
//do stuff with $format
}