@php use App\Components\Coupon\Enums\CouponTypeEnum; @endphp @php $route = ($action === 'update') ? route('admin.coupons.update', $coupon) : route('admin.coupons.store'); @endphp
@include('admin::pages.components.flash-messages') @csrf @if($action === 'update') @method('put') @else @method('post') @endif
Text code of the coupon
How many times the coupon can be used
Type of coupon
Discount value

Is this coupon active now?
Coupon can only be used by authorized users?
Can one person use coupon multiple times?
Can the coupon work with other discounts?

Is this coupon for individuals?
If you do not select any individual, then the coupons will work for everyone. If you choose - then only on selected. Write here a name/surname/email of the person

Is this coupon for legal entities?
If you do not select any legal entity, then the coupons will work for everyone. If you choose - then only on selected. Write here a name/email of the legal entity

Coupon start date
Coupon end date
Coupons will only apply to the selected products from the list above. If you choose - then only on selected. Write here a sku/code of the entity

    @include('admin::pages.components.categories-tree', ['categories' => $category->childrens])

    @include('admin::pages.components.manufactures-tree', ['manufactures' => $manufactures])
@push('script') @endpush