mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-07 14:18:41 +00:00
fix php version, lang files, basic tpl and sales impl.
This commit is contained in:
parent
b4db641e3b
commit
02f377d6e5
|
|
@ -40,6 +40,11 @@
|
|||
"name": "editor_doc_created_at",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
},
|
||||
"editor_doc_visible": {
|
||||
"name": "editor_doc_visible",
|
||||
"type": "TINYINT",
|
||||
"null": false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -69,6 +69,14 @@ class EditorDoc implements \JsonSerializable, ArrayableInterface
|
|||
*/
|
||||
private string $virtualPath = '/';
|
||||
|
||||
/**
|
||||
* Doc is visible in editor doc list.
|
||||
*
|
||||
* @var bool
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public bool $isVisible = true;
|
||||
|
||||
/**
|
||||
* Created.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ final class EditorDocMapper extends DataMapperAbstract
|
|||
'editor_doc_content' => ['name' => 'editor_doc_content', 'type' => 'string', 'internal' => 'content'],
|
||||
'editor_doc_virtual' => ['name' => 'editor_doc_virtual', 'type' => 'string', 'internal' => 'virtualPath'],
|
||||
'editor_doc_created_at' => ['name' => 'editor_doc_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true],
|
||||
'editor_doc_visible' => ['name' => 'editor_doc_visible', 'type' => 'bool', 'internal' => 'isVisible'],
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
1
Theme/Backend/Lang/de.lang.php
Executable file → Normal file
1
Theme/Backend/Lang/de.lang.php
Executable file → Normal file
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* PHP Version 8.0
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
|
|||
3
Theme/Backend/Lang/en.lang.php
Executable file → Normal file
3
Theme/Backend/Lang/en.lang.php
Executable file → Normal file
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* PHP Version 8.0
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
return ['Editor' => [
|
||||
'Add' => '',
|
||||
'Add' => 'Add',
|
||||
'Created' => 'Created',
|
||||
'Creator' => 'Creator',
|
||||
'Documents' => 'Documents',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user