Jl M. H. Thamrin, No. 9
221-691-6080
For {{ isset($_GET['month']) && isset($_GET['year']) ? 'transactions in '.strftime('%B', mktime(0, 0, 0, $_GET['month'], 1)).' '.$_GET["year"] : (isset($_GET['month']) ? 'transactions in '.strftime('%B', mktime(0, 0, 0, $_GET['month'], 1)) : (isset($_GET['year']) ? 'transactions in '.$_GET["year"] : (isset($_GET["data"]) && $_GET["data"] == 'all' ? 'all transactions' : (isset($_GET["data"]) && $_GET["data"] == 'today' ? 'transactions today' : (isset($_GET["data"]) && $_GET["data"] == 'thisMonth' ? 'transactions this month' : 'bau' ))))) }}
| Transaction date | Product | No Table | Total | @can('manager')Payment | Profit | @endcan||||
|---|---|---|---|---|---|---|---|---|---|
| {{ $item->created_at->format('d M Y') }} | @can('manager')@foreach ($item->transaction_details as $el) {{ $el->menu->name.',' }} @endforeach | @endcan @can('cashier')@foreach ($item->transaction_details as $el) {{ $el->menu->name.',' }} @endforeach | @endcan{{ $item->no_table }} | Rp. {{ number_format($item->total_transaction, 0, ',', '.') }} | @can('manager')Rp. {{ number_format($item->total_payment, 0, ',', '.') }} | Rp. {{ number_format($profit_items, 0, ',', '.') }} | @endcan|||
| Total revenue | Rp. {{ number_format($total_transaction, 0, ',', '.') }} | @endcan @can('cashier')Total Transaction's | Rp. {{ number_format($total_transaction, 0, ',', '.') }} | @endcan||||||
| Total profit | Rp. {{ number_format($total_profit, 0, ',', '.') }} | @endcan||||||||