@extends('layouts.admin') @section('content') @include('include.datatable-css')
{{-- Filters HTML --}}
@if (isVendor()) @include('include.create-button', ['url' => route('add-payment-method')]) @endif @include('include.refresh-button')
{{-- Filters HTML End --}}
@foreach ($data as $record) @endforeach
Name Code Status Created By Created On Action
{{ $record->name }} @switch($record->code) @case('STR') CARD @break @case('COD') CASH ON DELIVERY @break @case('INT') INTRAC @break @default @endswitch @if ($record->active == '1') Active @else Active @endif {{ $record->creator->accountId }} {{ $record->created_at }}
@if (is_countable($data)) @foreach ($data as $paymentMethod) @endforeach @endif @include('include.datatable') @include('include.filters-common-js-part') @include('include.datatable-date-range-selector-js', ['url' => 'payment-methods']) {{-- Page specific JS --}} @endsection