@extends('admin.layouts.master') @section('content')
@if (auth()->user()->role == 'superadmin')
Add Payment
@csrf
@error('card_number') {{ $message }} @enderror
@error('cardholder_name') {{ $message }} @enderror
@endif
Payment List
@if (auth()->user()->role == 'superadmin') @endif @foreach ($data as $item) @csrf @if (auth()->user()->role == 'superadmin') @endif @endforeach
Invoice ID Card Type Card Number Cardholder NameActions
{{ $item->id }} {{ $item->type }} {{ $item->account_number }} {{ $item->account_name }}
{{$data ->links()}}
@endsection