mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-15 11:48:40 +00:00
Merge branch 'develop' of https://github.com/Orange-Management/oms-ItemManagement into develop
This commit is contained in:
commit
db1e1b1f30
|
|
@ -531,7 +531,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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -541,7 +541,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),
|
||||||
];
|
];
|
||||||
|
|
@ -560,9 +560,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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,8 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Localization\Money;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
*/
|
*/
|
||||||
|
|
||||||
echo $this->getData('nav')->render();
|
echo $this->getData('nav')->render();
|
||||||
?>
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user