mirror of
https://github.com/Karaka-Management/oms-SalesAnalysis.git
synced 2026-01-10 19:08:40 +00:00
todos fixed
This commit is contained in:
parent
ae44226b1f
commit
8cda8a357a
0
Admin/Install/Navigation.install.json
Normal file → Executable file
0
Admin/Install/Navigation.install.json
Normal file → Executable file
0
Admin/Install/Navigation.php
Normal file → Executable file
0
Admin/Install/Navigation.php
Normal file → Executable file
0
Admin/Installer.php
Normal file → Executable file
0
Admin/Installer.php
Normal file → Executable file
0
Admin/Routes/Web/Backend.php
Normal file → Executable file
0
Admin/Routes/Web/Backend.php
Normal file → Executable file
0
Admin/Status.php
Normal file → Executable file
0
Admin/Status.php
Normal file → Executable file
0
Admin/Uninstaller.php
Normal file → Executable file
0
Admin/Uninstaller.php
Normal file → Executable file
0
Admin/Updater.php
Normal file → Executable file
0
Admin/Updater.php
Normal file → Executable file
0
Controller/BackendController.php
Normal file → Executable file
0
Controller/BackendController.php
Normal file → Executable file
0
Controller/Controller.js
Normal file → Executable file
0
Controller/Controller.js
Normal file → Executable file
0
Controller/Controller.php
Normal file → Executable file
0
Controller/Controller.php
Normal file → Executable file
0
Models/ClientMapper.php
Normal file → Executable file
0
Models/ClientMapper.php
Normal file → Executable file
4
Models/GeneralMapper.php
Normal file → Executable file
4
Models/GeneralMapper.php
Normal file → Executable 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
0
Models/ItemMapper.php
Normal file → Executable file
0
Models/PermissionCategory.php
Normal file → Executable file
0
Models/PermissionCategory.php
Normal file → Executable file
8
Models/RegionMapper.php
Normal file → Executable file
8
Models/RegionMapper.php
Normal file → Executable 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
Theme/Backend/Lang/Navigation.en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/Navigation.en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable file
0
Theme/Backend/Lang/en.lang.php
Normal file → Executable 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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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
0
Theme/Backend/analysis-overview-dashboard.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-overview-data.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-overview-data.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-products-dashboard.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-products-dashboard.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-products-data.tpl.php
Normal file → Executable file
0
Theme/Backend/analysis-products-data.tpl.php
Normal file → Executable 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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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
0
img/module_teaser_small.png
Normal file → Executable file
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
Loading…
Reference in New Issue
Block a user