{{ $n }}
|
{!! Form::text('schedules['.$n.'][tourist_date]', $row->tourist_date, ['id'=>'schedules_tourist_date_'.$n,'class'=>'datepicker text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.tourist_date]') ? 'is-invalid' : ''), 'disabled']) !!}
|
{!! Form::text('schedules['.$n.'][max_pax]', $row->max_pax, ['id'=>'schedules_max_pax_'.$n,'class'=>'text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.max_pax]') ? 'is-invalid' : ''), 'disabled']) !!}
|
{!! Form::text('schedules['.$n.'][adult_price]', $row->adult_price, ['id'=>'schedules_adult_price_'.$n,'onchange'=>'init_double(this)','class'=>'text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.adult_price]') ? 'is-invalid' : ''), 'disabled']) !!}
|
{!! Form::text('schedules['.$n.'][adult_discounted_price]', $row->adult_discounted_price, ['id'=>'schedules_adult_discounted_price_'.$n,'onchange'=>'init_double(this)','class'=>'text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.adult_discounted_price]') ? 'is-invalid' : ''), 'disabled']) !!}
|
{!! Form::text('schedules['.$n.'][child_price]', $row->child_price, ['id'=>'schedules_child_price_'.$n,'onchange'=>'init_double(this)','class'=>'text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.child_price]') ? 'is-invalid' : ''), 'disabled']) !!}
|
{!! Form::text('schedules['.$n.'][child_discounted_price]', $row->child_discounted_price, ['id'=>'schedules_child_discounted_price_'.$n,'onchange'=>'init_double(this)','class'=>'text-center form-control-plaintext '.($errors->first('schedules.'.$n.'.child_discounted_price]') ? 'is-invalid' : ''), 'disabled']) !!}
|
@php $n++; @endphp
@endforeach