Skip to content

Commit

Permalink
Update Admin > Pireps > fields.blade.php
Browse files Browse the repository at this point in the history
Fix precision
  • Loading branch information
FatihKoz authored Dec 18, 2024
1 parent 8dcc970 commit 87b8eb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/admin/pireps/fields.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
{{ Form::label('planned_distance', 'Pln.Dist. (nmi):') }}
<div class="row">
<div class="col-sm-12">
<input class="form-control" type="number" name="planned_distance" value="{{ $pirep->planned_distance->internal() ?? null }}" min="0" step="0.1" readonly/>
<input class="form-control" type="number" name="planned_distance" value="{{ $pirep->planned_distance->internal() ?? null }}" min="0" step="0.01" readonly/>
<p class="text-danger">{{ $errors->first('planned_distance') }}</p>
</div>
</div>
Expand All @@ -186,7 +186,7 @@
{{ Form::label('distance', 'Flt.Dist. (nmi):') }}
<div class="row">
<div class="col-sm-12">
<input class="form-control" type="number" name="distance" value="{{ $pirep->distance->internal() ?? null}}" min="0" step="0.1" />
<input class="form-control" type="number" name="distance" value="{{ $pirep->distance->internal() ?? null}}" min="0" step="0.01" />
<p class="text-danger">{{ $errors->first('distance') }}</p>
</div>
</div>
Expand Down Expand Up @@ -269,4 +269,4 @@
</div>
</div>
</div>
</div>
</div>

0 comments on commit 87b8eb3

Please sign in to comment.