@extends('layouts.backend') @section('mainContentArea')

{{ !empty($campaign->id) ? 'Edit' : 'Add' }} Campaign Back

@csrf
Assign Conditions
Wallet Aging (Days)
Repeat Frequency (Days)
Minimum Wallet Amount (Rs.)
Last Shopping (Days)
Achieved Milestones (Rs.)
MRP Range
Bill Amount
Buying Frequency (per month)
Days Range
Discounts Availed
Happy Hours Availed
Articles
Sections
Location
Add Variable
Gift amount
Validity Days
festivale
festivale Discount
Specific Customer Filters / Actions
@php $specificKey = empty($campaign->specific) ? 'none' : $campaign->specific; @endphp @foreach([ 'none' => 'None', 'bday_wish' => 'Birthday Wish', 'bday_offer' => 'Birthday Offer', 'ann_wish' => 'Anniversary Wish', 'ann_offer' => 'Anniversary Offer', 'expiry_and_voucher_balance' => 'Expiry and Voucher Balance', 'complete_profile' => 'Complete the profile', 'renewal' => 'Renew Membership', 'sps_to_nonsps' => 'Offer SPS to NON SPS', ] as $sKey => $sVal) @endforeach
Send To
@foreach(['SPS-1500' => 'SPS 1500 Members', 'SPS-750' => 'SPS 750 Members', 'SPS-499-15' => 'SPS 499 (15%) Members', 'SPS-499-10' => 'SPS 499 (10%) Members', 'NONSPS' => 'Non SPS Members' ] as $sKey => $sVal) @endforeach
sendto) && in_array($sKey, json_decode($campaign->sendto, true))) {{ 'checked' }} @endif name="sendto[]" value="{{ $sKey }}">
Send Via
@foreach(['SMS' => 'SMS', 'WAPP' => 'WhatsApp' ] as $sKey => $sVal) @endforeach
sendvia) && in_array($sKey, json_decode($campaign->sendvia, true))) {{ 'checked' }} @endif name="sendvia[]" value="{{ $sKey }}">
  Cancel
@endsection @section('extraJs') @endsection