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

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

@csrf @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach ($pricingTypes as $pricingType) @php $inputName = "pricings[{$pricingType->id}]"; $oldPrice = old($inputName . '.price'); $oldExclude = old($inputName . '.exclude'); $isExcluded = $oldExclude == '1'; @endphp
@error($inputName . '.price')
{{ $message }}
@enderror
@endforeach
{{ __('dashboard.Back') }}
@endsection @section('scripts') @endsection