mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-14 07:18:42 +00:00
Automated formatting changes
This commit is contained in:
parent
f72fcdaad9
commit
a5b4ba4d5d
|
|
@ -18,13 +18,13 @@ use Modules\Billing\Models\BillTypeL11n;
|
||||||
use Modules\Billing\Models\PurchaseBillMapper;
|
use Modules\Billing\Models\PurchaseBillMapper;
|
||||||
use Modules\Billing\Models\SalesBillMapper;
|
use Modules\Billing\Models\SalesBillMapper;
|
||||||
use Modules\Billing\Models\StockBillMapper;
|
use Modules\Billing\Models\StockBillMapper;
|
||||||
|
use phpOMS\Asset\AssetType;
|
||||||
use phpOMS\Contract\RenderableInterface;
|
use phpOMS\Contract\RenderableInterface;
|
||||||
|
use phpOMS\Localization\ISO3166CharEnum;
|
||||||
|
use phpOMS\Localization\ISO3166NameEnum;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
use phpOMS\Asset\AssetType;
|
|
||||||
use phpOMS\Localization\ISO3166CharEnum;
|
|
||||||
use phpOMS\Localization\ISO3166NameEnum;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Billing class.
|
* Billing class.
|
||||||
|
|
@ -389,7 +389,7 @@ final class BackendController extends Controller
|
||||||
for ($j = 1; $j < 11; ++$j) {
|
for ($j = 1; $j < 11; ++$j) {
|
||||||
$annualCustomersRep['Rep ' . $i][] = [
|
$annualCustomersRep['Rep ' . $i][] = [
|
||||||
'customers' => (int) (\mt_rand(200, 400) / 12),
|
'customers' => (int) (\mt_rand(200, 400) / 12),
|
||||||
'year' => 2020 - 10 + $j,
|
'year' => 2020 - 10 + $j,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -399,7 +399,7 @@ final class BackendController extends Controller
|
||||||
/////
|
/////
|
||||||
$currentCustomersCountry = [];
|
$currentCustomersCountry = [];
|
||||||
for ($i = 1; $i < 51; ++$i) {
|
for ($i = 1; $i < 51; ++$i) {
|
||||||
$country = ISO3166NameEnum::getRandom();
|
$country = ISO3166NameEnum::getRandom();
|
||||||
$currentCustomersCountry[\substr($country, 0, 20)] = [
|
$currentCustomersCountry[\substr($country, 0, 20)] = [
|
||||||
'customers' => (int) (\mt_rand(200, 400) / 12),
|
'customers' => (int) (\mt_rand(200, 400) / 12),
|
||||||
];
|
];
|
||||||
|
|
@ -418,9 +418,9 @@ final class BackendController extends Controller
|
||||||
for ($j = 1; $j < 11; ++$j) {
|
for ($j = 1; $j < 11; ++$j) {
|
||||||
$annualCustomersCountry[\substr($countryName, 0, 20)][] = [
|
$annualCustomersCountry[\substr($countryName, 0, 20)][] = [
|
||||||
'customers' => (int) (\mt_rand(200, 400) / 12),
|
'customers' => (int) (\mt_rand(200, 400) / 12),
|
||||||
'year' => 2020 - 10 + $j,
|
'year' => 2020 - 10 + $j,
|
||||||
'name' => $countryName,
|
'name' => $countryName,
|
||||||
'code' => $countryCode,
|
'code' => $countryCode,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -535,7 +535,7 @@ final class BackendController extends Controller
|
||||||
for ($j = 1; $j < 11; ++$j) {
|
for ($j = 1; $j < 11; ++$j) {
|
||||||
$annualCustomersRep['Rep ' . $i][] = [
|
$annualCustomersRep['Rep ' . $i][] = [
|
||||||
'customers' => (int) (\mt_rand(200, 400) / 12),
|
'customers' => (int) (\mt_rand(200, 400) / 12),
|
||||||
'year' => 2020 - 10 + $j,
|
'year' => 2020 - 10 + $j,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Localization\Money;
|
|
||||||
use phpOMS\Utils\RnG\Name;
|
|
||||||
|
|
||||||
/* @todo: single month/quarter/fiscal year/calendar year */
|
/* @todo: single month/quarter/fiscal year/calendar year */
|
||||||
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
||||||
|
|
||||||
|
|
@ -22,4 +19,3 @@ use phpOMS\Utils\RnG\Name;
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
*/
|
*/
|
||||||
echo $this->getData('nav')->render();
|
echo $this->getData('nav')->render();
|
||||||
?>
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Localization\Money;
|
use phpOMS\Localization\Money;
|
||||||
use phpOMS\Utils\RnG\Name;
|
|
||||||
|
|
||||||
/* @todo: single month/quarter/fiscal year/calendar year */
|
/* @todo: single month/quarter/fiscal year/calendar year */
|
||||||
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Localization\Money;
|
|
||||||
use phpOMS\Utils\RnG\Name;
|
|
||||||
|
|
||||||
/* @todo: single month/quarter/fiscal year/calendar year */
|
/* @todo: single month/quarter/fiscal year/calendar year */
|
||||||
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
/* @todo: time range (<= 12 month = monthly view; else annual view/comparison) */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user