@section('page_name') List payments @stop @section('scripts') @stop @section('stylesheets') @stop @section('content')
Cash Register
€ 500 € 200 € 100 € 50 € 20 € 10 € 5 € 2 € 1 € 0,50 € 0,20 € 0,10 € 0,05 € 0,02 € 0,01
Count {{ $counts['n500'] }} {{ $counts['n200'] }} {{ $counts['n100'] }} {{ $counts['n50'] }} {{ $counts['n20'] }} {{ $counts['n10'] }} {{ $counts['n5'] }} {{ $counts['c200'] }} {{ $counts['c100'] }} {{ $counts['c50'] }} {{ $counts['c20'] }} {{ $counts['c10'] }} {{ $counts['c5'] }} {{ $counts['c2'] }} {{ $counts['c1'] }}
Total € {{ CommonFunctions::formatNumber($totals->n500) }} € {{ CommonFunctions::formatNumber($totals->n200) }} € {{ CommonFunctions::formatNumber($totals->n100) }} € {{ CommonFunctions::formatNumber($totals->n50) }} € {{ CommonFunctions::formatNumber($totals->n20) }} € {{ CommonFunctions::formatNumber($totals->n10) }} € {{ CommonFunctions::formatNumber($totals->n5) }} € {{ CommonFunctions::formatNumber($totals->c200) }} € {{ CommonFunctions::formatNumber($totals->c100) }} € {{ CommonFunctions::formatNumber($totals->c50) }} € {{ CommonFunctions::formatNumber($totals->c20) }} € {{ CommonFunctions::formatNumber($totals->c10) }} € {{ CommonFunctions::formatNumber($totals->c5) }} € {{ CommonFunctions::formatNumber($totals->c2) }} € {{ CommonFunctions::formatNumber($totals->c1) }}
Total in cash register: € {{ CommonFunctions::formatNumber($totals->n500 + $totals->n200 + $totals->n100 + $totals->n50 + $totals->n20 + $totals->n10 + $totals->n5 + $totals->c200 + $totals->c100 + $totals->c50 + $totals->c20 + $totals->c10 + $totals->c5 + $totals->c2 + $totals->c1) }}
Payments ordered by date (100 entries)
@foreach(Payment::orderBy('date', 'desc')->orderBy('id', 'desc')->take(100)->get() as $payment) @endforeach
Customer Date Payment Total Non-cash Notes
{{ $payment->getCustomer->getCustomerName() }} @if($payment->outToBank == 1) (Out to bank) @endif {{ CommonFunctions::formatDatetime($payment->date) }} {{ $payment->getPaymethod->type }} € {{ CommonFunctions::formatNumber($payment->getTotal()) }} € {{ CommonFunctions::formatNumber($payment->nonCash) }} {{ $payment->notes }}
@stop