@extends('crm.master') @section('title', 'Create Closure') @section('content')

Create Product Closure

Block products for a specific date range

Back
@include('crm.components.alerts')
@csrf
Closure Details
@error('name')
{{ $message }}
@enderror
@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror
Schedule
@foreach(['everyday' => 'Everyday', 'weekdays' => 'Weekdays', 'weekends' => 'Weekends', 'custom' => 'Custom'] as $val => $label) @endforeach
@php $oldCustomDays = old('applicable_days', []); @endphp
@foreach(['Mon','Tue','Wed','Thu','Fri','Sat','Sun'] as $day)
@endforeach
@error('applicable_days')
{{ $message }}
@enderror
Products

Select products to apply this closure to.

@php $selectedIds = old('product_ids', []); @endphp
@include('crm.components.product-selector')
Settings
Cancel
@endsection