@extends('layouts.app') @php use App\Models\Permission; use App\Support\Format; use App\Support\ProcedureProgress; $canManage = auth()->user()->hasPermission(Permission::MORA_MANAGE); @endphp @section('title', 'Monthly rental advice') @section('heading', 'Monthly rental advice (MORA)') @section('subheading', 'Clause 9.0 โ what every outlet pays, month by month') @section('content') @if ($canManage)
| Month | Reference | Outlets | Total (RM) | Where it stands | |
|---|---|---|---|---|---|
| {{ $advice->period_label }} | {{ $advice->reference ?: 'โ' }} | {{ number_format($advice->outlet_count) }} | {{ Format::money($advice->total_amount) }} |
@if ($progress['complete'])
Paid out
@elseif ($progress['overdue'] > 0)
{{ $progress['overdue'] }} overdue
@else
{{ $progress['done'] }} of {{ $progress['total'] }} signed
@endif
@if ($progress['next'])
{{ $progress['next']['owner_label'] }}
ยท clause {{ $progress['next']['clause'] }}
@endif
|