@if(!empty($promo_codes) && count($promo_codes))
| # | {{ __('variables.promo_code') }} | {{ __('variables.promo_type') }} | {{ __('variables.discount') }} | {{ __('variables.promo_status') }} | {{ __('variables.expires_table') }} | Folosit | {{ __('variables.actions') }} |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $code->code }} | @if($code->usage_limit == 0) Unlimited @else @php $remaining = $code->usage_limit - $code->used_count; @endphp @if($remaining > 0) {{ $remaining }} încă disponibil @else Indisponibil @endif @endif | {{ $code->discount_percent}} | @if($code->is_active) {{ __('variables.active_table') }} @else {{ __('variables.inactive_table') }} @endif | {{ $code->expires_at ? \Carbon\Carbon::parse($code->expires_at)->format('Y.m.d') : '' }} | {{$code->paid_used_count }} | {{ __('variables.edit') }} @if($groupSubRelations->del_to_rec == 1) @endif |