@extends('layouts.support_member') @section('breadcrumb') @endsection @section('content') {{-- ================= Merchant Info (VIEW ONLY) ================= --}}
{{ tr('merchant_access') }}
{{-- ================= Merchant Settings (VIEW ONLY) ================= --}} @if($merchant) @php $payout_countries = []; $bank_account_id = null; $enable_remitter_deposit = null; $setting = \App\Models\MerchantSetting::where('merchant_id', $merchant->id) ->where('key', 'payout_countries') ->first(); if ($setting) { $payout_countries = json_decode($setting->value, true) ?? []; } $bank_account_id = \App\Models\MerchantSetting::where('merchant_id', $merchant->id) ->where('key', 'bank_account_id') ->first()->value ?? null; $enable_remitter_deposit = \App\Models\MerchantSetting::where('merchant_id', $merchant->id) ->where('key', 'enable_remitter_deposit') ->first()->value ?? null; @endphp
{{ tr('merchant_settings') }}
@if($merchant->type == MERCHANT_TYPE_PAYOUT)
@endif
@if(count($payout_countries))
    @foreach ($supported_countries as $country) @if(in_array($country->id, $payout_countries))
  • {{ $country->country_code }} - {{ $country->currency }}
  • @endif @endforeach
@else

{{ tr('no_data_found') }}

@endif
@endif @endsection