Jump to content

Reduce invoice number by two digits


Recommended Posts

HI

I'm trying to reduce the size of the invoice number by two digits to accommodate our invoice prefix

The number field in the order_invoice table only stores the number itself and not the leading zeros

Is it simply a case of modifying the format of the invoice number in the PDF template ?

I found this line in the HTMLTemplateInvoice.php :

$this->title = $order_invoice->getInvoiceNumberFormatted($id_lang,(int)$this->order->id_shop);

Any clues ?

thanks

yann

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...