fix php version, lang files, basic tpl and sales impl.

This commit is contained in:
Dennis Eichhorn 2021-03-05 21:01:37 +01:00
parent b4db641e3b
commit 02f377d6e5
5 changed files with 17 additions and 1 deletions

View File

@ -40,6 +40,11 @@
"name": "editor_doc_created_at", "name": "editor_doc_created_at",
"type": "DATETIME", "type": "DATETIME",
"null": false "null": false
},
"editor_doc_visible": {
"name": "editor_doc_visible",
"type": "TINYINT",
"null": false
} }
} }
}, },

View File

@ -69,6 +69,14 @@ class EditorDoc implements \JsonSerializable, ArrayableInterface
*/ */
private string $virtualPath = '/'; private string $virtualPath = '/';
/**
* Doc is visible in editor doc list.
*
* @var bool
* @since 1.0.0
*/
public bool $isVisible = true;
/** /**
* Created. * Created.
* *

View File

@ -43,6 +43,7 @@ final class EditorDocMapper extends DataMapperAbstract
'editor_doc_content' => ['name' => 'editor_doc_content', 'type' => 'string', 'internal' => 'content'], 'editor_doc_content' => ['name' => 'editor_doc_content', 'type' => 'string', 'internal' => 'content'],
'editor_doc_virtual' => ['name' => 'editor_doc_virtual', 'type' => 'string', 'internal' => 'virtualPath'], '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_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
View File

@ -4,6 +4,7 @@
* *
* PHP Version 8.0 * PHP Version 8.0
* *
* @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0

3
Theme/Backend/Lang/en.lang.php Executable file → Normal file
View File

@ -4,6 +4,7 @@
* *
* PHP Version 8.0 * PHP Version 8.0
* *
* @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
@ -12,7 +13,7 @@
declare(strict_types=1); declare(strict_types=1);
return ['Editor' => [ return ['Editor' => [
'Add' => '', 'Add' => 'Add',
'Created' => 'Created', 'Created' => 'Created',
'Creator' => 'Creator', 'Creator' => 'Creator',
'Documents' => 'Documents', 'Documents' => 'Documents',