@extends('layouts.master') @section('title',__('Change Subscription')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif
{{ __('Back') }}
{{__('Change Subscription')}}
{!! Form::open(['method' => 'POST', 'action' => 'UsersController@change_subscription', 'files' => true]) !!}
{{__('User Name')}}: {{$user->name}}
@php if (isset($plans)) { $planname='not exist'; if (isset($last_payment->plan->name) && !is_null($last_payment)){ $planname=$last_payment->plan->name; }else{ if (isset($user_stripe_plan) && !is_null($user_stripe_plan)) { $planname=$user_stripe_plan->name; } } }else{ $planname='not exist'; } @endphp
{{__('Last Subscription Plan')}}: {{$planname}}
{!! Form::label('plan',__('Select A Plan')) !!}

- {{__('Please Select Plan ForUser')}}

{!! Form::select('plan_id', $plan_list, null, ['class' => 'form-control select2', 'required' => 'required', 'autofocus']) !!} {{ $errors->first('plan') }}
{!! Form::close() !!}
@endsection @section('script') @endsection