@extends('sanafworld.layouts.master') @section('title', 'Platform Control') @section('content')
Developer Platform Controls
Only IT Square BD developers — not visible in store admin.
@csrf
Store frontend maintenance (future hook)
Flag for suspended store access
Adds days to current expiry date
@foreach([ ['order_limit', 'Orders/mo', $storeSub['order_limit'] ?? 0], ['product_limit', 'Products', $storeSub['product_limit'] ?? 0], ['staff_limit', 'Staff', $storeSub['staff_limit'] ?? 0], ['landing_limit', 'Landing Pages', $storeSub['landing_limit'] ?? 0], ] as [$field, $label, $current])
@endforeach
Current Store Subscription
Plan{{ $storeSub['plan_name'] ?? '—' }}
Status{{ strtoupper($storeSub['status'] ?? 'active') }}
Expires{{ $storeSub['expires_at'] ?? '—' }}
@if(!is_null($daysLeft))
Days left{{ max(0, $daysLeft) }}
@endif
@endsection