redesigning the pirep page a bit

This commit is contained in:
Nabeel Shahzad
2018-04-03 22:44:11 -05:00
parent 6fb66a1d80
commit a0422899a5
2 changed files with 22 additions and 3 deletions

View File

@@ -113,8 +113,8 @@ class Pirep extends Model
*/
public function getIdentAttribute(): string
{
$flight_id = $this->airline->code;
$flight_id .= $this->flight_number;
#$flight_id = $this->airline->code;
$flight_id = $this->flight_number;
if (filled($this->route_code)) {
$flight_id .= '/C'.$this->route_code;