From 50861c4fd46928daf468724bb2954f68ba2489b2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 31 Aug 2020 22:30:36 +0200 Subject: [PATCH] php cs autofix --- .github/workflows/main.yml | 2 +- Admin/Routes/Web/Backend.php | 144 ++++++++++---------- Models/CostCenterMapper.php | 8 +- Models/CostObjectMapper.php | 10 +- Models/L11nCostCenter.php | 6 +- Models/L11nCostCenterMapper.php | 16 +-- Models/L11nCostObject.php | 6 +- Models/L11nCostObjectMapper.php | 16 +-- Theme/Backend/costcenter-list.tpl.php | 2 +- Theme/Backend/costobject-list.tpl.php | 2 +- Theme/Backend/gl-list.tpl.php | 2 +- Theme/Backend/journal-list.tpl.php | 2 +- Theme/Backend/stack-archive-list.tpl.php | 2 +- Theme/Backend/stack-list.tpl.php | 2 +- Theme/Backend/stack-predefined-list.tpl.php | 2 +- 15 files changed, 111 insertions(+), 111 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d44f65c..e942af8 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Composer run: composer install - name: Autoformat - run: 'vendor/bin/php-cs-fixer fix ./ --rules=''{"array_syntax": {"syntax": "short"}, "blank_line_after_namespace": true, "cast_spaces": {"space": "single"}, "class_attributes_separation": { "elements": ["const", "method", "property"] }, "combine_consecutive_issets": true, "compact_nullable_typehint": true, "declare_strict_types": true, "elseif": true, "encoding": true, "explicit_indirect_variable": true, "explicit_string_variable": true, "function_to_constant": true, "implode_call": true, "increment_style": {"style": "pre"}, "is_null": {"use_yoda_style": false}, "line_ending": true, "logical_operators": true, "lowercase_cast": true, "lowercase_constants": true, "lowercase_keywords": true, "modernize_types_casting": true, "native_constant_invocation": true, "native_function_casing": true, "native_function_invocation": true, "new_with_braces": true, "no_alias_functions": true, "no_closing_tag": true, "no_empty_comment": true, "no_empty_phpdoc": true, "no_empty_statement": true, "no_homoglyph_names": true, "no_mixed_echo_print": {"use": "echo"}, "no_php4_constructor": true, "no_singleline_whitespace_before_semicolons": true, "no_spaces_inside_parenthesis": true, "no_trailing_whitespace": true, "no_unneeded_final_method": true, "no_unused_imports": true, "no_useless_return": true, "no_whitespace_before_comma_in_array": true, "no_whitespace_in_blank_line": true, "non_printable_character": true, "normalize_index_brace": true, "ordered_imports": {"sort_algorithm": "alpha"}, "ordered_interfaces": {"order": "alpha"}, "php_unit_construct": true, "php_unit_internal_class": true, "php_unit_ordered_covers": true, "php_unit_set_up_tear_down_visibility": true, "phpdoc_indent": true, "phpdoc_align": {"align": "vertical"}, "phpdoc_annotation_without_dot": true, "phpdoc_scalar": true, "phpdoc_return_self_reference": {"this": "self"}, "phpdoc_trim": true, "phpdoc_trim_consecutive_blank_line_separation": true, "random_api_migration": true, "self_accessor": true, "return_type_declaration": {"space_before": "one"}, "semicolon_after_instruction": true, "set_type_to_cast": true, "short_scalar_cast": true, "single_blank_line_at_eof": true, "single_line_after_imports": true, "standardize_increment": true, "trailing_comma_in_multiline_array": true, "trim_array_spaces": true, "visibility_required": true, "void_return": true}'' --allow-risky=yes' + run: 'vendor/bin/php-cs-fixer fix ./ --rules=''{"array_syntax": {"syntax": "short"}, "blank_line_after_namespace": true, "binary_operator_spaces": {"operators": {"=": "align", ".=": "align", "+=": "align", "-=": "align", "*=": "align", "/=": "align", "|=": "align", "&=": "align", "=>": "align", "??=": "align"}}, "cast_spaces": {"space": "single"}, "class_attributes_separation": { "elements": ["const", "method", "property"] }, "combine_consecutive_issets": true, "compact_nullable_typehint": true, "declare_strict_types": true, "elseif": true, "encoding": true, "explicit_indirect_variable": true, "explicit_string_variable": true, "function_to_constant": true, "implode_call": true, "increment_style": {"style": "pre"}, "is_null": {"use_yoda_style": false}, "line_ending": true, "logical_operators": true, "lowercase_cast": true, "lowercase_constants": true, "lowercase_keywords": true, "modernize_types_casting": true, "native_constant_invocation": true, "native_function_casing": true, "native_function_invocation": true, "new_with_braces": true, "no_alias_functions": true, "no_closing_tag": true, "no_empty_comment": true, "no_empty_phpdoc": true, "no_empty_statement": true, "no_homoglyph_names": true, "no_mixed_echo_print": {"use": "echo"}, "no_php4_constructor": true, "no_singleline_whitespace_before_semicolons": true, "no_spaces_inside_parenthesis": true, "no_trailing_whitespace": true, "no_unneeded_final_method": true, "no_unused_imports": true, "no_useless_return": true, "no_whitespace_before_comma_in_array": true, "no_whitespace_in_blank_line": true, "non_printable_character": true, "normalize_index_brace": true, "ordered_imports": {"sort_algorithm": "alpha"}, "ordered_interfaces": {"order": "alpha"}, "php_unit_construct": true, "php_unit_internal_class": true, "php_unit_ordered_covers": true, "php_unit_set_up_tear_down_visibility": true, "phpdoc_indent": true, "phpdoc_align": {"align": "vertical"}, "phpdoc_annotation_without_dot": true, "phpdoc_scalar": true, "phpdoc_return_self_reference": {"this": "self"}, "phpdoc_trim": true, "phpdoc_trim_consecutive_blank_line_separation": true, "random_api_migration": true, "self_accessor": true, "return_type_declaration": {"space_before": "one"}, "semicolon_after_instruction": true, "set_type_to_cast": true, "short_scalar_cast": true, "single_blank_line_at_eof": true, "single_line_after_imports": true, "standardize_increment": true, "trailing_comma_in_multiline_array": true, "trim_array_spaces": true, "visibility_required": true, "void_return": true}'' --allow-risky=yes' - name: Check for modified files id: git-check run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi) diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 560af9e..2a69201 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -8,200 +8,200 @@ use phpOMS\Router\RouteVerb; return [ '^.*/accounting/personal/entries.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewPersonalEntries', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewPersonalEntries', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::PERSONAL, + 'type' => PermissionType::READ, + 'state' => PermissionState::PERSONAL, ], ], ], '^.*/accounting/impersonal/entries.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewImpersonalEntries', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewImpersonalEntries', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::IMPERSONAL, + 'type' => PermissionType::READ, + 'state' => PermissionState::IMPERSONAL, ], ], ], '^.*/accounting/entries.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewEntries', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewEntries', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::ENTRY, + 'type' => PermissionType::READ, + 'state' => PermissionState::ENTRY, ], ], ], '^.*/accounting/impersonal/journal/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewJournalList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewJournalList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::JOURNAL, + 'type' => PermissionType::READ, + 'state' => PermissionState::JOURNAL, ], ], ], '^.*/accounting/stack/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::STACK, + 'type' => PermissionType::READ, + 'state' => PermissionState::STACK, ], ], ], '^.*/accounting/stack/entries.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackEntries', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackEntries', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::STACK, + 'type' => PermissionType::READ, + 'state' => PermissionState::STACK, ], ], ], '^.*/accounting/stack/archive/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackArchiveList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackArchiveList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::STACK, + 'type' => PermissionType::READ, + 'state' => PermissionState::STACK, ], ], ], '^.*/accounting/stack/create.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackCreate', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackCreate', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::CREATE, - 'state' => PermissionState::STACK, + 'type' => PermissionType::CREATE, + 'state' => PermissionState::STACK, ], ], ], '^.*/accounting/stack/predefined/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackPredefinedList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewStackPredefinedList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::STACK, + 'type' => PermissionType::READ, + 'state' => PermissionState::STACK, ], ], ], '^.*/accounting/gl/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::GL, + 'type' => PermissionType::READ, + 'state' => PermissionState::GL, ], ], ], '^.*/accounting/gl/create.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLCreate', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLCreate', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::CREATE, - 'state' => PermissionState::GL, + 'type' => PermissionType::CREATE, + 'state' => PermissionState::GL, ], ], ], '^.*/accounting/gl/profile.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLProfile', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewGLProfile', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::GL, + 'type' => PermissionType::READ, + 'state' => PermissionState::GL, ], ], ], '^.*/accounting/dun/print.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::COST_CENTER, + 'type' => PermissionType::READ, + 'state' => PermissionState::COST_CENTER, ], ], ], '^.*/accounting/statement/print.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::ACCOUNT, + 'type' => PermissionType::READ, + 'state' => PermissionState::ACCOUNT, ], ], ], '^.*/accounting/balances/print.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::ACCOUNT, + 'type' => PermissionType::READ, + 'state' => PermissionState::ACCOUNT, ], ], ], '^.*/accounting/accountform/print.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterProfile', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::ACCOUNT, + 'type' => PermissionType::READ, + 'state' => PermissionState::ACCOUNT, ], ], ], '^.*/accounting/costcenter/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostCenterList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::COST_CENTER, + 'type' => PermissionType::READ, + 'state' => PermissionState::COST_CENTER, ], ], ], '^.*/accounting/costobject/list.*$' => [ [ - 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectList', - 'verb' => RouteVerb::GET, + 'dest' => '\Modules\Accounting\Controller\BackendController:viewCostObjectList', + 'verb' => RouteVerb::GET, 'permission' => [ 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => PermissionState::COST_OBJECT, + 'type' => PermissionType::READ, + 'state' => PermissionState::COST_OBJECT, ], ], ], diff --git a/Models/CostCenterMapper.php b/Models/CostCenterMapper.php index e54b358..f764e87 100644 --- a/Models/CostCenterMapper.php +++ b/Models/CostCenterMapper.php @@ -45,11 +45,11 @@ final class CostCenterMapper extends DataMapperAbstract */ protected static array $hasMany = [ 'l11n' => [ - 'mapper' => L11nCostCenterMapper::class, - 'table' => 'accounting_costcenter_l11n', - 'external' => 'accounting_costcenter_l11n_costcenter', + 'mapper' => L11nCostCenterMapper::class, + 'table' => 'accounting_costcenter_l11n', + 'external' => 'accounting_costcenter_l11n_costcenter', 'conditional' => true, - 'self' => null, + 'self' => null, ], ]; diff --git a/Models/CostObjectMapper.php b/Models/CostObjectMapper.php index 4c849d4..873bf99 100644 --- a/Models/CostObjectMapper.php +++ b/Models/CostObjectMapper.php @@ -33,7 +33,7 @@ final class CostObjectMapper extends DataMapperAbstract * @since 1.0.0 */ protected static array $columns = [ - 'accounting_costobject_id' => ['name' => 'accounting_costobject_id', 'type' => 'int', 'internal' => 'id'], + 'accounting_costobject_id' => ['name' => 'accounting_costobject_id', 'type' => 'int', 'internal' => 'id'], 'accounting_costobject_code' => ['name' => 'accounting_costobject_code', 'type' => 'string', 'internal' => 'code'], ]; @@ -45,11 +45,11 @@ final class CostObjectMapper extends DataMapperAbstract */ protected static array $hasMany = [ 'l11n' => [ - 'mapper' => L11nCostObjectMapper::class, - 'table' => 'accounting_costobject_l11n', - 'external' => 'accounting_costobject_l11n_costobject', + 'mapper' => L11nCostObjectMapper::class, + 'table' => 'accounting_costobject_l11n', + 'external' => 'accounting_costobject_l11n_costobject', 'conditional' => true, - 'self' => null, + 'self' => null, ], ]; diff --git a/Models/L11nCostCenter.php b/Models/L11nCostCenter.php index e336a8e..262e76e 100644 --- a/Models/L11nCostCenter.php +++ b/Models/L11nCostCenter.php @@ -189,10 +189,10 @@ class L11nCostCenter implements \JsonSerializable, ArrayableInterface public function toArray() : array { return [ - 'id' => $this->id, - 'name' => $this->name, + 'id' => $this->id, + 'name' => $this->name, 'costcenter' => $this->costcenter, - 'language' => $this->language, + 'language' => $this->language, ]; } diff --git a/Models/L11nCostCenterMapper.php b/Models/L11nCostCenterMapper.php index 1c58da1..288142d 100644 --- a/Models/L11nCostCenterMapper.php +++ b/Models/L11nCostCenterMapper.php @@ -36,11 +36,11 @@ final class L11nCostCenterMapper extends DataMapperAbstract * @since 1.0.0 */ protected static array $columns = [ - 'accounting_costcenter_l11n_id' => ['name' => 'accounting_costcenter_l11n_id', 'type' => 'int', 'internal' => 'id'], - 'accounting_costcenter_l11n_name' => ['name' => 'accounting_costcenter_l11n_name', 'type' => 'string', 'internal' => 'name', 'autocomplete' => true], - 'accounting_costcenter_l11n_description' => ['name' => 'accounting_costcenter_l11n_description', 'type' => 'string', 'internal' => 'description', 'autocomplete' => true], + 'accounting_costcenter_l11n_id' => ['name' => 'accounting_costcenter_l11n_id', 'type' => 'int', 'internal' => 'id'], + 'accounting_costcenter_l11n_name' => ['name' => 'accounting_costcenter_l11n_name', 'type' => 'string', 'internal' => 'name', 'autocomplete' => true], + 'accounting_costcenter_l11n_description' => ['name' => 'accounting_costcenter_l11n_description', 'type' => 'string', 'internal' => 'description', 'autocomplete' => true], 'accounting_costcenter_l11n_costcenter' => ['name' => 'accounting_costcenter_l11n_costcenter', 'type' => 'int', 'internal' => 'costcenter'], - 'accounting_costcenter_l11n_language' => ['name' => 'accounting_costcenter_l11n_language', 'type' => 'string', 'internal' => 'language'], + 'accounting_costcenter_l11n_language' => ['name' => 'accounting_costcenter_l11n_language', 'type' => 'string', 'internal' => 'language'], ]; /** @@ -51,10 +51,10 @@ final class L11nCostCenterMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'language' => [ - 'mapper' => LanguageMapper::class, - 'self' => 'accounting_costcenter_l11n_language', - 'by' => 'code2', - 'column' => 'code2', + 'mapper' => LanguageMapper::class, + 'self' => 'accounting_costcenter_l11n_language', + 'by' => 'code2', + 'column' => 'code2', 'conditional' => true, ], ]; diff --git a/Models/L11nCostObject.php b/Models/L11nCostObject.php index 193575b..4fe36be 100644 --- a/Models/L11nCostObject.php +++ b/Models/L11nCostObject.php @@ -189,10 +189,10 @@ class L11nCostObject implements \JsonSerializable, ArrayableInterface public function toArray() : array { return [ - 'id' => $this->id, - 'name' => $this->name, + 'id' => $this->id, + 'name' => $this->name, 'costobject' => $this->costobject, - 'language' => $this->language, + 'language' => $this->language, ]; } diff --git a/Models/L11nCostObjectMapper.php b/Models/L11nCostObjectMapper.php index d242062..006e881 100644 --- a/Models/L11nCostObjectMapper.php +++ b/Models/L11nCostObjectMapper.php @@ -36,11 +36,11 @@ final class L11nCostObjectMapper extends DataMapperAbstract * @since 1.0.0 */ protected static array $columns = [ - 'accounting_costobject_l11n_id' => ['name' => 'accounting_costobject_l11n_id', 'type' => 'int', 'internal' => 'id'], - 'accounting_costobject_l11n_name' => ['name' => 'accounting_costobject_l11n_name', 'type' => 'string', 'internal' => 'name', 'autocomplete' => true], - 'accounting_costobject_l11n_description' => ['name' => 'accounting_costobject_l11n_description', 'type' => 'string', 'internal' => 'description', 'autocomplete' => true], + 'accounting_costobject_l11n_id' => ['name' => 'accounting_costobject_l11n_id', 'type' => 'int', 'internal' => 'id'], + 'accounting_costobject_l11n_name' => ['name' => 'accounting_costobject_l11n_name', 'type' => 'string', 'internal' => 'name', 'autocomplete' => true], + 'accounting_costobject_l11n_description' => ['name' => 'accounting_costobject_l11n_description', 'type' => 'string', 'internal' => 'description', 'autocomplete' => true], 'accounting_costobject_l11n_costobject' => ['name' => 'accounting_costobject_l11n_costobject', 'type' => 'int', 'internal' => 'costobject'], - 'accounting_costobject_l11n_language' => ['name' => 'accounting_costobject_l11n_language', 'type' => 'string', 'internal' => 'language'], + 'accounting_costobject_l11n_language' => ['name' => 'accounting_costobject_l11n_language', 'type' => 'string', 'internal' => 'language'], ]; /** @@ -51,10 +51,10 @@ final class L11nCostObjectMapper extends DataMapperAbstract */ protected static array $ownsOne = [ 'language' => [ - 'mapper' => LanguageMapper::class, - 'self' => 'accounting_costobject_l11n_language', - 'by' => 'code2', - 'column' => 'code2', + 'mapper' => LanguageMapper::class, + 'self' => 'accounting_costobject_l11n_language', + 'by' => 'code2', + 'column' => 'code2', 'conditional' => true, ], ]; diff --git a/Theme/Backend/costcenter-list.tpl.php b/Theme/Backend/costcenter-list.tpl.php index 07e56b7..b1fed3f 100644 --- a/Theme/Backend/costcenter-list.tpl.php +++ b/Theme/Backend/costcenter-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Name'); ?> $value) : ++$count; - $url = UriFactory::build('{/prefix}tag/single?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/prefix}tag/single?{?}&id=' . $value->getId()); ?> printHtml($value->getCode()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/costobject-list.tpl.php b/Theme/Backend/costobject-list.tpl.php index 3a76ecf..ed2ff70 100644 --- a/Theme/Backend/costobject-list.tpl.php +++ b/Theme/Backend/costobject-list.tpl.php @@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?> getHtml('Name'); ?> $value) : ++$count; - $url = UriFactory::build('{/prefix}tag/single?{?}&id=' . $value->getId()); ?> + $url = UriFactory::build('{/prefix}tag/single?{?}&id=' . $value->getId()); ?> printHtml($value->getCode()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php index 92ee883..41912b3 100644 --- a/Theme/Backend/gl-list.tpl.php +++ b/Theme/Backend/gl-list.tpl.php @@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; - $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/journal-list.tpl.php b/Theme/Backend/journal-list.tpl.php index 892aec9..0e92e39 100644 --- a/Theme/Backend/journal-list.tpl.php +++ b/Theme/Backend/journal-list.tpl.php @@ -36,7 +36,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; - $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/stack-archive-list.tpl.php b/Theme/Backend/stack-archive-list.tpl.php index 6cf72c5..30df7e0 100644 --- a/Theme/Backend/stack-archive-list.tpl.php +++ b/Theme/Backend/stack-archive-list.tpl.php @@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; - $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/stack-list.tpl.php b/Theme/Backend/stack-list.tpl.php index 1dd473e..5bb9cb1 100644 --- a/Theme/Backend/stack-list.tpl.php +++ b/Theme/Backend/stack-list.tpl.php @@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; - $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?> diff --git a/Theme/Backend/stack-predefined-list.tpl.php b/Theme/Backend/stack-predefined-list.tpl.php index a25a69d..de583c1 100644 --- a/Theme/Backend/stack-predefined-list.tpl.php +++ b/Theme/Backend/stack-predefined-list.tpl.php @@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?> $value) : ++$c; - $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?>