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