This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 3a81b8a0f5
commit 7ec90d7e18
1183 changed files with 47973 additions and 8742 deletions

View file

@ -83,6 +83,7 @@ class PaymentHelper
$shopping_user = new ShoppingUser();
$shopping_user->auth_user_id = $user->id;
$shopping_user->mode = 'prev';
$shopping_user->language = $user->getLocale();
$shopping_user->billing_salutation = $user->account->salutation;
$shopping_user->billing_company = $user->account->company;
$shopping_user->billing_firstname = $user->account->first_name;
@ -121,6 +122,7 @@ class PaymentHelper
'shopping_user_id' => $shopping_user->id,
'auth_user_id' => $shopping_user->auth_user_id,
'country_id' => Yard::instance('shopping')->getShippingCountryId(),
'language' => \App::getLocale(),
'user_shop_id' => 1,
'payment_for' => $shopping_user->getOrderPaymentFor(),
'total' => Yard::instance('shopping')->total(2, '.', ''),