mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-17 20:58:43 +00:00
bug and media fixes
This commit is contained in:
parent
01d4320fa3
commit
5766dae413
|
|
@ -274,8 +274,8 @@ echo $this->getData('nav')->render();
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
||||||
<select form="fLocalization" name="settings_currencyformat">
|
<select form="fLocalization" name="settings_currencyformat">
|
||||||
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
<option value="0"<?= $this->printHtml($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
||||||
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
<option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -464,8 +464,8 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
||||||
<select form="fLocalization" name="settings_currencyformat">
|
<select form="fLocalization" name="settings_currencyformat">
|
||||||
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
<option value="0"<?= $this->printHtml($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
||||||
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
<option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
||||||
|
|
@ -275,8 +275,8 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
||||||
<select form="fLocalization" name="settings_currencyformat">
|
<select form="fLocalization" name="settings_currencyformat">
|
||||||
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
<option value="0"<?= $this->printHtml($l11n->getCurrencyFormat() === '0' ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
||||||
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
<option value="1"<?= $this->printHtml($l11n->getCurrencyFormat() === '1' ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -392,4 +392,4 @@ function phpServe() : void
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
phpServe();
|
\phpServe();
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Admin\tests\Controller\Api;
|
namespace Modules\Admin\tests\Controller\Api;
|
||||||
|
|
||||||
use phpOMS\Account\GroupStatus;
|
|
||||||
use phpOMS\Account\AccountStatus;
|
use phpOMS\Account\AccountStatus;
|
||||||
use phpOMS\Account\AccountType;
|
use phpOMS\Account\AccountType;
|
||||||
use phpOMS\Message\Http\HttpRequest;
|
use phpOMS\Message\Http\HttpRequest;
|
||||||
|
|
|
||||||
|
|
@ -22,11 +22,11 @@ use Modules\Admin\tests\Controller\Api\ApiControllerGroupTrait;
|
||||||
use Modules\Admin\tests\Controller\Api\ApiControllerModuleTrait;
|
use Modules\Admin\tests\Controller\Api\ApiControllerModuleTrait;
|
||||||
use Modules\Admin\tests\Controller\Api\ApiControllerPermissionTrait;
|
use Modules\Admin\tests\Controller\Api\ApiControllerPermissionTrait;
|
||||||
use Modules\Admin\tests\Controller\Api\ApiControllerSettingsTrait;
|
use Modules\Admin\tests\Controller\Api\ApiControllerSettingsTrait;
|
||||||
use phpOMS\DataStorage\Session\HttpSession;
|
|
||||||
use phpOMS\Account\Account;
|
use phpOMS\Account\Account;
|
||||||
use phpOMS\Account\AccountManager;
|
use phpOMS\Account\AccountManager;
|
||||||
use phpOMS\Account\PermissionType;
|
use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Application\ApplicationAbstract;
|
use phpOMS\Application\ApplicationAbstract;
|
||||||
|
use phpOMS\DataStorage\Session\HttpSession;
|
||||||
use phpOMS\Dispatcher\Dispatcher;
|
use phpOMS\Dispatcher\Dispatcher;
|
||||||
use phpOMS\Event\EventManager;
|
use phpOMS\Event\EventManager;
|
||||||
use phpOMS\Module\ModuleAbstract;
|
use phpOMS\Module\ModuleAbstract;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ namespace Modules\Admin\tests\Models;
|
||||||
|
|
||||||
use Modules\Admin\Models\Address;
|
use Modules\Admin\Models\Address;
|
||||||
use Modules\Admin\Models\AddressMapper;
|
use Modules\Admin\Models\AddressMapper;
|
||||||
use phpOMS\Utils\TestUtils;
|
|
||||||
use phpOMS\Stdlib\Base\AddressType;
|
use phpOMS\Stdlib\Base\AddressType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ namespace Modules\Admin\tests\Models;
|
||||||
use Modules\Admin\Models\App;
|
use Modules\Admin\Models\App;
|
||||||
use Modules\Admin\Models\AppMapper;
|
use Modules\Admin\Models\AppMapper;
|
||||||
use phpOMS\Application\ApplicationStatus;
|
use phpOMS\Application\ApplicationStatus;
|
||||||
use phpOMS\Utils\TestUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @testdox Modules\Admin\tests\Models\AppMapperTest: App database mapper
|
* @testdox Modules\Admin\tests\Models\AppMapperTest: App database mapper
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user