@extends('layouts.admin') @section('title') @lang('Edit Gateway : '.$paymentgateway->name) @endsection @section('breadcrumb')

@lang('Edit Gateway : '.$paymentgateway->name)

@lang('Back')
@endsection @section('content')
{{ __('Edit Gateway') }}
@csrf @include('admin.partials.form-both') @if($paymentgateway->type == 'automatic')
@if($paymentgateway->information != null) @foreach($paymentgateway->convertAutoData() as $pkey => $pdata) @if($pkey != 'sandbox_check')
@endif @endforeach @foreach($paymentgateway->convertAutoData() as $pkey => $pdata) @if ($pkey == 'sandbox_check')
@endif @endforeach

@php $setCurrency = $paymentgateway->currency_id; if($setCurrency == 0){ $setCurrency = []; } @endphp @foreach(DB::table('currencies')->get() as $dcurr) id,$setCurrency) ? 'checked' : ''}} type="checkbox" id="currency_id{{$dcurr->id}}" value="{{$dcurr->id}}"> @endforeach @endif @else
{{$gs->curr_code}}
%

@php $setCurrency = $paymentgateway->currency_id; if($setCurrency == 0){ $setCurrency = []; } @endphp
@foreach(DB::table('currencies')->get() as $dcurr) id,$setCurrency) ? 'checked' : ''}} type="checkbox" id="currency_id{{$dcurr->id}}" value="{{$dcurr->id}}"> @endforeach
@endif
@endsection