{{App\Language::trans('Price List Form')}}

{{App\Language::trans('Add Row')}}
@foreach($model->prices as $row) @php $i++; @endphp @endforeach
# {{App\Language::trans('Date From')}} {{App\Language::trans('Date To')}} {{App\Language::trans('Unit Price')}}
{{$i}}
{!!Form::text('prices['.$i.'][date_started]', $row->date_started, ['class'=>'form-control'])!!}
{!!Form::text('prices['.$i.'][date_ended]', $row->date_ended, ['class'=>'form-control'])!!}
{!!Form::text('prices['.$i.'][price]', $row->price, ['class'=>'form-control'])!!}
{{$i}}
{!!Form::text('prices['.$i.'][date_started]', null, ['class'=>'form-control'])!!}
{!!Form::text('prices['.$i.'][date_ended]', null, ['class'=>'form-control'])!!}
{!!Form::text('prices['.$i.'][price]', null, ['class'=>'form-control'])!!}