@extends('admin.layouts.app') @section('panel')
@lang('Brand') @lang('Denomination Type') @lang('Recipient Amount') @lang('Sender Amount') @lang('Exchange Rate') @php $counter = 0; @endphp @foreach ($apiProducts as $item) @php $item = (object) $item; $exists = in_array($item->productId, $existingProductIds ?? []); @endphp @if (!$exists) @php $counter++; @endphp {{ $item->brand['brandName'] ?? '-' }} {{ ucfirst($item->denominationType ?? '-') }} @if ((strtoupper($item->denominationType) ?? '') == 'RANGE') {{ getAmount($item->minRecipientDenomination) }} - {{ getAmount($item->maxRecipientDenomination) }} {{ $item->recipientCurrencyCode }} @else @forelse (@$item->fixedRecipientDenominations ?? [] as $fix) {{ getAmount($fix) }} {{ $item->recipientCurrencyCode }} @if (!$loop->last) , @endif @empty @lang('N/A') @endforelse @endif @if ((strtoupper($item->denominationType) ?? '') == 'RANGE') {{ getAmount($item->minSenderDenomination) }} - {{ getAmount($item->maxSenderDenomination) }} {{ $item->senderCurrencyCode }} @else @forelse (@$item->fixedSenderDenominations ?? [] as $fix) {{ getAmount($fix) }} {{ $item->senderCurrencyCode }} @if (!$loop->last) , @endif @empty @lang('N/A') @endforelse @endif 1 {{ $item->recipientCurrencyCode }} = {{ getAmount($item->recipientCurrencyToSenderCurrencyExchangeRate) }} {{ $item->senderCurrencyCode }} @endif @endforeach @if ($counter == 0) @endif
@endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush