@extends('admin.layouts.app') @section('panel')
@if (can('admin.plans.dps.edit') || can('admin.plans.dps.status')) @endif @forelse($plans as $plan) @if (can('admin.plans.dps.edit') || can('admin.plans.dps.status')) @endif @empty @endforelse
@lang('S.N.') @lang('Plan') @lang('Installment') @lang('After Mature') @lang('Status')@lang('Action')
{{ $loop->index + $plans->firstItem() }} {{ __($plan->name) }}
{{ getAmount($plan->interest_rate) }}% @lang('Interest rate')
{{ $general->cur_sym . showAmount($plan->per_installment) }}
@lang('Per') {{ $plan->installment_interval }} @lang('days') @lang('for') {{ $plan->total_installment }} @lang('times')
@php $profit = $plan->total_installment * $plan->per_installment - 100; @endphp {{ $general->cur_sym . showAmount($plan->final_amount) }}
@lang('After') {{ $plan->total_installment * $plan->installment_interval }} @lang('days')
@php echo $plan->statusBadge; @endphp @can('admin.plans.dps.edit') @lang('Edit') @endcan @can('admin.plans.dps.status') @if ($plan->status) @else @endif @endcan
{{ __($emptyMessage) }}
@if ($plans->hasPages()) @endif
@endsection @can('admin.plans.dps.add') @push('breadcrumb-plugins') @lang('Add Plan') @endpush @endcan