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 $table = 'flights';
|
||||||
public $incrementing = false;
|
public $incrementing = false;
|
||||||
|
|
||||||
|
/** The form wants this */
|
||||||
|
public $hours, $minutes;
|
||||||
|
|
||||||
public $fillable = [
|
public $fillable = [
|
||||||
'id',
|
'id',
|
||||||
'airline_id',
|
'airline_id',
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ class Pirep extends BaseModel
|
|||||||
public $table = 'pireps';
|
public $table = 'pireps';
|
||||||
public $incrementing = false;
|
public $incrementing = false;
|
||||||
|
|
||||||
|
/** The form wants this */
|
||||||
|
public $hours, $minutes;
|
||||||
|
|
||||||
public $fillable = [
|
public $fillable = [
|
||||||
'id',
|
'id',
|
||||||
'user_id',
|
'user_id',
|
||||||
|
|||||||
@@ -86,9 +86,6 @@
|
|||||||
'placeholder' => 'minutes'
|
'placeholder' => 'minutes'
|
||||||
]) !!}
|
]) !!}
|
||||||
</div>
|
</div>
|
||||||
{!! $flight->flight_time !!}
|
|
||||||
{!! $flight->hours !!}
|
|
||||||
{!! $flight->minutes !!}
|
|
||||||
<p class="text-danger">{{ $errors->first('hours') }}</p>
|
<p class="text-danger">{{ $errors->first('hours') }}</p>
|
||||||
<p class="text-danger">{{ $errors->first('minutes') }}</p>
|
<p class="text-danger">{{ $errors->first('minutes') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user