@extends('admins.layouts.index') @section('content') {!! Form::model($model, ['method'=>'post','class'=>'form-horizontal']) !!}
{{ __('Adult Price') }} | {{ __('Adult Discount Price') }} | {{ __('Child Price') }} | {{ __('Child Discount Price') }} |
{!! Form::text('adult_price', $model->adult_price, ['class'=>'form-control '.($errors->first('adult_price') ? 'is-invalid' : ''),'onchange'=>'init_double(this),reCalculate()']) !!} {!!$errors->first('adult_price', ':message')!!} | {!! Form::text('adult_discounted_price', $model->adult_discounted_price, ['class'=>'form-control '.($errors->first('adult_discounted_price') ? 'is-invalid' : ''),'onchange'=>'init_double(this),reCalculate()']) !!} {!!$errors->first('adult_discounted_price', ':message')!!} | {!! Form::text('child_price', $model->child_price, ['class'=>'form-control '.($errors->first('child_price') ? 'is-invalid' : ''),'onchange'=>'init_double(this),reCalculate()']) !!} {!!$errors->first('child_price', ':message')!!} | {!! Form::text('child_discounted_price', $model->child_discounted_price, ['class'=>'form-control '.($errors->first('child_discounted_price') ? 'is-invalid' : ''),'onchange'=>'init_double(this),reCalculate()']) !!} {!!$errors->first('child_discounted_price', ':message')!!} |