@extends('frontends.layouts.index') @section('content')

{{ __('Order ID') }}: {{ $model->document_no }}

@include('frontends.layouts.__partials.__alert')
{{ __('Order Form') }}
{!! Form::model($model, ['url'=>null,'method'=>'post']) !!}

{{ __('Tour Information') }}

{{ $model->document_no }}

{{ $model->tour_title }}

{{ $model->payment_method_name }}


{!! Form::text('name', null, ['id'=>'name','class'=>'form-control '.($errors->first('name') ? 'is-invalid' : '')]) !!} {!!$errors->first('name', ':message')!!}
{!! Form::email('email', null, ['id'=>'email','class'=>'form-control '.($errors->first('email') ? 'is-invalid' : '')]) !!} {!!$errors->first('email', ':message')!!}
{!! Form::tel('mobile_no', null, ['id'=>'mobile_no','class'=>'form-control '.($errors->first('mobile_no') ? 'is-invalid' : '')]) !!} {!!$errors->first('mobile_no', ':message')!!}
{!! Form::text('address', null, ['id'=>'address','class'=>'form-control '.($errors->first('address') ? 'is-invalid' : '')]) !!} {!!$errors->first('address', ':message')!!}

{{ $model->adult_pack }} x {{ App\Setting::currency_symbol().' '.($model->adult_discounted_price ? $model->adult_discounted_price:$model->adult_price) }} = {{ App\Setting::currency_symbol().' '.$model->double_stored($model->adult_pack * ($model->adult_discounted_price ? $model->adult_discounted_price:$model->adult_price)) }}

{{ $model->child_pack }} x {{ App\Setting::currency_symbol().' '.($model->child_discounted_price ? $model->child_discounted_price:$model->child_price) }} = {{ App\Setting::currency_symbol().' '.$model->double_stored($model->child_pack * ($model->child_discounted_price ? $model->child_discounted_price:$model->child_price)) }}


{!! Form::text('tour_date', null, ['id'=>'tour_date','class'=>'form-control datepicker']) !!} {!!$errors->first('tour_date', ':message')!!}
{!! Form::select('adult_pack', App\ExtendModel::get_pack_combox(), null, ['id'=>'adult_pack','class'=>'form-control '.($errors->first('adult_pack') ? 'is-invalid' : '')]) !!} {!!$errors->first('adult_pack', ':message')!!}
{!! Form::select('child_pack', App\ExtendModel::get_pack_combox(), null, ['id'=>'child_pack','class'=>'form-control '.($errors->first('child_pack') ? 'is-invalid' : '')]) !!} {!!$errors->first('child_pack', ':message')!!}
{{ App\Setting::currency_symbol() }}
{!! Form::text('total_amount', null, ['class'=>'form-control','aria-label'=>'total_amount','readonly']) !!}

{{ __('Back') }}
{!! Form::close() !!}
@stop @section('script') @stop