So when an order is placed the invoice number isn't generated automatically unil you press the following tab: [ Create Invoice No. ]
Is there any way to automate this so that it is automatically created when the order is placed?
Is there any reason why it isn't automatically created?
Thanks.
I would like it to auto generate on a completion status.
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
It was removed because this is not the way the Invoice-number system should work.
You could download that 1.5.1.1 and adopt the code in your 1.5.1.3
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
http://forum.opencart.com/viewtopic.php ... 4&start=20
Now its 1.5.1.3, is there a reason its not included??
Thanks.
yes, the reason is the many different laws in country's across the world.tooheys wrote: Now its 1.5.1.3, is there a reason its not included??
A manual Generate Invoice button is the only way.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Done. Under Settings - > Option tab at the bottom.Qphoria wrote:I suppose a simple setting in the setting area could be added:
AutoGenerate Invoice YES/NO
AutoGenerate When Status is: Complete/Processing (multiselect)
Attachments
v1.5.1.3 - opencart_auto_generate_invoice.PNG (6.66 KiB) Viewed 3664 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I tried this modification.
HOWEVER, when I try access SALES ---> ORDERS i get an error:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.
Also when I try and access an order from the main page of the dashboard I also get an error.
Please advise.
Thanks, Mel
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
Fatal error: Can't use method return value in write context in C:\test\vqmod\vqcache\vq2-admin_controller_sale_order.php on line 93
Code: Select all
if (isset($this->request->get['order_id']) && !empty($this->request->get['order_id']) && isset($this->config->get('config_generate_invoice') && (int)$this->config->get('config_generate_invoice') == 1 && isset($this->config->get('config_invoice_order_statuses')) && is_array($this->config->get('config_invoice_order_statuses')) && !empty($order_status_ids)) {
Could you be more specific regarding the aren't right ? What is the result that is producing on your end ?But then of course, the results aren't right.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You must install VQMod and upload the XML file into your vqmod/xml folder. Then, go to your admin - > system - > Settings - > Option and go to the Option tab. Then, at the bottom, you will see the auto-generate invoice options (2 of them). Then, go to the Sales - > Orders - > Order History after selecting a specific order from the order list. Upon the ones you selected from the settings previously, those settings should match accordingly from your order status history and your invoice number should be generated automatically as such and as soon you click on the Add History button.tooheys wrote:great. how do you implement the xml file?
Then, see your invoice number on the second tab on the left and you should see the generated invoice number.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The Automatic term represents process you don't need to do manually ?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 184 guests