@extends('layouts.admin') @section('content')

Commission Details

SPO Name

{{ ucfirst($vendor->title) }}. {{ $vendor->first_name }} {{ $vendor->last_name }}

SPO ID

#{{$vendor->id}}

Address

Street, House Number

{{ $vendor->street ?? 'N/A' }}

Zip Code

{{ $vendor->zip_code ?? 'N/A' }}

City

{{ $vendor->city ?? 'N/A' }}

Country

{{ $vendor->country ?? 'Deutschland' }}

SPO Details

Email Address

{{ $vendor->email ?? 'N/A' }}

Phone Number

{{ ($vendor->country_code ?? '') . ' ' . ($vendor->number ?? 'N/A') }}

Business Details

New In Business

{{ $vendor->new_in_business ? 'Yes' : 'No' }}

Business Type

{{ $vendor->business_type ? __('messages.' . $vendor->business_type) : 'N/A' }}

Business Model

{{ $vendor->business_model ? __('messages.' . $vendor->business_model) : 'N/A' }}

Name Of The Contract

{{ $vendor->contact_person ? __('messages.' . $vendor->contact_person) : 'N/A' }}

Size of Location

{{ $vendor->size_of_location ? __('messages.' . $vendor->size_of_location) : 'N/A' }}

Status

{{ ucfirst($vendor->status) }}

Conditions:

@if(!empty($vendor->commission_rate) && is_array($vendor->commission_rate)) @foreach($vendor->commission_rate as $range => $data) @php $parts = explode('-', $range); $from = $parts[0]; $to = $parts[1] ?? 'Above'; $commission = $data['commission'] ?? ''; $shop_fee = $data['shop_fee'] ?? ''; @endphp @endforeach @endif
Sales Tier Commission % Shop Fee
{{ number_format($from, 2, ',', '.') }}€ - {{ number_format($to, 2, ',', '.') }}€ {{ $commission }}% {{ number_format($shop_fee, 2, ',', '.') }}€

Bank Details

Bank Name

{{ $vendor->bank_name ?? 'N/A' }}

Bank Account Number

{{ $vendor->account_number ?? 'N/A' }}

IBAN Number

{{ $vendor->iban_number ?? 'N/A' }}

Bank Account Owner

{{ $vendor->account_owner ?? 'N/A' }}

BIC Number

{{ $vendor->bic_number ?? 'N/A' }}

Tax Related Information

Tax Number

{{ $vendor->tax_number ?? 'N/A' }}

Tax ID (UMSt.-ID)

{{ $vendor->tax_id ?? 'N/A' }}

Revenue Growth

@foreach($monthlyData as $month => $data) @endforeach
Month Total Revenue Cancellation Rate Commission Rate Commission Shop Fee Total Fee Total Fee Net Amount Total Fee Tax Amount Payout Payout Date Action
{{ substr($month, 0, 3) }} {{ number_format($data['total_revenue'], 2, ',', '.') }}€ {{ number_format($data['cancellation_rate'], 2, ',', '.') }}% {{ number_format($data['commission_rate'], 2, ',', '.') }}% {{ number_format($data['commission'], 2, ',', '.') }}€ {{ number_format($data['shop_fee'], 2, ',', '.') }}€ {{ number_format($data['totalFee'], 2, ',', '.') }}€ {{ number_format($data['totalFeeNetAmount'], 2, ',', '.') }}€ {{ number_format($data['totalFeeTaxAmount'], 2, ',', '.') }}€ {{$data['payout'] > 0 ? number_format($data['payout'], 2, ',', '.') : number_format(0, 2, ',', '.') }}€ {{ $data['payout_date'] ? \Carbon\Carbon::parse($data['payout_date'])->format('d.m.Y') : '' }}
Total - - - -
@endsection