@extends('layouts/app') @section('content') @if(isset($get_payment_mode)) @php $form_action = "payment_mode.update" @endphp @else @php $form_action = "payment_mode.create" @endphp @endif

Payment Modes

Add Service
@csrf
@error('title')
{{ $message }}
@enderror
@error('status')
{{ $message }}
@enderror
Payment Mode List
@if($payment_mode) @foreach ($payment_mode as $payment) @endforeach @endif
Title Created Date Status Action
{{ $loop->iteration }} {{ $payment->title }} {{ \Carbon\Carbon::parse($payment->created_at)->format('d F Y h:i A') }}
status==1) ? 'checked' : '' }} onchange="ChangeStatus('payment_modes',{{ $payment->id }});" >
@csrf @method('DELETE')
@endsection