hi!
is it possible to forgive no invoice number when unfinished order. (terminated by user)
invoice numbers have to be consecutive!!!!
JoomShopping: 3.18.1
25.06.2014 21:40
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
|
25.06.2014 22:02
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
26.06.2014 22:14
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
Aw: invoice number when unfinished order
this is not good for accounting purposes we have to print out all the canceled invoices - not possible now!! for tax office ... invoice numbers have to be consecutive!!!! what we can do? could you work on a solution? I'm surprised that no other customizer have criticized that?
Last change: 26.06.2014 22:24
|
27.06.2014 07:53
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
23.07.2014 21:00
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
Aw: invoice number when unfinished order
http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/addons.html?lang=en Next finished order number 1.0.0 |
26.08.2014 18:46
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
|
26.08.2014 19:16
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
26.08.2014 19:42
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
|
26.08.2014 19:44
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
26.08.2014 19:49
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
|
26.08.2014 20:13
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
29.08.2014 08:29
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
Aw: invoice number when unfinished order
sorry again but it do not work correctly i configed everything right but our finished orders get the ordernumber from id and not our configed number.. public function onAfterCreateOrder($order){ if(isset($order->order_created) && $order->order_created==0){ $order->order_number = $order->formatOrderNumber($order->order_id); $order-> store(); } } i dont know if order_created is set to 1 when customer order with paypal or sofortüberweisung reached the function onAfterCreateOrder ?? in the database "order_created" was set to 1 in orders but order_number was the value of the id ?? |
01.09.2014 09:28
|
|
kreativ quadrat
Name: garry
25.11.2010
Posts: 325
|
Aw: invoice number when unfinished order
the solution with your plugin is not optimal we get also the wrong order number if we enter an invoice manually manuelly we get the order number was configed normally online order we get the order number wich was configed by plugin?? would not it be better that the canceled order will receive a separate number range?
Last change: 01.09.2014 09:41
|
03.09.2014 14:01
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
16.03.2015 21:38
|
|
thomasbaumi
Name: Thomas Baumgartner
24.06.2011
Posts: 139
|
|
07.05.2016 00:38
|
|
pirana
Name: Paolo
21.10.2014
Posts: 27
|
Aw: invoice number when unfinished order
Hello, I found a problem with the invoices. These are made and sent even if the order is canceled or the payment failed. The invoice is generate even if the customer don’t choose to pay by debit (which is wrong because in this case the payment could be delayed or annulled). The invoices shouldn’t be sent because: 1) The customer shouldn’t receive it if he didn’t paid 2) The progressive number of invoices became wrong because they aren’t well-ordered I hope I have been clear and I’m sure you will find a solution. Otherwise the entire invoice production is unusable. In this email there’s a attached image that clearly show a wrong invoice creation Thank you kindly Paolo
Joomla: 3.5
JoomShopping: 4.12.1 |
07.05.2016 00:40
|
|
pirana
Name: Paolo
21.10.2014
Posts: 27
|
|
31.05.2016 16:49
|
|
pirana
Name: Paolo
21.10.2014
Posts: 27
|
Aw: invoice number for status PAYED
Salve Per numerare ed inviare fattura ed ordine esclusivamente quando lo status è PAYED abbiamo ideato questa modifica. La postiamo nel caso in cui potesse servire. (to number invoice only when status is PAYED we made this modify. we have post this in case it would be useful) - per numerare solo le fatture con status PAYED: to number only invoice PAYED) in /plugins/jshoppingorder/finished_order_number/finished_order_number.php step 1) disabilitare la funzione (disable function) /* public function onBeforeCreateTemplateOrderMail(&$view){ JSFactory::loadExtLanguageFile('addon_finished_order_number'); $order = $view->order; if ($order->finished_number_used && !isset($order->invoice_nr_print)){ $order->invoice_nr_print = 1; $view->info_shop .= '<table width="100%"> <tr> <td width="50%"><b>'._JSF_INVOIVE.'</b>:</td> <td>'.$order->invoice_number.'</td> </tr> </table>'; } } */ step 2) sostituire (substitute): if ($order->order_created==1 && $order->finished_number_used==0){ con (with): if ($order->order_created==1 && $order->finished_number_used==0 && $order->order_status == 6){ - Per inviare la mail con ordine e fattura solo quando lo status è PAYED: (to send ordermail and invoice only for status Payed) in /components/com_jshopping/models/ordermail.php aggiungere questa verifica (add this verify): if ($this->order->order_status != 6) return; dopo (after) public function send(){ $jshopConfig = JSFactory::getConfig(); Best regards and good job to all ;-) |