parent
632c5782de
commit
2846a78d2a
@ -22,6 +22,7 @@ class Fare extends Model
|
|||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'code',
|
'code',
|
||||||
'name',
|
'name',
|
||||||
|
'type',
|
||||||
'price',
|
'price',
|
||||||
'cost',
|
'cost',
|
||||||
'capacity',
|
'capacity',
|
||||||
|
File diff suppressed because one or more lines are too long
2
public/assets/admin/css/vendor.min.css
vendored
2
public/assets/admin/css/vendor.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"/assets/frontend/js/app.js": "/assets/frontend/js/app.js?id=ccb02e6ada8be5b91964",
|
"/assets/frontend/js/app.js": "/assets/frontend/js/app.js?id=ccb02e6ada8be5b91964",
|
||||||
"/assets/frontend/css/now-ui-kit.css": "/assets/frontend/css/now-ui-kit.css?id=20b82d8dbacf7e058df2",
|
"/assets/frontend/css/now-ui-kit.css": "/assets/frontend/css/now-ui-kit.css?id=20b82d8dbacf7e058df2",
|
||||||
"/assets/admin/css/vendor.min.css": "/assets/admin/css/vendor.min.css?id=9f24c5e6612e74065901",
|
"/assets/admin/css/vendor.min.css": "/assets/admin/css/vendor.min.css?id=f061660f5c4070d3d0ff",
|
||||||
"/assets/frontend/js/app.js.map": "/assets/frontend/js/app.js.map?id=e6c5ea104bd4a4998fe5",
|
"/assets/frontend/js/app.js.map": "/assets/frontend/js/app.js.map?id=576b33c9aa533da9b6a3",
|
||||||
"/assets/frontend/css/now-ui-kit.css.map": "/assets/frontend/css/now-ui-kit.css.map?id=fdc4f42ad9047d073145",
|
"/assets/frontend/css/now-ui-kit.css.map": "/assets/frontend/css/now-ui-kit.css.map?id=fdc4f42ad9047d073145",
|
||||||
"/assets/admin/css/vendor.min.css.map": "/assets/admin/css/vendor.min.css.map?id=c266c31652dea865307c",
|
"/assets/admin/css/vendor.min.css.map": "/assets/admin/css/vendor.min.css.map?id=bbc90660cdfd2b9b9009",
|
||||||
"/assets/admin/js/app.js": "/assets/admin/js/app.js?id=53dbfe0b2d69322a270a",
|
"/assets/admin/js/app.js": "/assets/admin/js/app.js?id=53dbfe0b2d69322a270a",
|
||||||
"/assets/admin/js/app.js.map": "/assets/admin/js/app.js.map?id=ecc14ecd8c9f04ff4645",
|
"/assets/admin/js/app.js.map": "/assets/admin/js/app.js.map?id=c28b2b55cdafc2a5b414",
|
||||||
"/assets/installer/js/app.js": "/assets/installer/js/app.js?id=62e02c2328c69e0bb6fb",
|
"/assets/installer/js/app.js": "/assets/installer/js/app.js?id=62e02c2328c69e0bb6fb",
|
||||||
"/assets/installer/js/app.js.map": "/assets/installer/js/app.js.map?id=e05cf0c11d7387d5215e",
|
"/assets/installer/js/app.js.map": "/assets/installer/js/app.js.map?id=7bda13b284c53f56ff4a",
|
||||||
"/assets/fonts/glyphicons-halflings-regular.woff2": "/assets/fonts/glyphicons-halflings-regular.woff2?id=349344e92fb16221dd56",
|
"/assets/fonts/glyphicons-halflings-regular.woff2": "/assets/fonts/glyphicons-halflings-regular.woff2?id=349344e92fb16221dd56",
|
||||||
"/assets/admin/fonts/glyphicons-halflings-regular.woff2": "/assets/admin/fonts/glyphicons-halflings-regular.woff2?id=349344e92fb16221dd56",
|
"/assets/admin/fonts/glyphicons-halflings-regular.woff2": "/assets/admin/fonts/glyphicons-halflings-regular.woff2?id=349344e92fb16221dd56",
|
||||||
"/assets/admin/img/clear.png": "/assets/admin/img/clear.png?id=63b3af84650a0145d61a",
|
"/assets/admin/img/clear.png": "/assets/admin/img/clear.png?id=63b3af84650a0145d61a",
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"/assets/admin/css/blue.png": "/assets/admin/css/blue.png?id=39437a6200d8066a49d4",
|
"/assets/admin/css/blue.png": "/assets/admin/css/blue.png?id=39437a6200d8066a49d4",
|
||||||
"/assets/admin/css/blue@2x.png": "/assets/admin/css/blue@2x.png?id=127d7cfbb176dc559854",
|
"/assets/admin/css/blue@2x.png": "/assets/admin/css/blue@2x.png?id=127d7cfbb176dc559854",
|
||||||
"/assets/frontend/js/vendor.js": "/assets/frontend/js/vendor.js?id=0f56f07ddfc52e0265ea",
|
"/assets/frontend/js/vendor.js": "/assets/frontend/js/vendor.js?id=0f56f07ddfc52e0265ea",
|
||||||
"/assets/admin/css/vendor.css": "/assets/admin/css/vendor.css?id=3faf0c4cbfe14c8b99cf",
|
"/assets/admin/css/vendor.css": "/assets/admin/css/vendor.css?id=da3d6e838ded26ce93ae",
|
||||||
"/assets/admin/js/vendor.js": "/assets/admin/js/vendor.js?id=63a4fc6da97448db5b67",
|
"/assets/admin/js/vendor.js": "/assets/admin/js/vendor.js?id=63a4fc6da97448db5b67",
|
||||||
"/assets/installer/css/vendor.css": "/assets/installer/css/vendor.css?id=b484734ef5549fc2baae",
|
"/assets/installer/css/vendor.css": "/assets/installer/css/vendor.css?id=b484734ef5549fc2baae",
|
||||||
"/assets/installer/js/vendor.js": "/assets/installer/js/vendor.js?id=e191958da1971cc63bd9",
|
"/assets/installer/js/vendor.js": "/assets/installer/js/vendor.js?id=e191958da1971cc63bd9",
|
||||||
|
@ -25,9 +25,9 @@ $black-color: #333333 !default;
|
|||||||
$black-hr: #444444 !default;
|
$black-hr: #444444 !default;
|
||||||
|
|
||||||
$white-background-color: #FFFFFF !default;
|
$white-background-color: #FFFFFF !default;
|
||||||
//$black-background-color: #212120 !default;
|
$black-background-color: #212120 !default;
|
||||||
//$black-background-color: #1a2932 !default;
|
//$black-background-color: #1a2932 !default;
|
||||||
$black-background-color: #0c1419 !default;
|
//$black-background-color: #0c1419 !default;
|
||||||
|
|
||||||
|
|
||||||
$light-gray: #E3E3E3 !default;
|
$light-gray: #E3E3E3 !default;
|
||||||
@ -48,7 +48,7 @@ $default-bg: #FFFFFF !default;
|
|||||||
$default-states-color: #403D39 !default;
|
$default-states-color: #403D39 !default;
|
||||||
|
|
||||||
//$primary-color: #7A9E9F !default;
|
//$primary-color: #7A9E9F !default;
|
||||||
$primary-color: #f96332 !default;
|
$primary-color: #067ec1 !default;
|
||||||
$primary-bg: darken($primary-color, 5%) !default;
|
$primary-bg: darken($primary-color, 5%) !default;
|
||||||
$primary-states-color: #427C89 !default;
|
$primary-states-color: #427C89 !default;
|
||||||
|
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
<div class="row">
|
<div class="form-container">
|
||||||
|
<h6><i class="fas fa-info-circle"></i>
|
||||||
|
Fare Information
|
||||||
|
</h6>
|
||||||
|
<div class="form-container-body">
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="callout callout-success">
|
<div class="callout callout-success">
|
||||||
When a fare is assigned to a subfleet, the price, cost and capacity can be overridden,
|
When a fare is assigned to a subfleet, the price, cost and capacity can be overridden,
|
||||||
@ -7,8 +12,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-sm-4">
|
<div class="form-group col-sm-4">
|
||||||
{{ Form::label('code', 'Code:') }} <span class="required">*</span>
|
{{ Form::label('code', 'Code:') }} <span class="required">*</span>
|
||||||
@component('admin.components.info')
|
@component('admin.components.info')
|
||||||
@ -39,8 +44,15 @@
|
|||||||
<p class="text-danger">{{ $errors->first('type') }}</p>
|
<p class="text-danger">{{ $errors->first('type') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-container">
|
||||||
|
<h6><i class="fas fa-info-circle"></i>
|
||||||
|
Base Fare Finances
|
||||||
|
</h6>
|
||||||
|
<div class="form-container-body">
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
{{ Form::label('price', 'Price:') }}
|
{{ Form::label('price', 'Price:') }}
|
||||||
@ -59,8 +71,8 @@
|
|||||||
{{ Form::number('cost', null, ['class' => 'form-control', 'placeholder' => 0, 'step' => '0.01']) }}
|
{{ Form::number('cost', null, ['class' => 'form-control', 'placeholder' => 0, 'step' => '0.01']) }}
|
||||||
<p class="text-danger">{{ $errors->first('cost') }}</p>
|
<p class="text-danger">{{ $errors->first('cost') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-sm-6">
|
<div class="form-group col-sm-6">
|
||||||
{{ Form::label('capacity', 'Capacity:') }}
|
{{ Form::label('capacity', 'Capacity:') }}
|
||||||
@component('admin.components.info')
|
@component('admin.components.info')
|
||||||
@ -79,6 +91,8 @@
|
|||||||
<p class="text-danger">{{ $errors->first('notes') }}</p>
|
<p class="text-danger">{{ $errors->first('notes') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- Active Field -->
|
<!-- Active Field -->
|
||||||
@ -94,8 +108,7 @@
|
|||||||
<!-- Submit Field -->
|
<!-- Submit Field -->
|
||||||
<div class="form-group col-sm-12">
|
<div class="form-group col-sm-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-info']) }}
|
||||||
<a href="{{ route('admin.fares.index') }}" class="btn btn-warn">Cancel</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<th>Code</th>
|
<th>Code</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
<th>Type</th>
|
||||||
<th>Price</th>
|
<th>Price</th>
|
||||||
<th>Cost</th>
|
<th>Cost</th>
|
||||||
<th>Notes</th>
|
<th>Notes</th>
|
||||||
@ -13,6 +14,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ route('admin.fares.edit', [$fare->id]) }}">{{ $fare->code }}</a></td>
|
<td><a href="{{ route('admin.fares.edit', [$fare->id]) }}">{{ $fare->code }}</a></td>
|
||||||
<td>{{ $fare->name }}</td>
|
<td>{{ $fare->name }}</td>
|
||||||
|
<td>{{ \App\Models\Enums\FareType::label($fare->type) }}</td>
|
||||||
<td>{{ $fare->price }}</td>
|
<td>{{ $fare->price }}</td>
|
||||||
<td>{{ $fare->cost }}</td>
|
<td>{{ $fare->cost }}</td>
|
||||||
<td>{{ $fare->notes }}</td>
|
<td>{{ $fare->notes }}</td>
|
||||||
|
@ -277,8 +277,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-8">
|
<div class="col-8">
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-info']) }}
|
||||||
<a href="{{ route('admin.flights.index') }}" class="btn btn-default">Cancel</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -266,8 +266,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="form-group col-sm-12">
|
<div class="form-group col-sm-12">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-success']) }}
|
{{ Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-info']) }}
|
||||||
<a href="{{ route('admin.pireps.index') }}" class="btn btn-warn">Cancel</a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user