@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')
@foreach(\App\Models\Charge::unprocessed()->with(['account.user','service'])->get() as $o) @endforeach
ID Date Created Date Charge Account Service Description Total
{{ $o->id }} {{ $o->charge_date->format('Y-m-d') }} {{ $o->date_orig->format('Y-m-d') }} {{ $o->account->name }} {{ $o->service->name_short }} {{ $o->description }} {{ number_format($o->quantity*$o->amount,2) }}
@endsection @section('page-scripts') @css(datatables,bootstrap4) @js(datatables,bootstrap4) @append