Fix dead links (#1455)
* Fix dead links Fixed one dead link, removed another one and changed load factor and variance fields to accept only numbers between 0-100. * Update fields.blade.php Co-authored-by: Nabeel S <nabeelio@users.noreply.github.com>
This commit is contained in:
parent
ef38d39ec4
commit
ba5b4e23c7
@ -6,7 +6,7 @@
|
|||||||
the values used come from the subfleet of the aircraft that the flight is
|
the values used come from the subfleet of the aircraft that the flight is
|
||||||
filed with. Only assign the fares you want to override. They can be set as
|
filed with. Only assign the fares you want to override. They can be set as
|
||||||
a monetary amount, or a percentage.
|
a monetary amount, or a percentage.
|
||||||
<a href="{{ docs_link('finances') }}" target="_blank">Read documentation about finances</a>.
|
<a href="https://docs.phpvms.net/guides/finances" target="_blank">Read documentation about finances</a>.
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
|
||||||
<p class="text-danger">{{ $errors->first('value') }}</p>
|
<p class="text-danger">{{ $errors->first('value') }}</p>
|
||||||
|
@ -83,22 +83,19 @@
|
|||||||
|
|
||||||
<div class="form-group col-sm-4">
|
<div class="form-group col-sm-4">
|
||||||
{{ Form::label('load_factor', 'Load Factor:') }}
|
{{ Form::label('load_factor', 'Load Factor:') }}
|
||||||
{{ Form::text('load_factor', null, ['class' => 'form-control']) }}
|
{{ Form::number('load_factor', null, ['class' => 'form-control', 'min' => 0, 'max' => 100]) }}
|
||||||
<p class="text-danger">{{ $errors->first('load_factor') }}</p>
|
<p class="text-danger">{{ $errors->first('load_factor') }}</p>
|
||||||
@component('admin.components.info')
|
@component('admin.components.info')
|
||||||
Value between 1 and 100. See
|
Percentage value for pax/cargo load, leave blank to use the default value.
|
||||||
<a href="{{ docs_link('load_factor') }}" target="_blank">docs</a>.
|
|
||||||
Leave blank to use the default value.
|
|
||||||
@endcomponent
|
@endcomponent
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-sm-4">
|
<div class="form-group col-sm-4">
|
||||||
{{ Form::label('load_factor_variance', 'Load Factor Variance:') }}
|
{{ Form::label('load_factor_variance', 'Load Factor Variance:') }}
|
||||||
{{ Form::text('load_factor_variance', null, ['class' => 'form-control']) }}
|
{{ Form::number('load_factor_variance', null, ['class' => 'form-control', 'min' => 0, 'max' => 100]) }}
|
||||||
<p class="text-danger">{{ $errors->first('load_factor_variance') }}</p>
|
<p class="text-danger">{{ $errors->first('load_factor_variance') }}</p>
|
||||||
@component('admin.components.info')
|
@component('admin.components.info')
|
||||||
How much the load factor can vary per flight (+ or -). Leave blank to
|
Percentage of how much the load can vary (+/-), leave blank to use the default value.
|
||||||
use the default value.
|
|
||||||
@endcomponent
|
@endcomponent
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user