@extends('Dashboard.layouts.app') @section('search') @endsection @section('payment_index','active') @section('main_content')

Payment List

@include('Dashboard.Payment.create')
@forelse($payments as $i=>$payment) @empty @endforelse
ID Name Account Photo Action Created At
{{ ($payments->currentPage() - 1) * $payments->perPage() + $i + 1 }} {{ $payment->name }} {{ $payment->account }} @include('Dashboard.Payment.edit')
@csrf @method("DELETE")
{{ $payment->created_at->diffForHumans() }}
{{ $payments->appends(request()->all())->links() }}
@endsection @section('script') {!! JsValidator::formRequest('App\Http\Requests\StorePaymentRequest','#paymentStore') !!} @endsection