From ba5b4e23c7ed03d6fc6fb445ea817dc938281b41 Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" Date: Mon, 15 Aug 2022 18:26:34 +0300 Subject: [PATCH] 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 --- resources/views/admin/flights/fares.blade.php | 2 +- resources/views/admin/flights/fields.blade.php | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/resources/views/admin/flights/fares.blade.php b/resources/views/admin/flights/fares.blade.php index bb11c888..281fa7bf 100644 --- a/resources/views/admin/flights/fares.blade.php +++ b/resources/views/admin/flights/fares.blade.php @@ -6,7 +6,7 @@ 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 a monetary amount, or a percentage. - Read documentation about finances. + Read documentation about finances. @endcomponent

{{ $errors->first('value') }}

diff --git a/resources/views/admin/flights/fields.blade.php b/resources/views/admin/flights/fields.blade.php index f011eecf..47b52c20 100644 --- a/resources/views/admin/flights/fields.blade.php +++ b/resources/views/admin/flights/fields.blade.php @@ -83,22 +83,19 @@
{{ 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]) }}

{{ $errors->first('load_factor') }}

@component('admin.components.info') - Value between 1 and 100. See - docs. - Leave blank to use the default value. + Percentage value for pax/cargo load, leave blank to use the default value. @endcomponent
{{ 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]) }}

{{ $errors->first('load_factor_variance') }}

@component('admin.components.info') - How much the load factor can vary per flight (+ or -). Leave blank to - use the default value. + Percentage of how much the load can vary (+/-), leave blank to use the default value. @endcomponent