- Posts: 22
- Thank you received: 0
Different Invoice Number for different User Groups
11 years 2 months ago #208457
by sapura
Different Invoice Number for different User Groups was created by sapura
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.29
Hi,
I would like to have different running invoice number for different user groups.
For example,
User from group A makes a purchase, the invoice will be A/2015/00001
User from group B makes a purchase, the invoice will be B/2015/00001
2nd User from group A makes a purchase, the invoice will be A/2015/00002
2nd User from group B makes a purchase, the invoice will be B/2015/00002
Can you help? Thanks.
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.29
Hi,
I would like to have different running invoice number for different user groups.
For example,
User from group A makes a purchase, the invoice will be A/2015/00001
User from group B makes a purchase, the invoice will be B/2015/00001
2nd User from group A makes a purchase, the invoice will be A/2015/00002
2nd User from group B makes a purchase, the invoice will be B/2015/00002
Can you help? Thanks.
Please Log in or Create an account to join the conversation.
11 years 2 months ago #208467
by nicolas
Replied by nicolas on topic Different Invoice Number for different User Groups
Hi,
There is no option to do that by default in HikaShop.
What you can do however is to develop a small hikashop plugin and implement the onBeforeInvoiceNumberGenerate(&$data, &$result) trigger in order to generate the invoice number yourself the way you want it.
There is no option to do that by default in HikaShop.
What you can do however is to develop a small hikashop plugin and implement the onBeforeInvoiceNumberGenerate(&$data, &$result) trigger in order to generate the invoice number yourself the way you want it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds