@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
| {{ __('obs.opening') }} | {{ __('obs.received') }} | {{ __('obs.payment') }} | {{ __('obs.refund') }} | {{ __('obs.balance') }} |
|---|---|---|---|---|
| {{ $summary['opening_balance'] }} | {{ $summary['received'] }} | {{ $summary['handovered'] }} | {{ $summary['refund'] }} | {{ $summary['balance'] }} |
| {{ __('obs.hotel') }} | {{ __('obs.sender') }} | {{ __('obs.sent_to') }} | {{ __('obs.amount') }} | {{ __('obs.date') }} | {{ __('obs.action') }} |
|---|---|---|---|---|---|
| {{ $request_list->first()->warehouse_id ? get_warehouse_name($request_list->first()->warehouse_id) : null }} | {{ user_name($sender->cashier_id) }} | {{ user_name($sent_to->cashier_id) }} | {{ $request_list->sum('amount') }} | {{ carbon()->parse($request_list->first()->date)->format('d-m-Y h:m:i A') }} | {{ __('obs.details') }} || {{-- {{$request_list->first()->status == 2 ? "Accept" : null }} || --}} @if ($request_list->first()->type == 1) {{ __('obs.pending') }} || @else {{ __('obs.accept') }} {{-- {{$request_list->first()->status == 2 ? "Accept" :null }} || --}} @endif {{ __('obs.reject') }} |
| {{ __('obs.sender') }} | {{ __('obs.type') }} | {{ __('obs.amount') }} | {{ __('obs.date') }} | {{ __('obs.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') }} | {{ __('obs.accept') }} |