Compare commits
4 Commits
683c6f52ad
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| dda6143f8a | |||
| 52d0e89a35 | |||
| 24a1b0e8cf | |||
| b5b7967eb7 |
@@ -9,6 +9,8 @@ class Aircraft extends Controller
|
|||||||
public $listConfig = 'config_list.yaml';
|
public $listConfig = 'config_list.yaml';
|
||||||
public $formConfig = 'config_form.yaml';
|
public $formConfig = 'config_form.yaml';
|
||||||
|
|
||||||
|
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ class AircraftManufacturer extends Controller
|
|||||||
public $listConfig = 'config_list.yaml';
|
public $listConfig = 'config_list.yaml';
|
||||||
public $formConfig = 'config_form.yaml';
|
public $formConfig = 'config_form.yaml';
|
||||||
|
|
||||||
|
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ class AircraftType extends Controller
|
|||||||
public $listConfig = 'config_list.yaml';
|
public $listConfig = 'config_list.yaml';
|
||||||
public $formConfig = 'config_form.yaml';
|
public $formConfig = 'config_form.yaml';
|
||||||
|
|
||||||
|
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ class AircraftTypeGroup extends Controller
|
|||||||
public $listConfig = 'config_list.yaml';
|
public $listConfig = 'config_list.yaml';
|
||||||
public $formConfig = 'config_form.yaml';
|
public $formConfig = 'config_form.yaml';
|
||||||
|
|
||||||
|
public $requiredPermissions = ['germanairlinesva.fleet.master'];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ fields:
|
|||||||
type: text
|
type: text
|
||||||
home_airport:
|
home_airport:
|
||||||
label: 'germanairlinesva.fleet::lang.aircrafts.home_base'
|
label: 'germanairlinesva.fleet::lang.aircrafts.home_base'
|
||||||
nameFrom: name
|
nameFrom: icao
|
||||||
descriptionFrom: description
|
descriptionFrom: description
|
||||||
span: auto
|
span: auto
|
||||||
required: 1
|
required: 1
|
||||||
|
|||||||
+2
-2
@@ -10,7 +10,7 @@ navigation:
|
|||||||
url: /
|
url: /
|
||||||
icon: icon-plane
|
icon: icon-plane
|
||||||
permissions:
|
permissions:
|
||||||
- fleet
|
- germanairlinesva.fleet.master
|
||||||
sideMenu:
|
sideMenu:
|
||||||
side-menu-item:
|
side-menu-item:
|
||||||
label: 'germanairlinesva.fleet::lang.menu.groups'
|
label: 'germanairlinesva.fleet::lang.menu.groups'
|
||||||
@@ -29,6 +29,6 @@ navigation:
|
|||||||
url: germanairlinesva/fleet/aircraft
|
url: germanairlinesva/fleet/aircraft
|
||||||
icon: icon-plane
|
icon: icon-plane
|
||||||
permissions:
|
permissions:
|
||||||
fleet:
|
germanairlinesva.fleet.master:
|
||||||
tab: 'germanairlinesva.fleet::lang.permissions.tab.fleet'
|
tab: 'germanairlinesva.fleet::lang.permissions.tab.fleet'
|
||||||
label: 'germanairlinesva.fleet::lang.permissions.label.fleet'
|
label: 'germanairlinesva.fleet::lang.permissions.label.fleet'
|
||||||
|
|||||||
@@ -17,18 +17,10 @@ class BuilderTableCreateGermanAirlinesVaFleetAircrafts extends Migration
|
|||||||
->references('id')
|
->references('id')
|
||||||
->on('aircraft_types');
|
->on('aircraft_types');
|
||||||
$table->bigInteger('home_airport_id')->unsigned();
|
$table->bigInteger('home_airport_id')->unsigned();
|
||||||
//$table
|
|
||||||
// ->foreign('home_airport_id')
|
|
||||||
// ->references('id')
|
|
||||||
// ->on('airports');
|
|
||||||
$table
|
$table
|
||||||
->bigInteger('airport_id')
|
->bigInteger('airport_id')
|
||||||
->unsigned()
|
->unsigned()
|
||||||
->nullable();
|
->nullable();
|
||||||
//$table
|
|
||||||
// ->foreign('airport_id')
|
|
||||||
// ->references('id')
|
|
||||||
// ->on('airports');
|
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('registration');
|
$table->string('registration');
|
||||||
$table->boolean('in_use')->default(true);
|
$table->boolean('in_use')->default(true);
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ p-defer@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
|
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
|
||||||
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=
|
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"
|
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:
|
prettier@^2.3.0:
|
||||||
version "2.3.2"
|
version "2.3.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user