@use(App\Models\Charge)
@include('theme.backend.adminlte.charge.widget.addedit',['o'=>NULL,'so'=>$o])
@forelse(Charge::where('service_id',$o->id)->active()->orderBy('charge_at','DESC')->with(['account'])->get() as $oo) @empty @endforelse
ID Created Charge Type Q Total Processed
{{ $oo->id }} {{ $oo->created_at->format('Y-m-d') }} {{ $oo->charge_at?->format('Y-m-d') }} {{ $oo->type_name }} {{ number_format($oo->quantity) }} {{ number_format($oo->total,2) }} {{ $oo->processed ? 'YES' : 'NO' }} @if(! $oo->processed) @endif
No Charges for this Service
@section('page-scripts') @append