@extends('layouts.dash')
@section('title', $title)
@section('content')
<!-- Page title -->
<div class="page-title">
<div class="row justify-content-between align-items-center">
<div class="mb-3 col-md-6 mb-md-0">
<h5 class="mb-0 text-white h3 font-weight-400">Your {{ $plan->dplan->name }} Plan</h5>
</div>
</div>
</div>
<x-danger-alert />
<x-success-alert />
<div class="mt-3 row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div>
<div class="d-flex justify-content-between align-items-center">
<p>
<a href="{{ route('myplans', 'All') }}">
<i class="p-2 rounded-lg fal fa-arrow-circle-left fa-2x bg-light"></i>
</a>
</p>
</div>
<h2 class="text-black">
{{ $plan->dplan->name }} -
{{ $plan->dplan->increment_type == 'Fixed' ? $settings->currency : '' }}{{ $plan->dplan->increment_amount }}{{ $plan->dplan->increment_type == 'Percentage' ? '%' : '' }}
{{ $plan->dplan->increment_interval }}
for {{ $plan->dplan->expiration }}
</h2>
<div class="d-flex justify-content-between align-items-center">
<div>
@if ($plan->active == 'yes')
<span class="badge badge-success">Active</span>
@elseif($plan->active == 'expired')
<span class="badge badge-danger">Expired</span>
@else
<span class="badge badge-danger">Inactive</span>
@endif
</div>
@if ($settings->should_cancel_plan)
@if ($plan->active == 'yes')
<a href="#" class="px-3 btn btn-danger btn-sm" data-toggle="modal"
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX