@extends('layouts.app')
@section('title','Reports')
@section('content')
Reports
@money($cash)
Money received
@money($expenses)
Expenses
@money($net)
Cash left (received - expenses)
@money($grossProfit)
Gross profit (sales - parts cost)
@money($sales)
Sales invoiced (before tax)
@money($partsCost)
Parts cost on those invoices
@money($gst)
GST collected on invoices
@money($pst)
PST collected on invoices
Daily takings
| Date | Payments | Amount |
@forelse($daily as $d)| {{ \Carbon\Carbon::parse($d->d)->format('D, M j') }} | {{ $d->n }} | @money($d->total) |
@empty| No payments in this period. |
@endforelse
By payment method
@forelse($byMethod as $m)- {{ $m->method }}@money($m->total)
@empty- None.
@endforelse
Technician workload
@forelse($byTech as $t)- {{ $t->technician->name ?? 'Unknown' }}{{ $t->jobs }} jobs · {{ $t->done }} delivered
@empty- No assigned jobs.
@endforelse
Jobs by device type
@forelse($byDevice as $d)- {{ $d->device_type }}{{ $d->n }}
@empty- No jobs.
@endforelse
Unpaid balances (all time)
| Invoice | Date | Customer | Phone | Balance |
@forelse($owing as $i)| {{ $i->invoice_no }} | {{ $i->issue_date->format('M j, Y') }} | {{ $i->customer->name }} | {{ $i->customer->phone }} | @money($i->balance()) |
@empty| Nobody owes money. |
@endforelse
@endsection