@extends('dashboard.layouts.app') @section('title', __('dashboard.Payment Methods')) @section('page_heading', __('dashboard.Payment Methods')) @section('breadcrumb') @endsection @section('actions') {{ __('dashboard.Add New Payment Method') }} @endsection @section('content')

{{ __('dashboard.Payment Methods') }} {{ $paymentMethods->count() }} {{ trans_choice('dashboard.Payment Method', $paymentMethods->count()) }}

@if($paymentMethods->count() > 0)
@foreach ($paymentMethods as $paymentMethod) @endforeach
{{ __('dashboard.ID') }} {{ __('dashboard.Name') }} {{ __('dashboard.Code') }} {{ __('dashboard.Logo') }} {{ __('dashboard.Payment Type') }} {{ __('dashboard.Active') }} {{ __('dashboard.Actions') }}
{{ $paymentMethod->id }} {{ $paymentMethod->name }} {{ $paymentMethod->code }} @if($paymentMethod->logo) {{ $paymentMethod->name }} @else {{ __('dashboard.N/A') }} @endif @if($paymentMethod->payment_type == 'cash') {{ __('dashboard.Cash') }} @elseif($paymentMethod->payment_type == 'installment') {{ __('dashboard.Installment') }} @elseif($paymentMethod->payment_type == 'both') {{ __('dashboard.Cash & Installment') }} @endif {{ $paymentMethod->is_active ? __('dashboard.Active') : __('dashboard.Inactive') }}
@csrf @method('DELETE')
@else
{{ __('dashboard.No payment methods found.') }}
@endif
@endsection @section('scripts') @endsection