@extends('layouts.app') @section('content')

Products & Plans

Choose a plan that works best for your business

@forelse($products as $product)

{{ $product->name }}

{{ $product->description }}

@if($product->plans()->exists())
@foreach($product->plans as $plan)
{{ $plan->name }}
@if($plan->description)

{{ $plan->description }}

@endif
${{ number_format($plan->price_usd, 2) }} @if($plan->billing_period !== 'one_time') / {{ $plan->billing_period }} @else one-time @endif
@php $features = config('license.tiers.' . $plan->tier, []); @endphp @if($features)
    @foreach($features as $key => $value) @if(is_string($value) && strpos($value, 'label') === false)
  • {{ $value }}
  • @elseif(is_numeric($value) && $key === 'max_trucks')
  • {{ $value }} trucks
  • @elseif(is_bool($value) && $value)
  • {{ ucwords(str_replace('_', ' ', $key)) }}
  • @endif @endforeach
@endif
@auth('customer') Get Started @else Get Started @endauth
@endforeach
@else

No pricing plans available yet.

@endif
@empty

No products available at this time. Please check back soon.

@endforelse
@endsection