@extends('layouts.app') @section('content')
Bookings that do not match any slab-specific rule below will automatically use this default markup.
If a booking does not match any slab rule below, no markup will be applied and the base price will be used.
| # | Price Slab | Markup Type | Value | Status | Action |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | @php $sd = is_array($markup->slab_data) ? $markup->slab_data : null; @endphp @if($sd && !empty($sd['label'])) {{ $sd['label'] }} {{ number_format($sd['min_price'], 3) }} – {{ number_format($sd['max_price'], 3) }} @elseif($sd && isset($sd['min_price'])) {{ number_format($sd['min_price'], 0) }} – {{ number_format($sd['max_price'], 0) }} {{ number_format($sd['min_price'], 3) }} – {{ number_format($sd['max_price'], 3) }} @else — (slab not assigned) @endif | {{ ucfirst($markup->markup_type) }} | @if($markup->markup_type === 'percentage') {{ number_format($markup->markup_value, 2) }}% @else {{ number_format($markup->markup_value, 3) }} @endif | @if($markup->status === 'active') Active @else Inactive @endif |
{{-- Edit Button --}}
{{-- Delete Button --}}
|
No markup rules added yet.