@extends('layouts.admin') @section('title', $ticketType->name . ' - Ticket Type Details') @section('content')
| Name | Type | Price | Valid Period | Usage | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $rule->name }} | {{ ucwords(str_replace('_', ' ', $rule->type)) }} | ${{ number_format($rule->price, 2) }} @if($rule->price < $ticketType->base_price) (-${{ number_format($ticketType->base_price - $rule->price, 2) }}) @endif | @if($rule->start_date && $rule->end_date) {{ $rule->start_date->format('M j') }} - {{ $rule->end_date->format('M j, Y') }} @elseif($rule->start_date) From {{ $rule->start_date->format('M j, Y') }} @elseif($rule->end_date) Until {{ $rule->end_date->format('M j, Y') }} @else Always @endif |
@if($rule->usage_limit)
{{ $rule->usage_count }}/{{ $rule->usage_limit }}
@php
$usagePercent = ($rule->usage_count / $rule->usage_limit) * 100;
@endphp
|
{{ $rule->is_active ? 'Active' : 'Inactive' }} |
No pricing rules configured.
Create First Pricing Rule
{{ $log->previous_quantity }} → {{ $log->new_quantity }}
@if($log->reason)
{{ $log->reason }}
@endif
No inventory changes recorded.
{{ $ticketType->slug }}
Always available for sale
@endifEveryone (Public)
@endif