@extends('layouts.staff-new') @section('content')

Collection Logs

Gives you collections due within specified period

@if($logs)

Log Data

@forelse($logs as $log) @empty @endforelse
Due Date Status Card Tries Loan Borrower Actions
{{ $log->payday}} @if($log->status) Paid
{{$log->date_paid}}
@else @if(now()->gte($log->payday)) Due {{ now()->diffInDays($log->payday) }} @else Not Due @endif @if($log->order_issued) DDM Issued @endif @endif
{{ $log->card_tries ?? 0 }} Card {{ str_plural('try', $log->card_tries ?? 0) }} @if($log->status) @else @if(now()->gte($log->payday)) @if(!$log->order_issued)
{{ csrf_field() }}
@endif
{{ csrf_field() }}
@else @endif @endif
No Data
@endif
@endsection @section('page-js') @if($logs) @endif @endsection