@extends('layouts.app', ['header' => true, 'close_button' => true]) @section('back_button') @endsection @section('content') @include('include.card.card-header', ['plan' => $plan]) CARD DETAILS Card Number * {{-- --}} Expiration Date * CVV * {{-- --}} First name @error('first_name') {{ $message }} @enderror Last name @error('last_name') {{ $message }} @enderror Address @error('address') {{ $message }} @enderror Country Country {{-- --}} @error('country') {{ $message }} @enderror City @error('city') {{ $message }} @enderror @php use App\Models\State; $states = []; if ($user->user_details) { $states = State::where('country_id', $user->user_details->country)->get(); } @endphp State State @if ($user->user_details && $user->user_details->state) @foreach ($states as $state) id == $user->user_details->state) selected @endif> {{ $state->name }} @endforeach @endif {{-- --}} @error('state') {{ $message }} @enderror Zip code @error('zip_code') {{ $message }} @enderror @if(userCancelledPlan(auth()->user())) RE-ACTIVATE @else CHANGE PLAN @endif Loading... @endsection @push('scripts') @include('validations.js_card-detail', ['required' => false]) {{-- country state select js --}} @endpush