@extends('layouts.admin') @section('pageTitle',__lang('payment-methods')) @section('innerTitle',__lang('payment-methods')) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>__lang('payment-methods') ]]) @endsection @section('content')
{{ formElement($select)}}
@foreach($methods as $method) @php $gateway = \App\PaymentMethod::where('directory',$method)->first(); @endphp @endforeach
{{ __lang('name') }} {{ __lang('enabled') }} {{ __lang('installed-currencies') }} {{ __lang('supported-currencies') }} {{ __lang('sort-order') }}
{{ __(paymentInfo($method)['name']) }} @if($gateway) {{ boolToString($gateway->enabled) }} @else {{ __lang('no') }} @endif @if($gateway) @foreach($gateway->currencies as $currency) {{ strtoupper($currency->country->currency_code) }} @endforeach @endif
{{ __(paymentInfo($method)['currencies']) }}
@if($gateway) {{ $gateway->sort_order }} @endif
@endsection @section('footer') @endsection