@extends('layouts.master') @section('title') @lang('translation.Subscription_Plans') @endsection @section('css') @endsection @section('content')

@lang('translation.Subscription_Plans')

{{-- @lang('translation.Add_Plan') --}}
{{-- Success Message --}} @if(session('success')) @endif {{-- Error Message --}} @if(session('error')) @endif @foreach ($plans as $key => $plan) @endforeach
@lang('translation.No') @lang('translation.Plan_Name') @lang('translation.Tenant_Type') @lang('translation.Price') @lang('translation.tax') @lang('translation.Duration') @lang('translation.Branches') @lang('translation.Outlets') @lang('translation.Status') @lang('translation.Action')
{{ $key + 1 }} {{ $plan->name }} @if($plan->description)
{{ Str::limit($plan->description, 50) }} @endif
{{ $plan->tenant_type }} ₹{{ number_format($plan->price, 2) }}
+ ₹{{ number_format($plan->price * ($plan->tax/100), 2) }} (GST)
{{ $plan->tax }} {{ $plan->duration_days }} days @if($plan->max_branches) {{ $plan->max_branches }} @else Unlimited @endif @if($plan->max_outlets) {{ $plan->max_outlets }} @else Unlimited @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
@if($plans->isEmpty())
No subscription plans found. Create one now
@endif
@endsection @section('scripts') @endsection