{{-- resources/views/conference/policies.blade.php --}} @extends('layouts.app') @section('title', 'Conference Policies') @section('page_title', 'Conference Policies') @section('page_subtitle', 'Cancellation, deposit and other policies') @section('content')
← Conference
@if($policies->isEmpty())

No conference policies yet

Define cancellation, deposit and damage policies for venues

@else @foreach($policies as $type => $group)
{{ ucfirst($type) }} Policies
@foreach($group as $policy)
{{ $policy->name }} @if($policy->is_default) Default @endif
{{ Str::limit($policy->description, 150) }}
@if($policy->notice_hours) {{ $policy->notice_hours }}h notice @endif @if($policy->penalty_type && $policy->penalty_type !== 'none') Penalty: @if($policy->penalty_type === 'percentage') {{ $policy->penalty_value }}% @else ${{ number_format($policy->penalty_value, 2) }} @endif @endif
@csrf @method('DELETE')
@endforeach
@endforeach @endif
{{-- Add Policy Form --}}
Add Policy
@csrf
hrs
{{-- Edit Modal --}} @endsection @push('scripts') @endpush