@extends('backend.template.layouts.template-base') @section('title', 'Coupons | ' . config('app.name')) @section('content') Coupon History Marketing > Coupons > History WhatsApp Automation Create New Coupon {{-- Coupon WhatsApp automation settings (daily cron: coupons:send-whatsapp) --}} @csrf Coupon WhatsApp Automation Active coupons are sent automatically every day at 10:30 AM to customers matching the coupon's eligibility rule (first order / inactive / new install / all users). Each customer receives a given coupon only once. WappCloud Template Name * Approved Marketing template with an image header and 5 body variables: @{{1}} name, @{{2}} coupon code, @{{3}} discount, @{{4}} min order, @{{5}} expiry date. Header Image URL Must be publicly reachable. Never paste Meta-preview (scontent.whatsapp.net) links — they expire. Or Upload Header Image (JPG/PNG, max 5MB) Saved to our server and used instead of the URL above. Deploy to the live server if uploading from localhost. Total Coupons {{ number_format($stats['total_coupons']) }} Active Coupons {{ number_format($stats['active_coupons']) }} Total Usage {{ number_format($stats['total_usage']) }} Total Discount Given ₹{{ number_format($stats['total_discount_given'], 2) }} All {{ number_format($stats['all_coupons'] ?? 0) }} Active {{ number_format($stats['active_coupons'] ?? 0) }} Inactive {{ number_format($stats['inactive_coupons'] ?? 0) }} Scheduled {{ number_format($stats['scheduled_coupons'] ?? 0) }} Expired {{ number_format($stats['expired_coupons'] ?? 0) }} Cancelled {{ number_format($stats['cancelled_coupons'] ?? 0) }} All Discounts Percentage Fixed Free Delivery All Eligibility All Users First Order Referral Users Inactive Users New App Install Filter Export Show 30 @foreach([30, 60, 100, 200] as $n) {{ $n }} @endforeach entries Coupon Code Coupon Name Discount User Eligibility Usage / Limit Status Valid Period Created On Action 0-0 of 0 results 1 Coupon Usage History Users and orders where coupons were redeemed. User Coupon Order ID Order Amount Discount Amount Payment Method Location Used On Status 0-0 of 0 results 1 @endsection @section('scripts') @endsection
Marketing > Coupons > History
Total Coupons
Active Coupons
Total Usage
Total Discount Given
Users and orders where coupons were redeemed.