Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Correct atc module
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcaussades committed Jul 28, 2024
1 parent 846f6f5 commit 5b91df9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 33 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/metarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function metar($icao)
$clouds = $this->clouds($metar->metar) ?? "None";
$station = $this->station($metar->metar) ?? "None";
$times = $this->time($metar->metar) ?? "None";
$tempo = $this->tempo($metar->metar) ?? "None";
$tempo = $this->tempo($metar->metar);


$r = [
Expand Down Expand Up @@ -317,7 +317,7 @@ public function metar($icao)
'visibility' => "Not Found",
'flight_rules' => "Not Found",
"QNH" => "Not Found",
"tempo" => "Not Found",
"tempo" => null,
"wind" => [
"wind" => "Not Found",
"direction" => "Not Found",
Expand Down
31 changes: 0 additions & 31 deletions resources/views/myoline/atc.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,39 +77,8 @@
</div>
</div>
<hr>
<div class="col-12">
<div class="card text-white bg-dark">
<div class="card-body">
<h4 class="card-title">Departure</h4>
<p class="card-text">
<div class="row">
<!-- Information des ATCs sur le depart -->
<div class="col-12 mt-2">

</div>
</div>
</p>
</div>
</div>
</div>
<hr>
<div class="col-12">
<div class="card text-white bg-dark">
<div class="card-body">
<h4 class="card-title">Arrival</h4>
<p class="card-text">
<div class="row">
<!-- Information des ATCs sur le depart -->
<div class="col-12 mt-2">
</div>
</p>
</div>
</div>
</div>
</div>
</div>


@if (ENV('APP_ENV') == 'local')
<script src="{{ asset("asset/js/update_friend.js") }}"></script>
@else
Expand Down

0 comments on commit 5b91df9

Please sign in to comment.