Hi Leute,
da es hier viel diskutiert ist hier meine Lösung:
lt. Steuerberater muss ab einem Gesamtwert von € 150 die Nettosumme ausgewiesen werden, auch bei Endverbraucher!
Mein Versand läuft komplett über DPD, also kann ich von der verrechneten Portopauschale die MWST absetzen.
ich habe dazu folgendes geändert:
/includes/modules/order_total/ot_subtotal_no_tax.php
function process() {
global $order, $xtPrice;
if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
if ($_SESSION['customers_status']['customers_status_ot_discount_flag'] == 1) {
$sub_total_price = $order->info['subtotal'] - ($order->info['subtotal'] / 100 * $_SESSION['customers_status']['customers_status_ot_discount']);
} else {
$sub_total_price = $order->info['subtotal'];
}
$this->output[] = array('title' => $this->title . ':',
'text' => '<b>' . $xtPrice->xtcFormat($sub_total_price+($xtPrice->xtcFormat($order->info['shipping_cost'], false,0,true)), true).'</b>',
'value' => $xtPrice->xtcFormat($sub_total_price+($xtPrice->xtcFormat($order->info['shipping_cost'], false,0,true)), false));
}
}
[/php]
durch folgendes ersetzt:
[php]
function process() {
global $order, $xtPrice;
if ($_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
if ($_SESSION['customers_status']['customers_status_ot_discount_flag'] == 1) {
$sub_total_price = $order->info['subtotal'] - ($order->info['subtotal'] / 100 * $_SESSION['customers_status']['customers_status_ot_discount']);
} else {
$sub_total_price = $order->info['subtotal'] - ($order->info['subtotal'] / 100 * $_SESSION['customers_status']['customers_status_ot_discount']);
//$sub_total_price = $order->info['subtotal'];
}
$this->output[] = array('title' => $this->title . ':',
'text' => '<b>' . $xtPrice->xtcFormat($sub_total_price+($xtPrice->xtcFormat($order->info['shipping_cost'], false,0,true)), true).'</b>',
'value' => $xtPrice->xtcFormat($sub_total_price+($xtPrice->xtcFormat($order->info['shipping_cost'], false,0,true)), false));
}else{
//NEU Nettopreis anzeigen, auch wenn Brutto bei Kundengruppe
$sub_total_price = $order->info['total']-$order->info['tax'];
$this->output[] = array('title' => $this->title . ':',
'text' => '<b>' . $xtPrice->xtcFormat($sub_total_price, true).'</b>',
'value' => $xtPrice->xtcFormat($sub_total_price, false));
//Ende NEU
}
}
Damit wird nun immer die Nettosumme in der Bestellübersicht, Bestellmail und Rechnungsdruck mit ausgewiesen.
ACHTUNG:
1. im Admin unter Zusammenfassung muss Summe, Netto aktiviert sein
2. funktioniert nur bei neuen Bestellungen!
keine Garantie, keine Haftung !
viel Spass damit
GTB