@extends('admin.layouts.base') @section('title', $warehouse->name) @section('content')

{{ $warehouse->name }}

{{ $warehouse->code }}
is_active ? 'checked' : '' }} />
Edit Back

Basic Information

{{ $warehouse->address }}
{{ $warehouse->city }}
@if($warehouse->zone)
{{ $warehouse->zone }}
@endif
@if($warehouse->latitude && $warehouse->longitude)
{{ $warehouse->latitude }}, {{ $warehouse->longitude }}
@endif

Capacity & Pricing

{{ number_format($warehouse->total_sqft) }}
${{ number_format($warehouse->sqft_price_per_unit, 2) }} / sqft
{{ $warehouse->activity_space_percentage }}%
{{ $warehouse->pallet_max_height }} inches
@if($warehouse->markup_type === 'percentage') {{ $warehouse->markup_value }}% @else ${{ number_format($warehouse->markup_value, 2) }} (Fixed) @endif

Labor Rates

Manage Labor Rates
@if($warehouse->laborRates->count() > 0) @foreach($warehouse->laborRates as $rate) @endforeach
Labor Type Rate/Hour Min Hours Per Use Rate Status
{{ $rate->laborType->name }} ${{ number_format($rate->rate_per_hour, 2) }}/hr {{ $rate->minimum_hours ?? 0 }} hrs @if($rate->per_use_rate) ${{ number_format($rate->per_use_rate, 2) }} @else - @endif @if($rate->is_active) Active @else Inactive @endif
@else
No labor rates configured yet
@endif

Equipment Rates

Manage Equipment Rates
@if($warehouse->equipmentRates->count() > 0) @foreach($warehouse->equipmentRates as $rate) @endforeach
Equipment Type Charge Type Rate Available Status
{{ $rate->equipmentType->name }} {{ ucfirst($rate->charge_type ?? 'hourly') }} @if(($rate->charge_type ?? 'hourly') === 'hourly') ${{ number_format($rate->rate_per_hour, 2) }}/hr @elseif(($rate->charge_type ?? 'hourly') === 'daily') ${{ number_format($rate->daily_rate, 2) }}/day @else ${{ number_format($rate->per_use_rate, 2) }}/use @endif {{ $rate->total_units_available }} units @if($rate->is_active) Active @else Inactive @endif
@else
No equipment rates configured yet
@endif
@endsection @push('scripts') @endpush