@extends('layouts.app') @section('content')
Tier Group Information

{{ $tierGroup->name }}

{{ $tierGroup->company->name }}

{{ $tierGroup->description ?? 'N/A' }}

{{ $tierGroup->calculation_type_label }}

@if($tierGroup->is_active) Active @else Inactive @endif

{{ $tierGroup->created_at->format('M d, Y H:i') }}

Summary
Associated Tiers

{{ $tierGroup->tiers()->count() }}

Associated Clients

{{ $tierGroup->clients()->count() }}

Pricing Tiers
@if($tierGroup->tiers->count() > 0) @foreach($tierGroup->tiers as $tier) @endforeach
Tier Name From (Units) To (Units) Price Per Unit
{{ $tier->name }} @if($tier->is_minimum) Minimum @endif {{ $tier->min_units }} {{ $tier->max_units }} {{ number_format($tier->price_per_unit, 2) }} @if($tierGroup->calculation_type !== \App\Models\TierGroup::TYPE_FIXED_BRACKET) {{ $tier->is_minimum ? '(flat minimum)' : '/ cu.m' }} @endif
@else
No tiers assigned to this group yet. Create a tier
@endif
Assigned Clients
@if($tierGroup->clients->count() > 0) @foreach($tierGroup->clients as $client) @endforeach
Client Name Account No Phone
{{ $client->name }} {{ $client->account_number }} {{ $client->phone ?? 'N/A' }}
@else
No clients assigned to this group yet. Add a client
@endif
@endsection @section('scripts') @endsection