@extends('layouts.admin-master') @section('title', 'Payment gateway list') @section('css-top') @endsection @section('css') @endsection @section('content')

Payment gateway List

@foreach($paymentgateways as $gateway) @endforeach
Logo Name Shipping Location Discount Method Info Method mode Status Action
{{$gateway->method_name}} @php $shipping_location = ($gateway->location_id) ? json_decode($gateway->location_id) : []; @endphp @if(in_array('all', $shipping_location)) All Location @endif @foreach(App\Models\City::whereIn('id', $shipping_location)->get() as $city) {{$city->name}} @endforeach {!! ($gateway->discount) ? $gateway->discount .'%
Max:'. $gateway->max_amount : 'N/A' !!}
{!! $gateway->method_info !!}
method_mode == 'live') ? 'checked' : ''}} data-on-color="success" data-off-color="warning" data-on-text="Live" data-off-text="Test">
status == 1) ? 'checked' : ''}} class="custom-control-input" id="status{{$gateway->id}}">
@if($gateway->is_default != 1) @endif
@include('admin.modal.delete-modal') @endsection @section('js') @endsection