@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'General Cashier') @section('css') @endsection @section('content')
@php $filter_date = isset($_GET['payment_date_filter']) ? $_GET['payment_date_filter'] : ''; @endphp
@if($cashes && (count($cashes) > 0)) @php $total_general_cashier = 0; @endphp @foreach($cashes as $cash) @php $amount = $cash->amount * $cash->type; $total_general_cashier += $amount @endphp @endforeach @else @endif
Date Department Type Account Name Amount Note
{{ date('d-m-Y', strtotime($cash->transaction_date)) }} {{ $cash->department->name }} {{ config('custom.general_cash_type')[$cash->type] }} {{ $cash->coa->description }} {{ $cash->cash_name }} {{ ribuanWithComma($amount) }} {{ $cash->note }}
Total {{ ribuanWithComma($total_general_cashier) }}
No Data
@endsection @section('js') @endsection