| Código | Tipo | Valor | Fecha Inicio | Fecha Final | Máximos Usos | Usados | Activo | Acción |
|---|---|---|---|---|---|---|---|---|
| {{ $discountCoupon->code }} | {{ $discountCoupon->type == 'percentage' ? 'Por Porcentaje' : 'Por Monto' }} | @if ($discountCoupon->type == 'percentage') {{ number_format($discountCoupon->value, 0, ',', '.') }}% @else ${{ number_format($discountCoupon->value, 0, ',', '.') }} @endif | {{ \Carbon\Carbon::parse($discountCoupon->start_date)->format('Y-m-d') }} | {{ \Carbon\Carbon::parse($discountCoupon->end_date)->format('Y-m-d') }} | @if ($discountCoupon->max_usage == 0) Sin límite @else {{ number_format($discountCoupon->max_usage, 0, ',', '.') }} @endif | {{ number_format($discountCoupon->used_count, 0, ',', '.') }} | {{ $discountCoupon->active ? 'Activada' : 'Desactivada' }} |