@extends('backend/include/layout') @section('title') Liste des paiements || {{env('APP_NAME')}} @endsection @section('fil-arial')

Liste des paiements

@endsection @section('contenu')
@if ($errors->any())
Error!
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if (auth()->user()->getRole->libelle == 'ADMIN')
@endif @csrf {{-- --}} {{-- cellule de suppression en masse pour admin --}} @if (auth()->user()->getRole->libelle == 'ADMIN') @endif @php $i = 1; @endphp @foreach ($paiements as $detail) @php $incription = App\Models\Inscriptions::where('id', $detail->inscription_id)->first(); $id_decrypt = Illuminate\Support\Facades\Crypt::encrypt($detail->id); @endphp {{-- --}} {{-- cellule de suppression en masse pour admin --}} @if (auth()->user()->getRole->libelle == 'ADMIN') @endif @endforeach
# Nom et Prénom(s)TélephoneEmail Montant Numero transaction Rubriques Date Statut Action
{{ $i++ }} {{ $detail->nom }}  {{ $detail->prenoms }}{{$incription->telephone}}{{ $detail->email }} {{ number_format($detail->montant_total, 0, ',', '.') }} F {{ $detail->num_transaction }} @if ($detail->getInscription->role_id) {{ $detail->getInscription->getRole->libelle }} - @endif @foreach (getDetail($detail->id) as $data) @if ($loop->last) {{ $data->getRubriquetarif->getTyperubrique->libelle }} @else {{ $data->getRubriquetarif->getTyperubrique->libelle }}, @endif @endforeach {{ $detail->created_at }} {{ $detail->getStatut_paiement->libelle }} @if ($detail->getStatut_paiement->id != 3)
@endif
{{-- Bouton valider paiement pour ADMIN --}} @if (auth()->user()->getRole->libelle == 'ADMIN') @endif @if ($detail->getStatut_paiement->libelle == 'PAYE') {{-- Export facture --}} {{-- Renvoi e-mail de facture --}} @else @if ($detail->montant_total > 0) {{-- lien de paiement --}} {{-- Renvoi e-mail de proforma --}} @if (auth()->user()->getRole->libelle == 'ADMIN') @endif @else @if (auth()->user()->getRole->libelle == 'GESTIONNAIRE') @endif @endif @endif
@endsection @section('script-js') @endsection