@extends('layouts.layout-2') @section('content')
| {{__('Vorname')}} | {{__('Nachname') }} | {{__('E-Mail') }} | {{__('Betrag') }} | {{__('aus Bestellung / Gutschrift')}} | {{__('#')}} |
|---|---|---|---|---|---|
| {{ $ShoppingOrderMargin->first_name }} | {{ $ShoppingOrderMargin->last_name }} | {{ $ShoppingOrderMargin->email }} | {!! \App\Services\UserMarign::getMontlyPartnerCommissionOpenByID($ShoppingOrderMargin->user_id, null, true, true) !!} € |
@foreach (\App\Services\UserMarign::getOrderFromPartnerCommissionByID($ShoppingOrderMargin->user_id) as $order)
@if($order->shopping_order)
{!! \App\Services\Payment::getPaymentForTypeBadge($order->shopping_order) !!}
@if($order->shopping_order->payment_for === 7 || $order->shopping_order->payment_for === 8)
@else
@endif
{{$order->shopping_order->shopping_user->billing_firstname }}
{{$order->shopping_order->shopping_user->billing_lastname }}
/ {{ $order->shopping_order->getLastShoppingPayment('reference') }}
({{ $order->shopping_order->getFormattedTotalWithoutCredit()." €" }})
/ {{ $order->shopping_order->created_at->format("d.m.Y") }}
@if($order->shopping_order->shopping_order_margin->net_partner_commission)
/ {{ $order->shopping_order->shopping_order_margin->getFormattedNetPartnerCommission() }} €
@endif
@endif
@endforeach
@foreach (\App\Services\UserMarign::getUserCreditMarginByID($ShoppingOrderMargin->user_id) as $creditMaring)
@endforeach
|
|
| {{ $onlyUserCreditMargin['first_name'] }} | {{ $onlyUserCreditMargin['last_name'] }} | {{ $onlyUserCreditMargin['email'] }} | {!! formatNumber($onlyUserCreditMargin['sum']) !!} € | @foreach ($onlyUserCreditMargin['entries'] as $key => $creditMaring) @endforeach |
| {{__('Vorname')}} | {{__('Nachname') }} | {{__('E-Mail') }} | {{__('Betrag') }} | {{__('aus Bestellung')}} |
|---|---|---|---|---|
| {{ $ShoppingOrderMarginPending->first_name }} | {{ $ShoppingOrderMarginPending->last_name }} | {{ $ShoppingOrderMarginPending->email }} | {!! \App\Services\UserMarign::getMontlyPartnerCommissionPendingByID($ShoppingOrderMarginPending->user_id, null, true) !!} € |
@foreach (\App\Services\UserMarign::getOrderFromPartnerCommissionPendingByID($ShoppingOrderMarginPending->user_id) as $order)
@if($order->shopping_order)
{!! \App\Services\Payment::getPaymentForTypeBadge($order->shopping_order) !!}
@if($order->shopping_order->payment_for === 7 || $order->shopping_order->payment_for === 8)
@else
@endif
{{$order->shopping_order->shopping_user->billing_firstname }}
{{$order->shopping_order->shopping_user->billing_lastname }}
/ {{ $order->shopping_order->getLastShoppingPayment('reference') }}
({{$order->shopping_order->getFormattedTotalWithoutCredit()." €" }})
/ {{ $order->shopping_order->created_at->format("d.m.Y") }}
@if($order->shopping_order->shopping_order_margin->net_partner_commission)
/ {{ $order->shopping_order->shopping_order_margin->getFormattedNetPartnerCommission() }} €
@endif
@endif
@endforeach
@foreach (\App\Services\UserMarign::getOrderFromShopPendingByID($ShoppingOrderMarginPending->user_id) as $order)
@if($order->shopping_order)
{!! \App\Services\Payment::getPaymentForTypeBadge($order->shopping_order) !!}
@if($order->shopping_order->payment_for === 7 || $order->shopping_order->payment_for === 8)
@else
@endif
{{$order->shopping_order->shopping_user->billing_firstname }}
{{$order->shopping_order->shopping_user->billing_lastname }}
/ {{ $order->shopping_order->getLastShoppingPayment('reference') }}
({{$order->shopping_order->getFormattedTotalWithoutCredit()." €" }})
/ {{ $order->shopping_order->created_at->format("d.m.Y") }}
@if($order->shopping_order->shopping_order_margin->net_partner_commission)
/ {{ $order->shopping_order->shopping_order_margin->getFormattedNetPartnerCommission() }} €
@endif
@endif
@endforeach
|
| {{ $onlyUserCreditMargin['first_name'] }} | {{ $onlyUserCreditMargin['last_name'] }} | {{ $onlyUserCreditMargin['email'] }} | {!! formatNumber($onlyUserCreditMargin['sum']) !!} € |
@foreach ($onlyUserCreditMargin['entries'] as $key => $order)
{!! \App\Services\Payment::getPaymentForTypeBadge($order->shopping_order) !!}
@if($order->shopping_order->payment_for === 7 || $order->shopping_order->payment_for === 8)
@else
@endif
{{$order->shopping_order->shopping_user->billing_firstname }}
{{$order->shopping_order->shopping_user->billing_lastname }}
/ {{ $order->shopping_order->getLastShoppingPayment('reference') }}
({{$order->shopping_order->getFormattedTotalWithoutCredit()." €" }})
/ {{ $order->shopping_order->created_at->format("d.m.Y") }}
@if($order->shopping_order->shopping_order_margin->net_partner_commission)
/ {{ $order->shopping_order->shopping_order_margin->getFormattedNetDiscount() }} €
@endif
@endforeach
|
| ID | {{__('G.Nr.')}} | {{__('Gutschrift')}} | {{__('Vorname')}} | {{__('Nachname') }} | {{__('E-Mail') }} | {{__('Betrag') }} | {{__('Datum') }} | {{__('Zahlung')}} | {{__('aus Bestellung / Gutschrift')}} |
|---|