@extends('backend.master') @section('content')
Gateway Details
@php $p = $gw->logo_path; $isStored = $p && \Illuminate\Support\Facades\Storage::disk('public')->exists($p); $isUrl = $p && \Illuminate\Support\Str::startsWith($p,['http://','https://']); @endphp @if($isStored) @elseif($isUrl) @elseif($p)
{{ $p }}
@else No logo @endif
{{ $gw->name }}
Code: {{ $gw->code }} {{ $gw->is_active ? 'Active' : 'Inactive' }}

Min Limit
৳{{ number_format($gw->min_limit,2) }}
Max Limit
৳{{ number_format($gw->max_limit,2) }}
Flat Fee
৳{{ number_format($gw->flat_fee,2) }}
Percent Fee
{{ number_format($gw->percent_fee,2) }}%
Min Commission
৳{{ number_format($gw->min_commission,2) }}
Max Commission
৳{{ number_format($gw->max_commission,2) }}
Edit
@csrf @method('DELETE')
@endsection