@extends('layouts.admin') @section('title', 'Gestion des Options de Cartes Cadeaux') @push('styles') @endpush @section('sub_header') @include('admin.partials.settings-tabs') @endsection @section('content')
Cartes Cadeaux
Imprimer @if($giftCardOptions->total() < 3) Nouvelle carte cadeau @else Nouvelle carte cadeau (Limite atteinte) @endif
@if(request('search')) Effacer @endif
@forelse($giftCardOptions as $option) @empty @endforelse
Montant Description Populaire Statut Actions
{{ number_format($option->amount, 0, ',', ' ') }} F {{ $option->description ? ucfirst($option->description) : '-' }} @if($option->is_popular) OUI @else Non @endif @if($option->is_active) Active @else Suspendue @endif
Modifier |
@csrf @method('DELETE')
Aucune option de carte cadeau disponible.
@if($giftCardOptions->total() > 0)
{{ $giftCardOptions->total() }} lignes
@if($giftCardOptions->onFirstPage()) Précédent @else Précédent @endif @foreach(range(1, $giftCardOptions->lastPage()) as $i) @if($i == $giftCardOptions->currentPage()) {{ $i }} @else {{ $i }} @endif @endforeach @if($giftCardOptions->hasMorePages()) Suivant @else Suivant @endif
@endif
@push('scripts') @endpush @endsection