@extends('layouts.adminapp') @section('title') {{ __('lng.BankingReport') }} - {{ __('lng.Payments') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_banking_report', 'open') @section('active_banking_report', 'active') @section('content')
{{ $BankingRegister->member->house->place ?? '' }} {{ $BankingRegister->member->contact ?? '' }} {{ $BankingRegister->member->house->name ?? '' }}
@php $TotalTrance = $TotalWith = $Balance = 0; $TotalTrance = $BankingRegister ->BankingTransaction() ->where('isCancelled', false) ->orWhereNull('isCancelled') ->sum('amount'); $TotalWith = $BankingRegister ->BankingWithdraw() ->where('isCancelled', false) ->orWhereNull('isCancelled') ->sum('amount'); $Balance = $TotalTrance - $TotalWith; @endphp{{ __('lng.PayedAmount') }}
@currency($TotalTrance)
{{ __('lng.WithdrawAmount') }}
@currency($TotalWith)
@if ($Balance >= 0) {{ __('lng.Balance') }} @else {{ __('lng.Pending') }} @endif
@currency(abs($Balance))
{{ __('lng.SiNo') }} | {{ __('lng.Date') }} | {{ __('lng.PayAmount') }} |
---|---|---|
{{ ++$si }} | {{ $Date }} | @currency($BankingTransaction->amount) |
{{ __('lng.Total') }} | @currency($Total) |
{{ __('lng.SiNo') }} | {{ __('lng.Date') }} | {{ __('lng.PayAmount') }} |
---|---|---|
{{ ++$si }} | {{ $Date }} | @currency($BankingWithdraw->amount) |
{{ __('lng.Total') }} | @currency($WithdrawTotal) |