@extends('layouts/layoutMaster') @section('title', __('locale.Coupons')) @section('vendor-style') @vite(['resources/assets/css/datatables.scss']) @endsection @section('vendor-script') @vite(['resources/assets/js/datatables.js']) @endsection @section('content')
{{ $coupon->start_date ? Carbon::parse($coupon->start_date)->format('d M Y') : '--' }} → {{ $coupon->end_date ? Carbon::parse($coupon->end_date)->format('d M Y') : '--' }}
| # | @if ($coupon->type == 'seller_base') {{ __('locale.Store') }} @else {{ __('locale.User') }} @endif | {{ __('locale.Min Buy') }} | {{ __('locale.Max Discount') }} |
|---|---|---|---|
| {{ $i }} | {{ $user?->name ?? 'N/A' }} | {{ $currency }}{{ $d['min_buy'] ?? '-' }} | {{ $currency }}{{ $d['max_discount'] ?? '-' }} |
| # | {{ __('locale.User') }} | {{ __('locale.Used On') }} | {{ __('locale.Discount Applied') }} |
|---|---|---|---|
| {{ $index + 1 }} | {{ $usage->user?->name ?? 'N/A' }} | {{ $usage->created_at->format('d M Y, h:i A') }} | {{ $currency }}{{ $usage->discount ?? 0 }} |