@section('page_name') List Direct Debit Jobs @stop @section('breadcrumbs') Direct Debits List @stop @section('content')
Job index
@foreach(DirectDebitJob::orderBy('date', 'desc')->get() as $job) @endforeach
Description Date created Completed Invoice count Total amount Download
{{ $job->description }} {{ date('d-m-Y', strtotime($job->date)) }} {{ ($job->completed == 1) ? '' : '' }} {{ DirectDebitDetail::where('job', '=', $job->id)->count() }} € {{ number_format($job->getTotal(), 2, ',', '.') }}
@stop