@extends('agent.layouts.master')
@section('breadcrumb')
@include('agent.components.breadcrumb',['breadcrumbs' => [
[
'name' => __("Dashboard"),
'url' => setRoute("agent.dashboard"),
]
], 'active' => __($page_title)])
@endsection
@section('content')
@forelse ($recipients ?? [] as $item)
{{ $item->fullname }}
{{ __($item->method) ?? '' }}
{{ $item->fullname ?? '' }}
{{ $item->email ?? 'N/A'}}
{{ $item->city ?? 'N/A'}} ({{ $item->state ?? 'N/A' }})
{{ $item->phone ?? 'N/A' }}
@if ($item->method == global_const()::TRANSACTION_TYPE_BANK)
{{ $item->bank_name ?? '' }}
@endif
@if ($item->method == global_const()::TRANSACTION_TYPE_MOBILE)
{{ $item->mobile_name ?? '' }}
@endif
@if ($item->method == global_const()::TRANSACTION_TYPE_CASHPICKUP)
{{ $item->pickup_point ?? '' }}
@endif
@if ($item->method == global_const()::TRANSACTION_TYPE_BANK || $item->method == global_const()::TRANSACTION_TYPE_MOBILE)
{{ __("Account Number") }}
{{ $item->iban_number ?? $item->account_number }}
@endif
{{ __("Are you sure to delete this Recipient?") }}
@empty
{{ __("No Recipient Found!") }}
@endforelse
{{ get_paginate($recipients) }}
@endsection