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

Change Airac date 2024 #144

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions app/Http/Controllers/CarteSIAController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,20 @@ public function Airac_date($value)
{
$airac = $value;
$airac_table = [
"07" => "2023-07-13",
"08" => "2023-08-10",
"09" => "2023-09-07",
"10" => "2023-10-05",
"11" => "2023-11-02",
"12" => "2023-12-28",
"13" => "2023-12-23",
"01" => "2024-01-25",
"02" => "2024-02-22",
"03" => "2024-03-21",
"04" => "2024-04-16",
"05" => "2024-05-16",
"06" => "2024-06-13",
"07" => "2024-07-11",
"08" => "2024-08-08",
"09" => "2024-09-05",
"10" => "2024-10-03",
"11" => "2024-10-31",
"12" => "2024-11-28",
"13" => "2024-12-26",
];
$date = $airac_table[$airac];
return $date;
Expand Down
Loading