@extends('dashboard.layouts.app') @section('title', __('dashboard.Add Pricing Option') . ' - ' . $track->name) @section('page_heading', __('dashboard.Add Pricing Option') . ' - ' . $track->name) @section('breadcrumb') @endsection @section('content')

{{ __('dashboard.Add Pricing Option for') }}: {{ $track->name }}

@csrf
@error('levels_number')
{{ $message }}
@enderror
@foreach ($trackTypes as $type)

{{ $type->name }}

@foreach ($pricingTypes as $pricingType) @php $inputName = "pricings[{$type->id}][{$pricingType->id}]"; $oldPrice = old($inputName . '.total_price'); $oldExclude = old($inputName . '.exclude'); $isExcluded = $oldExclude == '1'; @endphp
@error($inputName . '.total_price')
{{ $message }}
@enderror
@endforeach
@endforeach {{ __('dashboard.Back to Track') }}
@endsection @section('scripts') @endsection