TypeGroups Localization and refactor
This commit is contained in:
1 parent
3e90d8cbe1
commit
dc1a64b32d
14 files changed
+30
-29
No files matched your search
@@ -24,7 +24,9 @@ class AircraftTypeGroup extends Model
|
||||
/**
|
||||
* @var array Validation rules
|
||||
*/
|
||||
public $rules = [];
|
||||
public $rules = [
|
||||
'comment' => 'required',
|
||||
];
|
||||
|
||||
public $belongsToMany = [
|
||||
'aircraft_types' => 'GermanAirlinesVa\Fleet\Models\AircraftType',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fields:
|
||||
comment:
|
||||
label: Comment
|
||||
label: 'germanairlinesva.fleet::lang.aircraft_type_groups.comment'
|
||||
span: auto
|
||||
type: text
|
||||
Reference in new issue
Block a user