@extends('crm.master') @section('title', 'Add Custom Rate') @section('content')

Add Custom Rate

Create a new duration-based pricing rule

Back
@include('crm.components.alerts')
@csrf
Rate Details
@error('name')
{{ $message }}
@enderror
Per Booking
@error('rate_type')
{{ $message }}
@enderror
@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror
Duration Tiers

Define pricing adjustments based on booking duration (in hours). Leave Upper empty on the last tier to mean "Max" (no upper limit).

@php $oldTiers = old('tiers', [['lower'=>1,'upper'=>'','adjustment_type'=>'fixed','amount'=>0]]); @endphp @foreach($oldTiers as $i => $tier)
@endforeach
Product Scope
@php $selectedIds = old('product_ids', []); @endphp
@include('crm.components.product-selector')
Cancel
@endsection