Skip to content

Commit

Permalink
Update TWR IDs
Browse files Browse the repository at this point in the history
Updates TWR training session IDs IAW SOP v3
  • Loading branch information
kjporter committed Dec 5, 2022
1 parent 1706f82 commit d23b7a8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
16 changes: 8 additions & 8 deletions app/TrainingTicket.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,20 +268,20 @@ public function getSessionNameAttribute() {
} elseif ($pos == 207) {
$session = 'TWR2 - S2T2';
} elseif ($pos == 208) {
$session = 'TWR3 - S2P1-S';
$session = 'TWR3 - S2T3';
} elseif ($pos == 209) {
$session = 'TWR4 - S2T3-S';
$session = 'TWR4 - S2P1-S';
} elseif ($pos == 210) {
$session = 'TWR5 - S2P2-S';
$session = 'TWR5 - S2T4';
} elseif ($pos == 211) {
$session = 'TWR6 - S2T4-S';
$session = 'TWR6 - S2T5-S';
} elseif ($pos == 212) {
$session = 'TWR7 - S2T5-S';
$session = 'TWR7 - S2T6';
} elseif ($pos == 213) {
$session = 'TWR8 - S2T6';
$session = 'TWR8 - S2P2';
} elseif ($pos == 214) {
$session = 'TWR9 - S2P3';
} elseif ($pos == 215) {
$session = 'TWR9 - S2M1-S';
} elseif ($pos == 215) { // No longer used - retained for legacy tickets
$session = 'TWR10 - S2M1-S';
} elseif ($pos == 216) {
$session = 'APP1 - S3T1-S';
Expand Down
14 changes: 7 additions & 7 deletions resources/views/dashboard/training/edit_ticket.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
258 => 'GND2 - S1M1-O',
206 => 'TWR1 - S2T1',
207 => 'TWR2 - S2T2',
208 => 'TWR3 - S2P1-S',
209 => 'TWR4 - S2T3-S',
210 => 'TWR5 - S2P2-S',
211 => 'TWR6 - S2T4-S',
212 => 'TWR7 - S2T5-S',
213 => 'TWR8 - S2T6',
214 => 'TWR9 - S2P3',
208 => 'TWR3 - S2T3',
209 => 'TWR4 - S2P1-S',
210 => 'TWR5 - S2T4',
211 => 'TWR6 - S2T5-S',
212 => 'TWR7 - S2T6',
213 => 'TWR8 - S2P2',
214 => 'TWR9 - S2M1-S',
215 => 'TWR10 - S2M1-S',
216 => 'APP1 - S3T1-S',
217 => 'APP2 - S3T2-S',
Expand Down
15 changes: 7 additions & 8 deletions resources/views/dashboard/training/new_ticket.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@
258 => 'GND2 - S1M1-O',
206 => 'TWR1 - S2T1',
207 => 'TWR2 - S2T2',
208 => 'TWR3 - S2P1-S',
209 => 'TWR4 - S2T3-S',
210 => 'TWR5 - S2P2-S',
211 => 'TWR6 - S2T4-S',
212 => 'TWR7 - S2T5-S',
213 => 'TWR8 - S2T6',
214 => 'TWR9 - S2P3',
215 => 'TWR10 - S2M1-S',
208 => 'TWR3 - S2T3',
209 => 'TWR4 - S2P1-S',
210 => 'TWR5 - S2T4',
211 => 'TWR6 - S2T5-S',
212 => 'TWR7 - S2T6',
213 => 'TWR8 - S2P2',
214 => 'TWR9 - S2M1-S',
216 => 'APP1 - S3T1-S',
217 => 'APP2 - S3T2-S',
218 => 'APP3 - S3P1-S',
Expand Down

0 comments on commit d23b7a8

Please sign in to comment.