@extends('admin.layouts.main') @section('title', $coupon->exists ? 'Edit Coupon' : 'Create Coupon') @section('menu', 'Coupons') @section('content')
@csrf @if($coupon->exists) @method('PUT') @endif
Coupon Details
@if ($errors->has('code')){{ $errors->first('code') }}@endif
{{-- Applicable IDs selector --}}
Max renewal periods with discount
Billing Cycle Restrictions

Leave all unchecked to apply to all billing cycles.

@foreach($billingCycles as $bc) @endforeach
Validity Period
Options
Discount also applies to renewal invoices
Publish
@endsection @push('scripts') @endpush