@use(App\Models\Charge) @extends('adminlte::layouts.app') @section('htmlheader_title') Unprocessed Charges @endsection @section('page_title') Unprocessed @endsection @section('contentheader_title') Unprocessed Charges @endsection @section('contentheader_description') @endsection @section('main-content')
@forelse(Charge::pending()->with(['account.user','service'])->get() as $o) @empty @endforelse
ID Date Created Date Charge Account Service Description Total
{{ $o->id }} {{ $o->charge_at->format('Y-m-d') }} {{ $o->created_at->format('Y-m-d') }} {{ $o->account->name }} {{ $o->service->name_short }} {{ $o->description }} {{ number_format($o->quantity*$o->amount,2) }}
Not charges unprocessed
@endsection @section('page-styles') @css(datatables,bootstrap4) @append @section('page-scripts') @js(datatables,bootstrap4) @append