| # |
@lang('common.title') |
@lang('teacherstaff.type') |
@lang('common.action') |
@if ($data)
@foreach ($data as $v)
| {{$i++}} |
@if($lang == 'en')
{{ $v->title ?: $v->title_bn}}
@else
{{$v->title_bn ?: $v->title}}
@endif
|
@if ($v->type == 1)
{{ 'Income' }}
@else
{{ 'Expense' }}
@endif
|
|
@endforeach
@endif
@php
use App\Models\income_expense;
$deleted = income_expense::onlyTrashed()->get();
$i = 1;
@endphp
| # |
@lang('common.title') |
@lang('teacherstaff.type') |
@lang('common.action') |
@if($deleted)
@foreach ($deleted as $v)
| {{$i++}} |
@if($lang == 'en')
{{ $v->title ?: $v->title_bn}}
@else
{{$v->title_bn ?: $v->title}}
@endif
|
@if ($v->type == 1)
{{ 'Income' }}
@else
{{ 'Expense' }}
@endif
|
@lang('common.restore')
@lang('common.deleted_permanently')
|
@endforeach
@endif
@endsection
@push('footer_scripts')
@include('components.delete_script')
@endpush