@extends('layouts.dashboard') @section('title', 'Comptes de Paiement - Professeur Sciences Afrique') @section('page-title', 'Comptes de Paiement') @section('page-subtitle', 'Configurez vos méthodes de réception de fonds.') @section('content')

Ajouter un Compte

@csrf
@foreach(\App\Models\TeacherPayoutAccount::getProviders() as $key => $label) @endforeach

Vos Comptes

@if($accounts->count() > 0)
@foreach($accounts as $account)

{{ \App\Models\TeacherPayoutAccount::getProviders()[$account->provider] ?? $account->provider }}

@if(!$account->is_active) Inactif @else Actif @endif

{{ $account->label }}

@if($account->isMobileMoney())

{{ \App\Models\TeacherPayoutAccount::getOperators()[$account->momo_operator] ?? $account->momo_operator }}

@endif @if($account->isBankTransfer())
@if($account->bank_swift_code)

SWIFT: {{ $account->bank_swift_code }}

@endif @if($account->bank_iban)

IBAN: {{ $account->bank_iban }}

@endif @if($account->bank_country)

Pays: {{ $account->bank_country }}

@endif
@endif
@csrf @method('DELETE')
@endforeach
@else

Aucun compte configuré

Ajoutez votre première méthode de paiement pour recevoir vos gains.

PayPal — Pour les professeurs hors Afrique

Mobile Money — Vodacom, Orange, Airtel, MTN, M-Pesa

Virement Bancaire — Compte bancaire local ou international

@endif
@endsection