@if($mode === 'test')
|
##### TEST MODE ##### TEST MODE ##### TEST MODE #####
|
@endif
|
{{ $salutation }}
|
|
{!! nl2br($copy1line) !!}
|
|
{{__('email.checkout_mail_status_info')}}
|
@if($txaction === 'failed')
{{__('email.checkout_mail_pay_error')}}
@elseif($txaction === 'non')
{{__('email.checkout_mail_pay_error')}}
@elseif($txaction === 'open')
@if($shopping_payment->clearingtype === "vor")
{{__('email.checkout_mail_pay_pre')}}
{{__('email.checkout_mail_pay_pre_c1')}} {{ number_format( (float) ($shopping_payment->amount/100), 2, ",", ".") }} {{__('email.checkout_mail_pay_pre_c2')}}
@php($pay_trans = $shopping_payment->payment_transactions->where('request', 'authorization')->last())
{{__('email.checkout_mail_bank_holder')}} {!! \App\Models\Setting::getContentBySlug('prepayment-account-owner') !!}
{{__('email.checkout_mail_bank_iban')}} {!! \App\Models\Setting::getContentBySlug('prepayment-iban') !!}
{{__('email.checkout_mail_bank_bic')}} {!! \App\Models\Setting::getContentBySlug('prepayment-bic') !!}
{{__('email.checkout_mail_bank_name')}} {!! \App\Models\Setting::getContentBySlug('prepayment-bank') !!}
{{__('email.checkout_mail_bank_total')}} {{ number_format( (float) ($pay_trans->shopping_payment->amount/100), 2, ",", ".") }} EUR
{{__('email.checkout_mail_bank_code')}} {{ $pay_trans->transmitted_data['reference'] }}
@else
@if($shopping_payment->clearingtype === "non")
{{__('email.checkout_mail_pay_non')}}
@else
{{__('email.checkout_mail_pay_invoice_open')}}
@endif
@endif
@elseif($txaction === 'xxx')
{{__('email.checkout_mail_pay_approved')}}
@else
{{__('email.checkout_mail_system_status')}} {{$txaction}}
@endif
@if($shopping_payment->clearingtype !== "non")
{{__('email.checkout_mail_pay_with')}} {{$shopping_payment->getPaymentType()}}
@endif
{{__('email.checkout_mail_pay_ref')}} {{$shopping_payment->reference}}
{{__('email.checkout_mail_your_mail')}} {{ $shopping_order->shopping_user->billing_email }}
|
|
@include('emails._checkout_product_list')
|
{{__('email.checkout_mail_invoice_addess')}}
|
@if($shopping_order->shopping_user->billing_company)
{{ $shopping_order->shopping_user->billing_company }}
@endif
{{ $shopping_order->shopping_user->billing_firstname }}
{{ $shopping_order->shopping_user->billing_lastname }}
{{ $shopping_order->shopping_user->billing_address }}
@if($shopping_order->shopping_user->billing_address_2)
{{ $shopping_order->shopping_user->billing_address_2 }}
@endif
{{ $shopping_order->shopping_user->billing_zipcode }}
{{ $shopping_order->shopping_user->billing_city }}
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
@if($shopping_order->shopping_user->billing_phone)
{{ $shopping_order->shopping_user->billing_phone }}
@endif
|
|
|
@if($shopping_order->isPickUp())
|
{{__('email.checkout_mail_pickup_addess')}}
|
|
@if($shopping_order->promotion_user)
{!! nl2br($shopping_order->promotion_user->user_address) !!}
@endif
|
|
|
@else
|
@if($shopping_order->shopping_user->is_from === 'user_order')
@if($shopping_order->shopping_user->is_for === 'ot')
{{__('email.checkout_mail_deliver_customer')}}
@else
{{__('email.checkout_mail_deliver_addess')}}
@endif
@else
{{__('email.checkout_mail_deliver_addess')}}
@endif
|
@if($shopping_order->shopping_user->same_as_billing)
{{__('email.checkout_mail_same_address')}}
@else
@if($shopping_order->shopping_user->shipping_company)
{{ $shopping_order->shopping_user->shipping_company }}
@endif
{{ $shopping_order->shopping_user->shipping_firstname }}
{{ $shopping_order->shopping_user->shipping_lastname }}
{{ $shopping_order->shopping_user->shipping_address }}
@if($shopping_order->shopping_user->shipping_address_2)
{{ $shopping_order->shopping_user->shipping_address_2 }}
@endif
{{ $shopping_order->shopping_user->shipping_zipcode }}
{{ $shopping_order->shopping_user->shipping_city }}
{{ $shopping_order->shopping_user->shipping_country->getLocated() }}
@if($shopping_order->shopping_user->shipping_phone)
{{ $shopping_order->shopping_user->shipping_phone }}
@endif
@endif
|
|
@endif
|
{{ $copy3line }}
{{ $greetings }} {{ $sender }}
|
|
|