@if($TreeCalcBot->__get('business_user')->version == 1) @endif @if($TreeCalcBot->__get('business_user')->version == 2) @if($TreeCalcBot->__get('business_user')->qual_user_level_next) @endif @endif @if($TreeCalcBot->__get('business_user')->version == 1) @endif @if($TreeCalcBot->__get('business_user')->version == 2) @endif @if($TreeCalcBot->__get('business_user')->version == 2) {{-- --}} @endif
{{ __('team.account') }}: @if($TreeCalcBot->__get('business_user')->active_account) {{ __('team.active') }} @else {{ __('team.not_active') }} @endif @if($TreeCalcBot->__get('business_user')->payment_account_date) {{ __('team.until') }}: {{ formatDate($TreeCalcBot->__get('business_user')->payment_account_date) }} @endif (ID: {{ $TreeCalcBot->__get('business_user')->m_account }}) v2
{{ __('team.date') }}: {{ HTMLHelper::getMonth($data['month']) }} {{ $data['year'] }} | @if($TreeCalcBot->__get('business_user')->isSave()) {{ __('team.completed') }}: {{-- @if(Auth::user()->isSySAdmin()) {{ __('Live Berechnung') }} @endif --}} @else {{ __('team.open') }}: @endif
{{ __('team.career_level') }}: {{ \App\Services\TranslationHelper::transUserLevelName($TreeCalcBot->__get('business_user')->user_level_name) }}   {{ __('team.KU') }} {{ $TreeCalcBot->__get('business_user')->qual_kp }} / {{ __('team.PP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->qual_pp, 0) }}
{{ __('team.sponsor') }}: @if($TreeCalcBot->__get('business_user')->sponsor && $TreeCalcBot->__get('business_user')->sponsor->is_sponsor) {{ $TreeCalcBot->__get('business_user')->sponsor->first_name }} {{ $TreeCalcBot->__get('business_user')->sponsor->last_name }} | {{ $TreeCalcBot->__get('business_user')->sponsor->email }} | {{ $TreeCalcBot->__get('business_user')->sponsor->m_account }} @else - @endif
{{ __('team.consultant_margin') }}: {{ $TreeCalcBot->__get('business_user')->margin }} %
{{ __('team.shop_commission') }}: {{ $TreeCalcBot->__get('business_user')->margin_shop }} %
{{ __('team.net_turnover') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_total_sum) }} € ({{ __('team.own') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_total) }} € | {{ __('team.shop') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_total_shop) }} €)
{{ __('team.customer_points') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_points_KP_sum, 0) }} {{ __('team.KU') }} ({{ __('team.own') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_KP_points, 0) }} | {{ __('team.shop') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_points_shop, 0) }})   {{ __('team.KU') }} {{ $TreeCalcBot->__get('business_user')->qual_kp }} @if($TreeCalcBot->__get('business_user')->getRestQualKP() > 0)   Rest-KU: {{ formatNumber($TreeCalcBot->__get('business_user')->getRestQualKP(), 0) }} @endif
{{ __('team.qualification_points') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->total_qual_pp, 0) }} {{ __('team.TP') }} (+ {{ __('team.volume_KU') }})  
{{ __('team.qualification_commission') }}: @if($TreeCalcBot->__get('business_user')->isQualLevel()) {{ __('team.KP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_points_KP_sum, 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level['qual_kp'], 0) }} | {{ __('team.TP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->total_qual_pp, 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level['qual_pp'], 0) }} | {{ $TreeCalcBot->__get('business_user')->qual_user_level['name'] }} @endif
{{ __('team.payline_points') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->payline_points, 0) }} {{ __('team.PP') }}
{{ __('team.qualification_points') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->payline_points_qual_kp, 0) }} {{ __('team.PP') }} ({{ formatNumber($TreeCalcBot->__get('business_user')->payline_points ?? 0, 0) }} Payline @if($TreeCalcBot->__get('business_user')->getRestQualKP() > 0) + {{ formatNumber($TreeCalcBot->__get('business_user')->getRestQualKP(), 0) }} Rest-KU @endif )
{{ __('team.current_commission_level') }}: @if($TreeCalcBot->__get('business_user')->isQualLevel()) {{ __('team.KU') }} {{ formatNumber($TreeCalcBot->__get('business_user')->calc_qual_kp, 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level['qual_kp'], 0) }} | {{ __('team.PP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->payline_points_qual_kp, 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level['qual_pp'], 0) }} | {{ \App\Services\TranslationHelper::transUserLevelName($TreeCalcBot->__get('business_user')->qual_user_level['name']) }} @endif
{{ __('team.next_commission_level') }}: {{ __('team.KU') }} {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level_next['_calculated_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level_next['qual_kp'], 0) }} | {{ __('team.PP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level_next['_calculated_payline_points_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->qual_user_level_next['qual_pp'], 0) }} | {{ \App\Services\TranslationHelper::transUserLevelName($TreeCalcBot->__get('business_user')->qual_user_level_next['name']) }}
@if($TreeCalcBot->__get('business_user')->next_qual_user_level) {{ __('team.qualification') }}
@endif {{ __('team.next_career_level') }}:
@if($TreeCalcBot->__get('business_user')->next_qual_user_level) {{ __('team.KU') }} {{ formatNumber($TreeCalcBot->__get('business_user')->next_qual_user_level['_calculated_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->next_qual_user_level['qual_kp'], 0) }} | {{ __('team.TP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->next_qual_user_level['_calculated_payline_points_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->next_qual_user_level['qual_pp'], 0) }} | {{ \App\Services\TranslationHelper::transUserLevelName($TreeCalcBot->__get('business_user')->next_qual_user_level['name']) }} @elseif($TreeCalcBot->__get('business_user')->next_can_user_level) {{ __('team.KU') }} {{ formatNumber($TreeCalcBot->__get('business_user')->next_can_user_level['_calculated_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->next_can_user_level['qual_kp'], 0) }} | {{ __('team.TP') }} {{ formatNumber($TreeCalcBot->__get('business_user')->next_can_user_level['_calculated_payline_points_qual_kp'], 0) }} / {{ formatNumber($TreeCalcBot->__get('business_user')->next_can_user_level['qual_pp'], 0) }} | {{ \App\Services\TranslationHelper::transUserLevelName($TreeCalcBot->__get('business_user')->next_can_user_level['name']) }} @else @endif
{{ __('team.commission_shop') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->commission_shop_sales) }} €   ({{ __('team.sales_store_net') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->sales_volume_total_shop) }} € / {{ $TreeCalcBot->__get('business_user')->margin_shop }} %)
{{ __('team.commission_team') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->commission_pp_total) }} €
{{ __('team.commission_payline') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->commission_pp_total) }} €
{{ __('team.commission_WB') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->commission_growth_total) }} €
{{ __('team.commission_total') }}: {{ formatNumber($TreeCalcBot->__get('business_user')->getCommissionTotal()) }} €
Team Points: {{ formatNumber($TreeCalcBot->__get('business_user')->total_pp, 0) }} TP
Qualifikation Team Points: {{ formatNumber($TreeCalcBot->__get('business_user')->payline_points_qual_kp, 0) }} TP (+ Volumen KP)

@foreach (array_reverse($TreeCalcBot->__get('business_user')->business_lines->toArray(), true) as $line => $object) @endforeach
{{__('tables.line')}} {{__('tables.points')}} {{__('tables.commission')}} % {{__('tables.commission')}} €
@if($line <= $TreeCalcBot->__get('business_user')->getQualLevelPaylines())
{{ $line }}. {{ __('team.PP') }}
@elseif($TreeCalcBot->__get('business_user')->isQualLevelGrowth($line))
{{ $line }}. {{ __('team.WB') }}
@else
{{ $line }}.
@endif
{{ formatNumber($TreeCalcBot->getKeybyLine($line, 'points'), 0) }} {{ formatNumber($TreeCalcBot->getKeybyLine($line, 'margin'), 2) }} % {{ formatNumber($TreeCalcBot->getKeybyLine($line, 'commission'), 2) }} €
{{__('tables.total')}} {{ formatNumber($TreeCalcBot->__get('business_user')->total_pp, 0) }} {{ formatNumber($TreeCalcBot->__get('business_user')->commission_pp_total, 2) }} €