todos fixed

This commit is contained in:
Dennis Eichhorn 2023-10-12 22:49:21 +00:00
parent ae44226b1f
commit 8cda8a357a
28 changed files with 6 additions and 21 deletions

0
Admin/Install/Navigation.install.json Normal file → Executable file
View File

0
Admin/Install/Navigation.php Normal file → Executable file
View File

0
Admin/Installer.php Normal file → Executable file
View File

0
Admin/Routes/Web/Backend.php Normal file → Executable file
View File

0
Admin/Status.php Normal file → Executable file
View File

0
Admin/Uninstaller.php Normal file → Executable file
View File

0
Admin/Updater.php Normal file → Executable file
View File

0
Controller/BackendController.php Normal file → Executable file
View File

0
Controller/Controller.js Normal file → Executable file
View File

0
Controller/Controller.php Normal file → Executable file
View File

0
Models/ClientMapper.php Normal file → Executable file
View File

4
Models/GeneralMapper.php Normal file → Executable file
View File

@ -163,8 +163,8 @@ class GeneralMapper extends DataMapperFactory
$oldIndex = 1;
// @todo: this calculation doesn't consider the start of the fiscal year
$period = ((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1;
$period = (int) (((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1);
foreach ($results as $result) {
$monthIndex = SmartDateTime::calculateMonthIndex((int) $result['salesmonth'], $businessStart);

0
Models/ItemMapper.php Normal file → Executable file
View File

0
Models/PermissionCategory.php Normal file → Executable file
View File

8
Models/RegionMapper.php Normal file → Executable file
View File

@ -147,8 +147,8 @@ class RegionMapper extends DataMapperFactory
$oldIndex = 1;
// @todo: this calculation doesn't consider the start of the fiscal year
$period = ((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1;
$period = (int) (((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1);
foreach ($results as $result) {
$monthIndex = SmartDateTime::calculateMonthIndex((int) $result['salesmonth'], $businessStart);
@ -324,8 +324,8 @@ class RegionMapper extends DataMapperFactory
$oldIndex = 1;
// @todo: this calculation doesn't consider the start of the fiscal year
$period = ((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1;
$period = (int) (((((int) $results[0]['salesyear']) - ((int) $historyStart->format('Y'))) * 12
- ((int) $results[0]['salesmonth']) + ((int) $historyStart->format('m'))) / 12 + 1);
foreach ($results as $result) {
$monthIndex = SmartDateTime::calculateMonthIndex((int) $result['salesmonth'], $businessStart);

0
README.md Normal file → Executable file
View File

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

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

View File

@ -12,9 +12,6 @@
*/
declare(strict_types=1);
/* @todo: single month/quarter/fiscal year/calendar year */
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
/**
* @var \phpOMS\Views\View $this
*/

View File

@ -12,12 +12,6 @@
*/
declare(strict_types=1);
use phpOMS\Localization\Money;
use phpOMS\Utils\RnG\Name;
/* @todo: single month/quarter/fiscal year/calendar year */
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
/**
* @var \phpOMS\Views\View $this
*/

0
Theme/Backend/analysis-overview-dashboard.tpl.php Normal file → Executable file
View File

0
Theme/Backend/analysis-overview-data.tpl.php Normal file → Executable file
View File

0
Theme/Backend/analysis-products-dashboard.tpl.php Normal file → Executable file
View File

0
Theme/Backend/analysis-products-data.tpl.php Normal file → Executable file
View File

View File

@ -15,9 +15,6 @@ declare(strict_types=1);
use phpOMS\Localization\ISO3166CharEnum;
use phpOMS\Localization\ISO3166NameEnum;
/* @todo: single month/quarter/fiscal year/calendar year */
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
/**
* @var \phpOMS\Views\View $this
*/

View File

@ -12,9 +12,6 @@
*/
declare(strict_types=1);
/* @todo: single month/quarter/fiscal year/calendar year */
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
/**
* @var \phpOMS\Views\View $this
*/

0
img/module_teaser_small.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

0
info.json Normal file → Executable file
View File