Modify

Opened 6 years ago

Closed 5 years ago

#1831 closed Bug/Fehler (fixed)

Bestellung bearbeiten - Nettopreis ist plötzlich brutto.

Reported by: fishnet Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Admin Version: 2.0.5.1
Keywords: Cc:
Blocked By: Blocking:

Description

Im stable.modified-shop.org getestet, mit Version 2.0.5.1

Zuerst habe ich bei Testprodukt 3 zwei Attribute (mit Einbau, ohne Einbau) hinzugefügt.

Danach bin ich auf Bestellung Nr 5 gegangen und habe sie bearbeitet. Zu Beginn hatte das Testprodukt 3 einen Bruttopreis von 50 Euro, Nettopreis 42,02.
Wenn ich die Bestellung bearbeite und ein Attribut hinzufüge und speichere, dann ist der Bruttopreis plötzlich 42,02.

Attachments (0)

Change History (5)

comment:1 by Gerhard Waldemair, 6 years ago

Kannst du das auch im DEV Shop nachstellen ?

comment:2 by fishnet, 6 years ago

Nein im DEV Shop scheints zu gehen :-)

Ich nehme an Ihr habt in der
admin/includes/functions/orders_functions.php

das hier

if ($prefix === false) {
      $products_old_price = $xtPrice->xtcGetPrice($products['products_id'], $format = false, $products['products_quantity'], '', '', '', $order->customer['ID']);
      $products_price = ($products_old_price + $ov_price);
    }

so geändert?

 if ($prefix === false) {
      $products_old_price = $xtPrice->xtcGetPrice($products['products_id'], $format = false, $products['products_quantity'], 1, '', '', $order->customer['ID']);
      $products_price = ($products_old_price + $ov_price);
    }

comment:3 by Gerhard Waldemair, 6 years ago

nein, denn damit würdest du eine Steuerklasse setzen und das ist an der Stelle nicht gewünscht.

comment:4 by Torsten Riemer, 5 years ago

Milestone: modified-shop-2.0.6.0

comment:5 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 12744:

fix #1831 - fix orders attributes calculation

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.