@extends('layouts.admin') @section('title','Accounting Reports') @section('page-title','Accounting Reports') @section('content')
| Month | Income | Expenses | Profit / Loss | Margin |
|---|---|---|---|---|
| {{ $m['month'] }} | ₵{{ number_format($m['income'],2) }} | ₵{{ number_format($m['expenses'],2) }} | {{ $m['profit'] >= 0 ? '+' : '' }}₵{{ number_format($m['profit'],2) }} | {{ $margin }}% |
| TOTAL | ₵{{ number_format($totalInc,2) }} | ₵{{ number_format($totalExp,2) }} | ₵{{ number_format($totalProf,2) }} |
No expense data for {{ $year }}.
@endforelse