@extends('operations.layout.mainlayout') @section('content')

Loyalty Programme

@if (isset($errors) && count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Programme controls

Programme status
ENABLE_LOYALTY) checked @endif>
Channel scope
Branch scope
Existing-user eligibility
EXCLUDE_UNENROLLED_EXISTING_USERS_FROM_LOYALTY ?? 0) checked @endif>
Cashback redemption rule
CASHBACK_REDEMPTION_BY_DATE ?? 0) checked @endif>
New User Points
Total Welcome Points Value (SAR)
Welcome Points Expiry In Days
Tier Configuration
Manage tier ranges, membership validity, and each tier point calculation.
@php $loyaltyService = new \App\Services\LoyaltyService(); @endphp @foreach($tiers as $tier) @php $tierLogoImageUrl = $loyaltyService->tierAssetUrl($tier->LOGO_IMAGE); $tierIconImageUrl = $loyaltyService->tierAssetUrl($tier->ICON_IMAGE); $tierBackgroundImageUrl = $loyaltyService->tierAssetUrl($tier->BACKGROUND_IMAGE); @endphp @endforeach
Tier Arabic Range Expiry Days Earn / 1 {!! $global_symbol['currency'] !!} Point Value Point Expiry Discount % Status Order Color Assets
{{$tier->NAME_EN}} {{$tier->NAME_AR}} {{$tier->POINT_FROM}} - {{$tier->POINT_TO === null ? 'Open' : $tier->POINT_TO}} {{$tier->MEMBERSHIP_EXPIRY_DAYS}} {{$tier->POINT_EARN_PER_AMOUNT === null ? $profile->POINT_EARN_PER_AMOUNT : $tier->POINT_EARN_PER_AMOUNT}} {{$tier->VALUE_OF_POINT === null ? $profile->VALUE_OF_POINT : $tier->VALUE_OF_POINT}} {{$tier->POINT_EXPIRY_DAYS === null ? $profile->POINT_EXPIRY_DAYS : $tier->POINT_EXPIRY_DAYS}} {{$tier->DISCOUNT_PERCENTAGE ?? 0}} {{$tier->ACTIVE_STATUS ? 'Active' : 'Inactive'}} {{$tier->DISPLAY_ORDER}} @if($tier->LOGO_IMAGE)Logo@endif @if($tier->ICON_IMAGE)Icon@endif @if($tier->BACKGROUND_IMAGE)Background@endif
Equivalent: 0 points
@foreach($events as $event) @endforeach
Event Arabic Tier Amount (SAR) Equivalent Points Dates Status
{{$event->NAME_EN}} {{$event->NAME_AR}} {{$event->tier->NAME_EN ?? ''}} {{$event->AMOUNT_SAR ?? '-'}} {{$event->POINT_AMOUNT}} {{$event->DATE_FROM}} - {{$event->DATE_TO}} {{$event->ACTIVE_STATUS ? 'Active' : 'Inactive'}}
Export CSV
Export
@endsection @section('warehouse_scripts') @include('operations.loyalty.script.index') @endsection