@extends('admin.layouts.app') @section('panel')
@if (request()->routeIs('admin.utility.bill.all')) @include('admin.utility_bills.widget') @endif @lang('User') @lang('Company Name') @lang('Trx') | @lang('Time') @lang('Amount') | @lang('Charge') @lang('Total Amount') @if (request()->routeIs('admin.utility.bill.all')) @lang('Status') @endif @lang('Action') @forelse($bills as $bill)
{{ __(@$bill->company->name) }} {{ __(@$bill->company->category->formatted_name) }}
{{ $bill->trx }} {{ showDateTime($bill->created_at) }}
{{ showAmount($bill->amount) }} {{ showAmount($bill->charge) }}
{{ showAmount($bill->total) }} @if (request()->routeIs('admin.utility.bill.all')) @php echo $bill->statusBadge; @endphp @endif @empty @endforelse
@if ($bills->hasPages()) {{ paginateLinks($bills) }} @endif
@csrf

@lang('Reject Utility Bill Confirmation')

@csrf
@lang('Are you sure to reject this utility bill?')
@endsection @push('script') @endpush