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

Monthly Deposit List

@endsection @section('content')
@can('project_create')
@endcan
{{ trans('cruds.monthlyDeposit.title_singular') }} {{ trans('global.list') }}
@php $increment=1; @endphp @foreach($deposits as $key =>$deposit) @endforeach
{{ trans('cruds.project.fields.id') }} {{ "Date" }} {{ "Amount (Tk)" }} {{ "Notes" }} {{ "Bank Account Name" }} {{ "Approval Status" }}  {{ "Actions" }}
{{$increment}} @php $increment++; @endphp {{ $deposit->date ?? '' }} {{ $deposit->amount ?? '' }} {{ $deposit->description ?? ''}} {{-- {{($deposit->bank_account_id ?? '')}}--}} {{($deposit->bank_account->account_title ?? '')}} @if($deposit->is_approved == 1) {{ "Approved" }} @elseif($deposit->is_approved == 0) {{ "Pending" }} @elseif($deposit->is_approved == 2) {{ "Rejected" }} @endif @can('enrole_monthly_deposit_access') {{ trans('global.view') }} @endcan @can('enrole_monthly_deposit_access') @if(!$deposit->is_approved == 1 || !$deposit->is_approved == 2) {{ trans('global.edit') }} @endif @endcan @can('enrole_monthly_deposit_access') @if(!$deposit->is_approved == 1 || !$deposit->is_approved == 2)
@endif @endcan
@endsection @section('scripts') @parent @endsection