@extends('layouts.app') @section('title', 'Dashboard') @section('content')
| Item | Qty | Amount |
|---|---|---|
| {{ $item->name }} | {{ number_format($item->total_qty, 0) }} | ৳{{ number_format($item->total_amount, 2) }} |
No sales data this month
| Invoice | Customer | Amount | Status |
|---|---|---|---|
|
{{ $inv->number }}
{{ $inv->date->format('d M Y') }}
|
{{ $inv->customer->name }} | ৳{{ number_format($inv->total, 2) }} | @php $statusMap = [ 'draft'=>'secondary','submitted'=>'info','partially_paid'=>'warning', 'paid'=>'success','overdue'=>'danger','cancelled'=>'secondary' ]; @endphp {{ ucfirst(str_replace('_',' ',$inv->status)) }} |
| No invoices yet | |||
| Item | Stock | Reorder | Action |
|---|---|---|---|
|
{{ $item->name }}
{{ $item->code }}
|
{{ number_format($item->getStockQty(), 2) }} {{ $item->unit }} | {{ $item->reorder_level }} {{ $item->unit }} | Order |
All items are adequately stocked