diff --git a/.env.dev.example b/.env.dev.example
index 11c325a5..09583387 100644
--- a/.env.dev.example
+++ b/.env.dev.example
@@ -14,3 +14,5 @@ DB_USERNAME=
DB_PASSWORD=
CACHE_DRIVER=array
+
+PHPVMS_CURRENCY=dollar
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..00be7b31
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,8 @@
+# Disable index view
+Options -Indexes
+
+# Hide a specific file
+
+ Order allow,deny
+ Deny from all
+
diff --git a/app/Models/Aircraft.php b/app/Models/Aircraft.php
index ace69201..2fc4aa4a 100644
--- a/app/Models/Aircraft.php
+++ b/app/Models/Aircraft.php
@@ -53,6 +53,7 @@ class Aircraft extends Model
/**
* foreign keys
*/
+
public function airport()
{
return $this->belongsTo('App\Models\Airport', 'airport_id');
diff --git a/app/Models/User.php b/app/Models/User.php
index e91d5286..e12402fc 100755
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -51,4 +51,28 @@ class User extends Authenticatable
protected $hidden = [
'password', 'remember_token',
];
+
+ /**
+ * Foreign Keys
+ */
+
+ public function airline()
+ {
+ return $this->belongsTo('App\Models\Airline', 'airline_id');
+ }
+
+ public function home_airport()
+ {
+ return $this->belongsTo('App\Models\Airport', 'home_airport_id');
+ }
+
+ public function current_airport()
+ {
+ return $this->belongsTo('App\Models\Airport', 'curr_airport_id');
+ }
+
+ public function rank()
+ {
+ return $this->belongsTo('App\Models\Rank', 'rank_id');
+ }
}
diff --git a/app/Repositories/PirepFieldRepository.php b/app/Repositories/PirepFieldRepository.php
new file mode 100644
index 00000000..0f76c829
--- /dev/null
+++ b/app/Repositories/PirepFieldRepository.php
@@ -0,0 +1,24 @@
+aircraft = $aircraft;
+ $this->aircraftRepo = $aircraftRepo;
+ $this->pirepRepo = $pirepRepo;
}
public function create() {
diff --git a/phpvms.iml b/phpvms.iml
index 7a4cfac5..9eb8cdff 100644
--- a/phpvms.iml
+++ b/phpvms.iml
@@ -13,6 +13,8 @@
+
+
@@ -44,6 +46,8 @@
+
+
@@ -62,6 +66,8 @@
+
+