invoice number when unfinished order

25.06.2014 21:40
#1
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
invoice number when unfinished order

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 22:02
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

Not possible.

 
26.06.2014 22:14
#3
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
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?


Letzte Änderung: 26.06.2014 22:24
 
27.06.2014 07:53
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

Will be later.

 
23.07.2014 21:00
#5
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
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
#6
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
Aw: invoice number when unfinished order

thx for addon

but ordernumber is wrong

next order number after installed addon
is the id from order not the ordernumber which configed!

could you fix this please?

thx

 
26.08.2014 19:16
#7
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

See configuration / checkout

 
26.08.2014 19:42
#8
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
Aw: invoice number when unfinished order

ah
for finsished orders it was configed by 1
i changed it now to actual order number?

i hope it works now :-

for what i need the prefix for finished orders?

thx

 
26.08.2014 19:44
#9
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

prefix - option.

 
26.08.2014 19:49
#10
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
Aw: invoice number when unfinished order

ok

and whats about the not finished orders now?

get they a order number or not?

thx


Letzte Änderung: 26.08.2014 19:49
 
26.08.2014 20:13
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

Yes. Old number (Standart number joomshopping)

 
29.08.2014 08:29
#12
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
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
#13
kreativ quadrat
Joomshopping forum user no avatar
Name: garry
25.11.2010
Posts: 160
Quote
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?


Letzte Änderung: 01.09.2014 09:41
 
03.09.2014 14:01
#14
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16517
Quote
Aw: invoice number when unfinished order

Not see problem in my test site.

url?
admin login?
(privat)

screenshot error?


Letzte Änderung: 03.09.2014 14:01
 
16.03.2015 21:38
#15
thomasbaumi
Joomshopping forum user no avatar
Name: Thomas Baumgartner
24.06.2011
Posts: 106
Quote
Aw: invoice number when unfinished order

Ich habe das Plugin auch installiert und genau das gleiche Problem.

Zudem wird der Zusatz FN- beim Bezahlen der Bestellung an Paypal nicht übermittelt.

Bei Paypal steht dann eine andere Nummer.

Ich werde wieder ohne das Plugin weiter arbeiten.

Gruss Thomas

 
07.05.2016 00:38
#16
pirana
Joomshopping forum user no avatar
Name: Paolo
21.10.2014
Posts: 12
Quote
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
#17
pirana
Joomshopping forum user no avatar
Name: Paolo
21.10.2014
Posts: 12
Quote
Aw: invoice number when unfinished order

oops
Aw: invoice number when unfinished order


Letzte Änderung: 07.05.2016 00:42
 
31.05.2016 16:49
#18
pirana
Joomshopping forum user no avatar
Name: Paolo
21.10.2014
Posts: 12
Quote
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 ;-)

 
Copyrights MAXXmarketing GmbH. All Rights Reserved