Fix the flight time not showing closes #199
This commit is contained in:
@@ -17,6 +17,9 @@ class Flight extends BaseModel
|
||||
public $table = 'flights';
|
||||
public $incrementing = false;
|
||||
|
||||
/** The form wants this */
|
||||
public $hours, $minutes;
|
||||
|
||||
public $fillable = [
|
||||
'id',
|
||||
'airline_id',
|
||||
|
||||
@@ -24,6 +24,9 @@ class Pirep extends BaseModel
|
||||
public $table = 'pireps';
|
||||
public $incrementing = false;
|
||||
|
||||
/** The form wants this */
|
||||
public $hours, $minutes;
|
||||
|
||||
public $fillable = [
|
||||
'id',
|
||||
'user_id',
|
||||
|
||||
@@ -86,9 +86,6 @@
|
||||
'placeholder' => 'minutes'
|
||||
]) !!}
|
||||
</div>
|
||||
{!! $flight->flight_time !!}
|
||||
{!! $flight->hours !!}
|
||||
{!! $flight->minutes !!}
|
||||
<p class="text-danger">{{ $errors->first('hours') }}</p>
|
||||
<p class="text-danger">{{ $errors->first('minutes') }}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user