@extends('backEnd.master') @section('title') @lang('accounts.payment_method') @endsection @section('mainContent')
@if(isset($payment_method)) @if(userPermission('payment_method_store')) @endif @endif

@if(isset($payment_method)) @lang('common.edit') @else @lang('common.add') @endif @lang('accounts.payment_method')

@if(isset($payment_method)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'payment_method_update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else @if(userPermission('payment_method_store')) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'payment_method_store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @endif
@if ($errors->has('method')) {{ @$errors->first('method') }} @endif
@php @$tooltip = ""; if(userPermission('payment_method_store')){ @$tooltip = ""; }else{ @$tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('accounts.payment_method_list')

@foreach($payment_methods as $payment_method) @if(moduleStatusCheck('RazorPay') == FALSE && $payment_method->method == "RazorPay") @else @endif @endforeach
@lang('accounts.method') @lang('common.action')
{{@$payment_method->method}}
@endsection @include('backEnd.partials.data_table_js')