2018-01-01 04:00:50 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="callout callout-success">
|
|
|
|
When a fare is assigned to a subfleet, the price, cost and capacity can be overridden,
|
|
|
|
so you can create default values that will apply to most of your subfleets, and change
|
|
|
|
them where they will differ.
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-23 10:03:49 +08:00
|
|
|
<div class="row">
|
2017-06-18 05:41:00 +08:00
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('code', 'Code:') !!} <span class="required">*</span>
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="icon fa fa-info"> </i>
|
|
|
|
How this fare class will show up on a ticket
|
|
|
|
</div>
|
2017-06-18 05:41:00 +08:00
|
|
|
{!! Form::text('code', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::label('name', 'Name:') !!} <span class="required">*</span>
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="icon fa fa-info"> </i>
|
|
|
|
The fare class name, E.g, "Economy" or "First"
|
|
|
|
</div>
|
2017-06-18 05:41:00 +08:00
|
|
|
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('price', 'Price:') !!}
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="icon fa fa-info"> </i>
|
|
|
|
This is the price of a ticket for a passenger
|
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::text('price', null, ['class' => 'form-control', 'placeholder' => 0]) !!}
|
2017-06-18 05:41:00 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('cost', 'Cost:') !!}
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="icon fa fa-info"> </i>
|
|
|
|
The operating cost
|
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::text('cost', null, ['class' => 'form-control', 'placeholder' => 0]) !!}
|
2017-06-18 05:41:00 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('capacity', 'Capacity:') !!}
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="icon fa fa-info"> </i>
|
|
|
|
The number of seats available in this class.
|
|
|
|
</div>
|
2018-01-01 04:20:52 +08:00
|
|
|
{!! Form::text('capacity', null, ['class' => 'form-control', 'placeholder' => 0]) !!}
|
2017-06-18 05:41:00 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
{!! Form::label('notes', 'Notes:') !!}
|
2018-01-01 04:00:50 +08:00
|
|
|
<div class="callout callout-info">
|
|
|
|
|
|
|
|
</div>
|
2017-06-18 05:41:00 +08:00
|
|
|
{!! Form::text('notes', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Active Field -->
|
2017-11-23 10:03:49 +08:00
|
|
|
<div class="form-group col-sm-12">
|
|
|
|
{!! Form::label('active', 'Active:') !!}
|
|
|
|
<label class="checkbox-inline">
|
|
|
|
{!! Form::hidden('active', 0, false) !!}
|
|
|
|
{!! Form::checkbox('active', 1, null) !!}
|
|
|
|
</label>
|
2017-06-18 05:41:00 +08:00
|
|
|
</div>
|
2017-06-11 07:27:19 +08:00
|
|
|
|
|
|
|
<!-- Submit Field -->
|
|
|
|
<div class="form-group col-sm-12">
|
2017-11-23 10:03:49 +08:00
|
|
|
<div class="pull-right">
|
|
|
|
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
|
|
|
|
<a href="{!! route('admin.fares.index') !!}" class="btn btn-default">Cancel</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-11 07:27:19 +08:00
|
|
|
</div>
|