@extends('admin.layouts.app') @section('title', __('admin.affiliates.title')) @section('content')
| {{ __('common.table.client') }} | {{ __('admin.affiliates.visitors') }} | {{ __('common.table.type') }} | {{ __('common.table.rate') }} | {{ __('admin.affiliates.balance') }} | {{ __('admin.affiliates.withdrawn') }} | {{ __('common.table.actions') }} |
|---|---|---|---|---|---|---|
| {{ $aff->client?->first_name }} {{ $aff->client?->last_name }} | {{ number_format($aff->visitors) }} | {{ ucfirst($aff->pay_type) }} | {{ $aff->pay_type === 'percentage' ? $aff->pay_amount . '%' : '$' . number_format($aff->pay_amount, 2) }} | ${{ number_format($aff->balance, 2) }} | ${{ number_format($aff->withdrawn, 2) }} | {{ __('common.actions.view') }} |
| {{ __('admin.affiliates.no_affiliates') }} | ||||||