Page 1 of 1
[Solved] Manually assign invoice number
Posted: Tue Dec 13, 2011 3:17 am
by harald
I have been searching for it but did not find any applicable answer for my problem.
As the webshop will be running next to the conventional shop, I would like to manually number the invoices created via OpenCart. Is there any way to do so? Or do you have another solution which might solve the problem I am facing?
Thank you in advance.
Re: Manually assign invoice number
Posted: Tue Dec 13, 2011 4:40 am
by kedgetech
We have provided similar extension to customer.
Email me from below opencart link
http://www.opencart.com/index.php?route ... tner_id=10
or use our store inquiry form.
http://www.kedgegroup.com/store/index.p ... on/contact
Please see the attached image extension is for version 1.5.1.x
Manual Invoice Number - Admin3.jpg (178.36 KiB) Viewed 1872 times
Re: Manually assign invoice number
Posted: Wed Dec 14, 2011 2:22 am
by harald
I have managed to solve this myself.
I simply added a input field and button in the order_info.tpl and changed the ajax request as send by the #invoice-create click event to add the value of the input field.
Accordingly I have made changes in both the controller (added the input field value to the the call for the model method) and the model (actually saving the inputfield as invoice no.)
Re: [Solved] Manually assign invoice number
Posted: Sat Dec 24, 2011 12:57 am
by iamskyemedia
What exactly did you add to the order.tpl and controller? Which files exactly? This is a very difficult issue.
harald wrote:I have managed to solve this myself.
I simply added a input field and button in the order_info.tpl and changed the ajax request as send by the #invoice-create click event to add the value of the input field.
Accordingly I have made changes in both the controller (added the input field value to the the call for the model method) and the model (actually saving the inputfield as invoice no.)