@extends('admin.layout.master') @section('title','Colection Handover') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
User Collection Handover
@csrf

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
@error('note') {{ $message }} @enderror
@csrf

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}}

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