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

Loyalty Programme

@if (isset($errors) && count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Programme Status
ENABLE_LOYALTY) checked @endif>
Channel Scope
Minimum Points For Cashback
Branch Scope
Existing User Paid Orders Lookback In Days
Exclude Existing Users Without Loyalty Enrollment
EXCLUDE_UNENROLLED_EXISTING_USERS_FROM_LOYALTY ?? 0) checked @endif>
Selected Branches
New User Points
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 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->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
@foreach($events as $event) @endforeach
Event Arabic Tier Points Dates Status
{{$event->NAME_EN}} {{$event->NAME_AR}} {{$event->tier->NAME_EN ?? ''}} {{$event->POINT_AMOUNT}} {{$event->DATE_FROM}} - {{$event->DATE_TO}} {{$event->ACTIVE_STATUS ? 'Active' : 'Inactive'}}
@endsection @section('warehouse_scripts') @include('operations.loyalty.script.index') @endsection