@extends('layouts.student') @section('content')
@if (auth()->user()->type == 0) Free @endif @if (auth()->user()->type == 1) Premium @endif
@if (session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
@if (auth()->user()->profile_picture) Profile Picture @endif
@error('profile_picture') {{ $message }} @enderror
@error('name') {{ $message }} @enderror
Student Information

@error('student_name') {{ $message }} @enderror
@error('guardian') {{ $message }} @enderror
@error('school') {{ $message }} @enderror
@error('grade_id') {{ $message }} @enderror
@error('contact') {{ $message }} @enderror
@error('address') {{ $message }} @enderror
@error('city') {{ $message }} @enderror
@error('country') {{ $message }} @enderror
Subscriptions @if (auth()->user()->type == 0) Free @endif @if (auth()->user()->type == 1) Premium @endif
@foreach (auth()->user()->subscriptions as $subscription) @endforeach
#. Name Email Contact Address Plan Gateway Amount Proof Date Payment status
{{ $loop->iteration }} {{ $subscription->name }} {{ $subscription->email }} {{ $subscription->contact }} {{ $subscription->address }} {{ $subscription->plan->name }} {{ $subscription->payment_type }} {{ $subscription->plan_price }} {{ $subscription->currency }} File {{ $subscription->created_at }} @if ($subscription->status == 1) @elseif($subscription->status == 0) @else Expired or Cancelled @endif @if ($subscription->status == 1) Cancel @endif
@endsection