Compare commits
6 Commits
fe3bc46636
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| dda6143f8a | |||
| 52d0e89a35 | |||
| 24a1b0e8cf | |||
| b5b7967eb7 | |||
| 683c6f52ad | |||
| a49e7d8fb5 |
@@ -1,7 +1,6 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class Aircraft extends Controller
|
||||
{
|
||||
@@ -10,6 +9,8 @@ class Aircraft extends Controller
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
|
||||
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class AircraftManufacturer extends Controller
|
||||
{
|
||||
@@ -10,6 +9,8 @@ class AircraftManufacturer extends Controller
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
|
||||
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class AircraftType extends Controller
|
||||
{
|
||||
@@ -10,6 +9,8 @@ class AircraftType extends Controller
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
|
||||
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class AircraftTypeGroup extends Controller
|
||||
{
|
||||
@@ -10,6 +9,8 @@ class AircraftTypeGroup extends Controller
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
|
||||
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -18,7 +18,7 @@ fields:
|
||||
type: text
|
||||
home_airport:
|
||||
label: 'germanairlinesva.fleet::lang.aircrafts.home_base'
|
||||
nameFrom: name
|
||||
nameFrom: icao
|
||||
descriptionFrom: description
|
||||
span: auto
|
||||
required: 1
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "graphql",
|
||||
"name": "fleet",
|
||||
"version": "1.0.0",
|
||||
"main": "Plugin.php",
|
||||
"repository": "https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-GraphQL.git",
|
||||
"repository": "https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-Fleet.git",
|
||||
"author": "German Airlines VA",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ navigation:
|
||||
url: /
|
||||
icon: icon-plane
|
||||
permissions:
|
||||
- fleet
|
||||
- germanairlinesva.fleet.master
|
||||
sideMenu:
|
||||
side-menu-item:
|
||||
label: 'germanairlinesva.fleet::lang.menu.groups'
|
||||
@@ -29,6 +29,6 @@ navigation:
|
||||
url: germanairlinesva/fleet/aircraft
|
||||
icon: icon-plane
|
||||
permissions:
|
||||
fleet:
|
||||
germanairlinesva.fleet.master:
|
||||
tab: 'germanairlinesva.fleet::lang.permissions.tab.fleet'
|
||||
label: 'germanairlinesva.fleet::lang.permissions.label.fleet'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Updates;
|
||||
|
||||
use Config;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Updates;
|
||||
|
||||
use Config;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Updates;
|
||||
|
||||
use DB;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
@@ -16,18 +17,10 @@ class BuilderTableCreateGermanAirlinesVaFleetAircrafts extends Migration
|
||||
->references('id')
|
||||
->on('aircraft_types');
|
||||
$table->bigInteger('home_airport_id')->unsigned();
|
||||
//$table
|
||||
// ->foreign('home_airport_id')
|
||||
// ->references('id')
|
||||
// ->on('airports');
|
||||
$table
|
||||
->bigInteger('airport_id')
|
||||
->unsigned()
|
||||
->nullable();
|
||||
//$table
|
||||
// ->foreign('airport_id')
|
||||
// ->references('id')
|
||||
// ->on('airports');
|
||||
$table->string('name');
|
||||
$table->string('registration');
|
||||
$table->boolean('in_use')->default(true);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Updates;
|
||||
|
||||
use Config;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
|
||||
@@ -41,9 +41,9 @@ p-defer@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
|
||||
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=
|
||||
|
||||
"php-parser@git+https://github.com/glayzzle/php-parser.git#e61e26102144f267ecf5e09020865a9baa6ca2f1":
|
||||
"php-parser@https://github.com/glayzzle/php-parser#e61e26102144f267ecf5e09020865a9baa6ca2f1":
|
||||
version "3.0.2"
|
||||
resolved "git+https://github.com/glayzzle/php-parser.git#e61e26102144f267ecf5e09020865a9baa6ca2f1"
|
||||
resolved "https://github.com/glayzzle/php-parser#e61e26102144f267ecf5e09020865a9baa6ca2f1"
|
||||
|
||||
prettier@^2.3.0:
|
||||
version "2.3.2"
|
||||
|
||||
Reference in New Issue
Block a user