@extends('crm.master') @section('title', 'Product Closures') @section('content')
Products closed for set dates
| # | Name | Product Applied to | Start Date | End Date | Applicable Booking Days | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $closures->firstItem() + $key }} | {{ $closure->name }} | @if($closure->apply_to_all_products) All Products @else {{ $closure->products_count }} product(s) @endif | {{ $closure->start_date->format('d M Y') }} | {{ $closure->end_date->format('d M Y') }} | @php echo match($closure->schedule) { 'everyday' => 'Everyday', 'weekdays' => 'Weekdays (Mon–Fri)', 'weekends' => 'Weekends (Sat–Sun)', 'custom' => implode(', ', $closure->applicable_days ?? []), default => $closure->schedule, }; @endphp | @if($closure->enabled) Enabled @else Disabled @endif | |
|
No product closures found Create First Closure |
|||||||