@extends('admin.layout.master') @section('title','Colection Handover') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
User Collection Handover
{{ Form::open(['route' => ['restaurant.user_collection.handover'], 'method' => 'post', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data']) }}

Cash Collections

@php $total_c=0; $total_h=0; @endphp @forelse ($cash_banks->where('type','<>',2) as $k=>$cash_bank) @php $collections = $collection_group_by_ledger->where('cash_id',$cash_bank->id); $c_amount = $collection_group_by_ledger->where('cash_id',$cash_bank->id)->sum('cash_amount') ; $total_c+=($c_amount); @endphp {{-- --}} @empty @endforelse {{-- --}}
SL Payment Method Received Collection Total
{{$k+1}} {{$cash_bank->name_eng}}({{$cash_bank->account_id}}){{implode(",", $ids)}} {{$c_amount}}
Total {{$total_c}}
Hand Over To User
@error('user_id') {{ $message }} @enderror
Hand Over To Cashier
{{-- @dd($users->first()->cashier) --}} @error('user_id') {{ $message }} @enderror
{{ Form::textarea('note', null, ['class' => 'form-control', 'id' => 'note', 'rows' => 1, 'placeholder' => 'Remarks']) }} @error('note') {{ $message }} @enderror
{{ Form::close() }}
{{ Form::open(['route' => ['restaurant.bank_receive.transfer'], 'method' => 'post', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data']) }}

Bank Received

@php $total_c=0; @endphp @forelse ($cash_banks->where('type','=',2) as $k=>$cash_bank) @php $collections = $bank_collection_group_by_ledger->where('bank_id',$cash_bank->id); $c_amount = $bank_collection_group_by_ledger->where('bank_id',$cash_bank->id)->sum('bank_amount'); $total_c += $c_amount; @endphp {{-- --}} @empty @endforelse
SL Payment Method Received Total
{{$k+1}} {{$cash_bank->name_eng}}({{$cash_bank->account_id}}){{implode(",", $ids)}}{{$c_amount}}
Total {{$total_c}}
{{ Form::close() }}

Requested Handover List

@foreach ($pending_handover_list as $invoice=>$request_list ) @endforeach
Sender Amount Date Action
@if($request_list->first()->type ==1) @else {{user_name($request_list->first()->created_by)}} @endif {{$request_list->sum('amount')}} @if($request_list->first()->type ==1) Pending || @else {{$request_list->first()->status == 2 ? "Accept" :null }} || @endif Reject
@endsection @section('script') @endsection