@extends('layouts.admin') @section('content-wrapper-header')

Monthly Deposit Details

@endsection {{--@section('content')--}} {{--
--}} {{-- --}} {{--
--}} {{-- @endsection--}} @section('content')

{{ "Information Detail" }}

{{ trans('cruds.user.fields.id') }} {{ $depositDetail->id ?? ''}}
{{ "Deposit Amount" }} {{ $depositDetail->amount ?? ''}}
{{ "Date" }} {{ $depositDetail->date ?? ''}}
{{ "Deposited By" }} @if($depositDetail->deposited_by) {{$depositDetail->depositedBy->name ?? ''}} @endif
{{"Bank Account Name"}} {{$depositDetail->bank_account->account_title ?? ''}}
{{"Bank Account Number"}} {{$depositDetail->bank_account->account_number ?? ''}}
{{"Approval Status"}} {{-- approved request--}} @if($depositDetail->is_approved == 1) {{ "Approved" }} {{-- Pending Request--}} @elseif($depositDetail->is_approved == 0) {{ "Pending" }} {{-- Rejected Request--}} @elseif($depositDetail->is_approved == 2) {{ "Rejected" }} @endif
@if($depositDetail->is_approved == 1) {{"Approved By"}} @elseif($depositDetail->is_approved == 2) {{"Rejected By"}} @endif @if(isset($approvedUser)) {{$approvedUser->name ?? ''}} @endif
{{-- if the approval status is pending then this button will appeared.--}} @if($depositDetail->is_approved == 0) {{-- Status for pending --}} @endif {{ trans('global.back_to_list') }} {{-- --}} {{-- {{ trans('global.back_to_list') }}--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}}
{{-- --}} {{-- {{ trans('global.back_to_list') }}--}} {{-- --}}

Deposit Slip Image

@if($depositDetail->deposit_image) @endif
Notes

{{ $depositDetail->description }}

@endsection