{{ __('pdf.address_top') }}
@if($shopping_order->shopping_user->billing_company) {{ $shopping_order->shopping_user->billing_company }}
@else @if($shopping_order->payment_for !== 6) {{ __('Company') }}
@endif @endif {{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->shopping_user->billing_salutation) }} {{ $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 }}
@if($shopping_order->shopping_user->billing_country) {{ $shopping_order->shopping_user->billing_country->getLocated() }} @endif
@if($shopping_order->payment_for === 6)
@if(isset($is_copy) && $is_copy) @endif
{{ __('pdf.invoice_copy') }}: {{ strtoupper(app()->getLocale()) }}
{{ __('pdf.date') }}: {{ $invoice_date }}
{{ __('pdf.invoice_nr') }}: {{ $invoice_number }}
{{ __('pdf.order_no') }}: {{ $shopping_order->getLastShoppingPayment('reference') }}
@else
@if(isset($is_copy) && $is_copy) @endif @if($shopping_order->payment_for === 7) //extern @else @endif @if(isset($user_sales_volume)) @endif
{{ __('pdf.invoice_copy') }}: {{ strtoupper(app()->getLocale()) }}
{{ __('pdf.adviser_id') }}: @if(isset($shopping_order->member->account)) {!! str_pad($shopping_order->member->account->m_account, 5, "0", STR_PAD_LEFT) !!} @endif @if(isset($shopping_order->shopping_user->auth_user->account)) {!! str_pad($shopping_order->auth_user->account->m_account, 5, "0", STR_PAD_LEFT) !!} @endif
{{ __('pdf.date') }}: {{ $invoice_date }}
{{ __('pdf.invoice_nr') }}: {{ $invoice_number }}
{{ __('pdf.points_order') }}: {{ $user_sales_volume->getFormattedPoints() }}
{{ __('pdf.points') }} {{ $user_sales_volume->getFormatedMonthYear() }}: {{ $user_sales_volume->getFormattedMonthKPPoints() }}
{{ __('pdf.points_shop') }} {{ $user_sales_volume->getFormatedMonthYear() }}: {{ $user_sales_volume->getFormattedMonthShopPoints() }}
{{ __('pdf.order_no') }}: {{ $shopping_order->getLastShoppingPayment('reference') }}
@endif
{{ __('pdf.invoice') }}
{{-- @if($cancellation)
{{ $invoice->invoice_name }}
@endif--}}
@if($shopping_order->homeparty) @include('pdf.invoice-homeparty') @elseif($shopping_order->shopping_collect_order) @include('pdf.invoice-collection') @else @include('pdf.invoice-detail') @endif @if($shopping_order->shopping_collect_order)
@include('pdf.invoice-journal-collection') @endif