{{-- Metric editor (design: Product creator "Edit metric"). --}} @extends('layouts.app') @section('title', ($metric->exists ? 'Edit metric' : 'Add metric').' — InLynq') @section('heading', 'Metrics') @php $displays = ['currency' => 'Exact', 'range' => 'Range', 'percentage' => 'Percentage', 'number' => 'Number', 'text' => 'Text', 'private' => 'Private']; $current = old('display', $display); $context = $metric->company_id ? 'company' : ($metric->product_id ? 'product' : 'profile'); @endphp @section('content')
@endsection