@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; use App\General\DiscountClass; $logged_in_user = Auth::user(); @endphp
# | Title | Variant | Usage | Discount | Start Date | End Date | Status | Used | Actions |
---|---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ $gift_card->title }} | @if ($gift_card->variant && $gift_card->variant == 'gift_card') Gift Card @elseif($gift_card->variant && $gift_card->variant == 'promotion') Promotion @elseif($gift_card->variant && $gift_card->variant == 'coupon') Coupon @endif | @if ($gift_card->usage && $gift_card->usage == 'one_time') One Time @elseif ($gift_card->usage && $gift_card->usage == 'multiple_times') Multiple Times @else One Time Per User @endif | {{ $gift_card->discount ?? 'N/A' }} | {{ $gift_card->start_date ?? 'N/A' }} | {{ $gift_card->end_date ?? 'N/A' }} | {{ ucwords($gift_card->status) }} | {{ $gift_card->total_used }} Times | @if ($gift_card->id) @endif |
# | Title | Variant | Usage | Discount | Start Date | End Date | Status | Used | Actions |