@extends('adminlte::page')
@section('title', 'Subscription Cancel')
@section('content')
<div class="wizard row">
    <div class="col-md-12 pd-4">
      <div class="box ">
        <!-- title of the page and heading-->
        <div class="box-header with-border main-box">
          <i class="ion ion-clipboard"></i>
          <h3 class="box-title">Subscription Cancel</h3>
        </div> 
        <!--end title-->
        <!-- start body of the page--> 
        <!-- start box body --> 
        <div class="box-body">
          <div class="col-12">
            <form id="payment-form" action="#" method="POST">
              {!! csrf_field() !!}
              <div class="form-group ">
                  <div class="col-12">
                      @php
                        $pname = $plans->plan_name;
                      @endphp
                      @foreach($slugname_arr as $slugname)
                          @if($pname==$slugname)
                              @php
                                  $invoice_plan_name = $display_name_arr[$slugname];
                              @endphp
                          @endif
                      @endforeach
                      <span style="font-size: 18px;">
                          Your subscription for <span style="color: blue;"> {{$invoice_plan_name}} </span> Plan will be requested for cancellation on {{$plans->date_cancelled_at}}.

                          <br>

                          Your Subscription for <span style="color: blue;"> {{$invoice_plan_name}}</span> will be cancelled on {{$plans->date_cancel_at}}
                      
                      </span>
                  </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
</div>
@endsection 