@php $pageName = "promotions"; $subpageName = "promotion-setup"; $activeTab = session('active_tab', '#solid-tab1'); session()->forget('active_tab'); @endphp @extends('layouts.app') @section('content')
@if(Session::has('message_success')) @endif
Promotion Settings
Add Promotion Type
@csrf
@error('name') {{ $message }} @enderror
List Promotion Types
@foreach ($promotionTypes as $list) @endforeach
# Name Status Action
{{ $loop->iteration }} {{ $list->name }} {{ $list->status }}
Add Promotion Class
@csrf
@error('name') {{ $message }} @enderror
List Promotion Classes
@foreach ($promotionClasses as $list) @endforeach
# Name Status Action
{{ $loop->iteration }} {{ $list->name }} {{ $list->status }}
Add Promotion
@csrf
@error('name') {{ $message }} @enderror
List Promotions
@foreach ($promotions as $list) @endforeach
# Name Grade Category Status Action
{{ $loop->iteration }} {{ $list->name }} {{ $list->gradeCategory->name ?? '' }} {{ $list->status }}
@endsection @section('scripts') @endsection