diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 3a744c4..756486f 100644 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -10,6 +10,7 @@ return [ [ 'dest' => '\Modules\StockTaking\Controller\ApiController:apiStockTakingCreate', 'verb' => RouteVerb::PUT, + 'csrf' => true, 'permission' => [ 'module' => ApiController::MODULE_NAME, 'type' => PermissionType::READ, @@ -21,6 +22,7 @@ return [ [ 'dest' => '\Modules\StockTaking\Controller\ApiController:apiStockTakingEntryCreate', 'verb' => RouteVerb::SET, + 'csrf' => true, 'permission' => [ 'module' => ApiController::MODULE_NAME, 'type' => PermissionType::READ, diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php new file mode 100644 index 0000000..8d7e44f --- /dev/null +++ b/Theme/Backend/Lang/de.lang.php @@ -0,0 +1,19 @@ + [ + 'Stocktaking' => 'Inventur', + 'Date' => 'Datum', + 'Status' => 'Status', +]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index ba6f41b..2163f07 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -13,4 +13,7 @@ declare(strict_types=1); return ['StockTaking' => [ + 'Stocktaking' => 'Stock Taking', + 'Date' => 'Date', + 'Status' => 'Status', ]]; diff --git a/Theme/Backend/stock-counting.tpl.php b/Theme/Backend/stock-counting.tpl.php index 27d734b..b87b50f 100644 --- a/Theme/Backend/stock-counting.tpl.php +++ b/Theme/Backend/stock-counting.tpl.php @@ -43,7 +43,7 @@ echo $this->data['nav']->render(); ?> ?>