@extends('panel.layout.settings', [ 'disable_tblr' => true, ]) @section('title', __('Conditional Discount')) @section('titlebar_actions', '') @section('settings')
@method('put') @csrf

@lang('Conditional Discounts')

@lang("Create, personalize, and manage a variety of conditional discount offers designed specifically for your users' needs and behaviors.")

@lang('Prices will be automatically updated for the relevant users.')
@foreach (\App\Extensions\DiscountManager\System\Enums\ConditionEnum::cases() as $case) @endforeach @foreach (\App\Extensions\DiscountManager\System\Enums\DiscountTypeEnum::cases() as $case) @endforeach @foreach (\App\Extensions\DiscountManager\System\Enums\DiscountTypeEnum::cases() as $case)
{!! $case->symbolIcon() !!}
@endforeach
@foreach (\App\Extensions\DiscountManager\System\Enums\DurationEnum::cases() as $case) @endforeach
@lang('Show Strikethrough Price')
@lang('Hide Discounts for Subscribed Users')
@php $userTypes = explode(',', $discount?->user_type); $paymentGateways = explode(',', $discount?->payment_gateway); $pricingPlans = explode(',', $discount?->pricing_plans); @endphp @foreach (\App\Extensions\DiscountManager\System\Enums\UserTypeEnum::cases() as $case) @endforeach @foreach ($gateways as $gateway) @endforeach @foreach ($plans as $plan) @endforeach
@lang('Allow once per user')
@lang('Active')
@lang('Schedule')
@lang('Discount will start immediately when activated and run indefinitely until usage limit is reached.')
@lang('Save Discount')
@endsection @push('script') @endpush