@extends('user.layouts.master') @section('breadcrumb') @include('user.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("user.dashboard"), ] ], 'active' => __("Recipients")]) @endsection @section('content')
+{{ __("Add New Recipient") }}
@csrf @forelse ($recipients as $item)

{{ $item->first_name }} {{ $item->middle_name ?? '' }} {{ $item->last_name }}

{{ __($item->method) ?? '' }}
@include('admin.components.link.edit-default',[ 'href' => setRoute('user.recipient.edit',$item->id), 'class' => "edit-modal-button", ])
{{ __("Name") }}
{{ $item->first_name ?? '' }} {{ $item->middle_name ?? '' }} {{ $item->last_name ?? '' }}
{{ __("Email") }}
{{ $item->email ?? 'N/A'}}
{{ __("Country") }}
{{ $item->country }}
{{ __("City & State") }}
{{ $item->city ?? 'N/A'}} ({{ $item->state ?? 'N/A' }})
{{ __("Phone") }}
{{ $item->phone ?? 'N/A' }}
{{ __("Method Name") }}
{{ $item->bank_name ?? ($item->mobile_name ?? $item->pickup_point) }}
@if ($item->method == global_const()::TRANSACTION_TYPE_BANK || $item->method == global_const()::TRANSACTION_TYPE_MOBILE)
{{ __("Account Number") }}
{{ $item->iban_number ?? $item->account_number }}
@endif
@empty
{{ __("No Recipient Found!") }}
@endforelse
{{ get_paginate($recipients) }}
@endsection @push('script') @endpush