Country Prices | Homeparty | Shop | Order

This commit is contained in:
Kevin Adametz 2021-08-27 18:53:12 +02:00
parent 2ffc33dcd6
commit 2d9db4e52e
284 changed files with 784 additions and 216 deletions

View file

@ -276,6 +276,11 @@ class HomepartyCart
'voucher_price' => self::$voucher_price,
'voucher_name' => self::$voucher_name,
];
if(self::$homeparty->getCardInfo('user_tax_free')){
$data['price_net'] = round(self::$price, 2);
$data['ek_price_net'] = round(self::$ek_price, 2);
$data['shipping_price_net'] = self::$shipping_total;
}
$user_data = [];
foreach (self::$homeparty->homeparty_users as $homeparty_user){
@ -438,7 +443,8 @@ class HomepartyCart
break;
case 'EkPriceTax':
$rNumber = (self::$ek_price - self::$ek_price_net)* $faktor;
break;
break;
}
}