@extends('layouts.app') @section('title', 'Edit Coupon - Admin') @section('content')
Promotions

Modify Promo

Adjust configuration for #{{ $coupon->code }}.

Last Config: {{ $coupon->updated_at ? $coupon->updated_at->diffForHumans() : 'N/A' }}
@csrf @method('PUT')
Changing this will invalidate active cart sessions using the old code.
Minimum purchase required to activate.
Current usage: {{ $coupon->uses_count }}.
@php $expiry = $coupon->expiry_date instanceof \DateTime ? $coupon->expiry_date->format('Y-m-d') : $coupon->expiry_date; $expiryVal = old('expiry_date', \Carbon\Carbon::parse($expiry)->format('Y-m-d')); @endphp
Coupon Health
Performance Meter
{{ number_format($coupon->max_uses > 0 ? ($coupon->uses_count / $coupon->max_uses) * 100 : 0, 1) }}%

Utilization of global usage cap.

Deployment Stats
Total Uses {{ $coupon->uses_count }}
Est. Revenue Impact $1,240.00
Audit Note

All modifications to coupon thresholds are logged for financial audit purposes.

@endsection