@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
Cashier Handover
Reporting Date: {{ carbon()->parse()->format('d-m-Y') }}
{{-- --}} @if(!user_default_cash_id(active_user())) @endif
Oppening Received Payment Refund Balance
{{$opening_balance}} {{$received}} {{$payments}} {{$refund}} {{$balance}}
@if(!user_default_cash_id(active_user()))
@endif

Handover Request List Of Date: {{ carbon()->parse()->format('d-m-Y') }}

@foreach ($user_handover_list as $invoice=>$request_list ) @php $sender = App\Models\Frontdesk\FdInvoiceDetails::where('fd_invoice_id',$invoice)->where('type',1)->first(); @endphp @endforeach
Hotel Sender Amount Date Action
{{$request_list->first()->warehouse_id ? get_warehouse_name($request_list->first()->warehouse_id): null}} @if($request_list->first()->type ==1) @else {{user_name($request_list->first()->created_by)}} @endif {{$request_list->sum('amount')}} {{carbon()->parse($request_list->first()->date)->format("d-m-Y h:m:i A")}} Details || {{-- {{$request_list->first()->status == 2 ? "Accept" : null }} || --}} @if($request_list->first()->type ==1) Pending || @else Accept {{-- {{$request_list->first()->status == 2 ? "Accept" :null }} || --}} @endif {{"Reject"}}

Request List From Accounts

@foreach ($receive_from_accounts as $voucher=>$request_list ) @php $admin_id = $request_list->first()->voucher->created_by; $senderName = App\Models\Admin\Admin::where('id',$admin_id)->first()->name; @endphp @endforeach
Sender Type Amount Date Action
{{$senderName}} @if($request_list->first()->voucher->type ==1 ) {{ "Cash Payment"}} @elseif ($request_list->first()->voucher->type ==2) {{ "Bank Payment"}} @elseif ($request_list->first()->voucher->type ==3) {{ "Cash Receive"}} @else {{ "Bank Receive"}} @endif {{$request_list->sum('amount')}} {{carbon()->parse($request_list->first()->date)->format("d-m-Y h:m:i A")}} Accept
@endsection @section('script') @endsection