@if (globalPermission('restrict_bill_cycle_calendar_to_env_days')) @endif
@csrf
@unlessrole('Sub Reseller') @endunlessrole @forelse ($r as $row) @unlessrole('Sub Reseller') @endunlessrole @empty @endforelse
ID User name Expire Date Bill Cycle Package Sub Package Contact No
{{ $row->id }} {{ $row->userid }} {{ date('d-M-Y', strtotime($row->expire_date)) }} {{ $row->billing_cycle }} {{ $row->packages->package_name }} @if ($row->subpack) {{ $row->subpack->name }} @endif {{ $row->clientsinfo->contact_no ?? '' }}
No records found
{{-- Action controls live OUTSIDE .table-responsive so the calendar dropdown isn't clipped by the table's overflow. --}} @if (!empty($packages))
@can('batch-package-change-without-cost')
@endcan
@if ($row->pop->subreseller == 'yes') @else @endif
@else
@can('change-billing-cycle-without-cost')
@endcan
@if (globalPermission('restrict_bill_cycle_calendar_to_env_days')) {{-- Restricted mode: use Tempus Dominus so non-configured days are disabled (greyed) and the allowed BILLING_CYCLE days are highlighted in the calendar. --}}
Allowed days: {{ $confday ?? config('app.billing_cycle') }} @else @endif
@endif
Selected: 0 {{-- A sub reseller must not see the reseller cost, so the badge is not even rendered for them and the endpoint leaves the amount out of the response. --}} @if (!auth()->user()->hasRole(['Sub Reseller', 'Sub Reseller Technician'])) @endif