@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
{{__('obs.cashier_accept_list')}}
@error('start_date') {{ $message }} @enderror
@error('end_date') {{ $message }} @enderror
@error('receive_date') {{ $message }} @enderror
@error('invoice_no') {{ $message }} @enderror
{{--
--}}
{{--
--}} {{-- @csrf --}}
{{-- --}} {{-- --}} @php $p = 0; $i = 0; $total_amount = 0; $total_refund = 0; $transfered_amount = 0; $transferable_amount = 0; @endphp @foreach ($accept_lists as $list) @php $p++ ; $i=$list['details_id']; // $total_amount +=$list['amount']; // $total_refund +=$list['refund']; // $transfered_amount += $list['transfered_amount']; $transferable_amount += $list['amount']; if($list['voucher_type']==5){ $total_refund += $list['amount']; }else{ $total_amount += $list['amount']; } @endphp {{-- --}} @endforeach @if($transferable_amount>0) @endif
{{__('obs.sl')}} {{__('obs.reference')}} {{__('obs.invoice_no')}} {{__('obs.check_in')}}/{{__('obs.resv')}} {{__('obs.no')}} {{__('obs.cashier')}} {{__('obs.sender')}} {{__('obs.date')}} {{__('obs.party')}} {{__('obs.name')}} {{__('obs.amount')}} {{__('obs.type')}}{{__('obs.transfered_amount')}} {{__('obs.transferable_amount')}}{{ __('obs.check_box') }}  {{__('obs.action')}}
{{ $p }} {{$list['voucher_id']}} {{$list['invoice_no']}} {{$list['reservation_no']}}{{$list['hotel']}}{{user_name($list['cashier_id'])}} {{ $list['sender_name']}} {{ date("d-m-Y",strtotime($list['date'])) }} {{ $list['agent_name'] }} {{$list['amount']}} {{get_voucher_type($list['voucher_type'])}} @if((Request()->status==1) || (Request()->pre==1))   @endif
{{__('obs.total')}} {{($total_amount)}} {{__('obs.refund')}} {{($total_refund)}} {{__('obs.net')}} {{($total_amount-$total_refund)}}
{{__('obs.voucher')}} {{__('obs.type')}}
{{-- @if((Request()->pre==1)) --}} {{__('obs.date')}}
{{-- @else @endif --}}
{{__('obs.total')}} {{__('obs.received')}}
{{__('obs.total')}} {{__('obs.payment')}} ({{__('obs.refund')}})
{{--
--}}
@include('admin.global.loader') @endsection @section('script') @endsection