@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
{{ formElement($select)}}
@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('name') }} {{ __lang('enabled') }} {{ __lang('installed-currencies') }} {{ __lang('supported-currencies') }} {{ __lang('sort-order') }}
{{ $row->payment_method }} {{ boolToString($row->status) }} @php if($row->is_global==1): @endphp {{ __lang('all-currencies') }} @php else: @endphp @php foreach(\App\PaymentMethod::find($row->payment_method_id)->paymentMethodCurrencies as $currency): @endphp {{$currency->currency->country->currency_code }}   @php endforeach; @endphp @php endif; @endphp {{ $row->currency }} {{ $row->sort_order }} {{ __lang('edit') }}
@php // add at the end of the file after the table echo paginationControl( // the paginator object $paginator, // the scrolling style 'sliding', // the partial to use to render the control null, // the route to link to when a user clicks a control link array( 'route' => 'admin/default', 'controller'=>'payment', 'action'=>'index', ) ); @endphp
@php // $this->headScript()->prependFile(basePath().'/client/vendor/list/list.min.js'); @endphp @endsection