{{-- the seller's subscription bar on EVERY panel page (slice 12, پ۱۲-۱ and پ۱۲-۲, flow ک۲ «نوار اشتراک: رو به پایان · در مهلت · بسته و فقطخواندنی»). three states, and each one names the way on (+NO-DEAD-END): our support phone to renew, and — once it is closed — «خروجی داده», which is what still works. absent while the subscription is comfortably alive, and absent for a seller with no end date at all. the figures come from App\Subscriptions\Subscription, so this box and the console's row can never say different days. --}} @if ($subscription !== null && $subscription->warns()) @php $support = (string) config('mz.support_phone'); // slice 15ب (debt 79): a sentence, so the number carries its own left-to-right isolation (Display::phonePlain) $call = 'برای تمدید با پشتیبانی مظنه تماس بگیرید' . ($support !== '' ? ' (' . \App\Support\Display::phonePlain($support) . ')' : '') . '.'; $last = \App\Support\Display::date($subscription->lastDay()); @endphp @if ($subscription->closed())
اشتراک شما تمام شده است. معامله و ورود همکاران بسته است و این پنل فقطخواندنی است: میتوانید همهچیز را ببینید و خروجی بگیرید، ولی چیزی ثبت یا عوض نمیشود. دادههایتان سر جایشان است. {{ $call }}
اشتراک شما در پایان {{ $last }} تمام شد. {{ \App\Support\Display::number(max(0, (int) $subscription->graceDaysLeft())) }} روز مهلت دارید و تا آنوقت همهچیز کار میکند؛ پس از آن معامله و ورود همکاران بسته میشود و پنل فقطخواندنی میماند. {{ $call }}
@if ($support !== '') @endif@if ($subscription->daysLeft() === 1) امروز، {{ $last }}، آخرین روز اشتراک شماست؛ از فردا هفت روز مهلت دارید. @else اشتراک شما {{ \App\Support\Display::number(max(0, (int) $subscription->daysLeft())) }} روز دیگر تمام میشود؛ آخرین روزش {{ $last }} است. @endif {{ $call }}