mirror of
https://github.com/Karaka-Management/oms-Balance.git
synced 2026-01-10 14:48:41 +00:00
ui fixes
This commit is contained in:
parent
f1756a93a2
commit
2f8743c7f6
|
|
@ -10,6 +10,7 @@ return [
|
|||
[
|
||||
'dest' => '\Modules\Balance\Controller\BackendController:viewBalanceDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
'active' => true,
|
||||
'permission' => [
|
||||
'module' => BackendController::MODULE_NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Api method to create an account
|
||||
* Api method to create a BalanceElement
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
* @param ResponseAbstract $response Response
|
||||
|
|
@ -130,7 +130,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Validate account create request
|
||||
* Validate BalanceElement create request
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
|
|
@ -152,7 +152,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Method to create account from request.
|
||||
* Method to create BalanceElement from request.
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
|
|
@ -185,7 +185,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Api method to create item attribute l11n
|
||||
* Api method to create BalanceElement l11n
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
* @param ResponseAbstract $response Response
|
||||
|
|
@ -212,7 +212,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Method to create item attribute l11n from request.
|
||||
* Method to create BalanceElement l11n from request.
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
|
|
@ -231,7 +231,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
/**
|
||||
* Validate item attribute l11n create request
|
||||
* Validate BalanceElement l11n create request
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ return ['Balance' => [
|
|||
'Subtotal' => 'Zwischensumme',
|
||||
'Total' => 'Summe',
|
||||
'Diff' => 'Diff',
|
||||
'Settings' => 'Settings',
|
||||
'Diff%' => 'Diff %',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -27,5 +27,6 @@ return ['Balance' => [
|
|||
'Subtotal' => 'Subtotal',
|
||||
'Total' => 'Total',
|
||||
'Diff' => 'Diff',
|
||||
'Settings' => 'Settings',
|
||||
'Diff%' => 'Diff %',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ echo $this->data['nav']->render();
|
|||
min-height: 34px;
|
||||
}
|
||||
|
||||
.data-row div {
|
||||
.data-row > div {
|
||||
padding: .2rem 3px .2rem 3px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -182,7 +182,7 @@ echo $this->data['nav']->render();
|
|||
background: #efefef;
|
||||
}
|
||||
|
||||
.data-row div:nth-child(n+3) {
|
||||
.data-row > div:nth-child(n+3) {
|
||||
width: 95px;
|
||||
justify-content: end;
|
||||
}
|
||||
|
|
@ -203,100 +203,112 @@ echo $this->data['nav']->render();
|
|||
</style>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="box">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<select id="iStructure" name="structure" data-action='[{"listener": "change", "action": [{"key": 1, "type": "redirect", "uri": "{%}&structure={#iStructure}", "target": "self"}]}]'>
|
||||
<?php foreach ($this->data['structures'] as $structure) : ?>
|
||||
<option value="<?= $structure->id; ?>"<?= $this->request->getDataInt('structure') === $structure->id ? ' selected' : ''; ?>><?= $this->printHtml($structure->name); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="box more-container">
|
||||
<label for="more-settings">
|
||||
<span><?= $this->getHtml('Settings'); ?></span>
|
||||
<i class="g-icon expand">chevron_right</i>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="input-control">
|
||||
<select id="iLanguage" name="language" data-action='[{"listener": "change", "action": [{"key": 1, "type": "redirect", "uri": "{%}&language={#iLanguage}", "target": "self"}]}]'>
|
||||
<?php foreach ($this->data['languages'] as $language) : ?>
|
||||
<option value="<?= $language; ?>"<?= $this->request->getDataString('language') === $language ? ' selected' : ''; ?>><?= $this->printHtml(ISO639Enum::getBy2Code($language)); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<div class="wf-100 more-container flex">
|
||||
<input id="more-settings" type="checkbox" name="more-container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<div class="box">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<select id="iStructure" name="structure" data-action='[{"listener": "change", "action": [{"key": 1, "type": "redirect", "uri": "{%}&structure={#iStructure}", "target": "self"}]}]'>
|
||||
<?php foreach ($this->data['structures'] as $structure) : ?>
|
||||
<option value="<?= $structure->id; ?>"<?= $this->request->getDataInt('structure') === $structure->id ? ' selected' : ''; ?>><?= $this->printHtml($structure->name); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-control">
|
||||
<select id="iLanguage" name="language" data-action='[{"listener": "change", "action": [{"key": 1, "type": "redirect", "uri": "{%}&language={#iLanguage}", "target": "self"}]}]'>
|
||||
<?php foreach ($this->data['languages'] as $language) : ?>
|
||||
<option value="<?= $language; ?>"<?= $this->request->getDataString('language') === $language ? ' selected' : ''; ?>><?= $this->printHtml(ISO639Enum::getBy2Code($language)); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Interval'); ?></label>
|
||||
<select>
|
||||
<option><?= $this->getHtml('Monthly'); ?>
|
||||
<option><?= $this->getHtml('Quarterly'); ?>
|
||||
<option><?= $this->getHtml('Annually'); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Environment'); ?></label>
|
||||
<select></select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Submit', '0', '0'); ?>">
|
||||
<input class="close" type="submit" value="<?= $this->getHtml('Reset', '0', '0'); ?>">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Interval'); ?></label>
|
||||
<select>
|
||||
<option><?= $this->getHtml('Monthly'); ?>
|
||||
<option><?= $this->getHtml('Quarterly'); ?>
|
||||
<option><?= $this->getHtml('Annually'); ?>
|
||||
</select>
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Environment'); ?></label>
|
||||
<select></select>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Interval'); ?></label>
|
||||
<select>
|
||||
<option><?= $this->getHtml('Monthly'); ?>
|
||||
<option><?= $this->getHtml('Quarterly'); ?>
|
||||
<option><?= $this->getHtml('Annually'); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Environment'); ?></label>
|
||||
<select></select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Submit', '0', '0'); ?>">
|
||||
<input class="close" type="submit" value="<?= $this->getHtml('Reset', '0', '0'); ?>">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<section class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Start'); ?></label>
|
||||
<input type="date">
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Submit', '0', '0'); ?>">
|
||||
<input class="close" type="submit" value="<?= $this->getHtml('Reset', '0', '0'); ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Interval'); ?></label>
|
||||
<select>
|
||||
<option><?= $this->getHtml('Monthly'); ?>
|
||||
<option><?= $this->getHtml('Quarterly'); ?>
|
||||
<option><?= $this->getHtml('Annually'); ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-control">
|
||||
<label><?= $this->getHtml('Environment'); ?></label>
|
||||
<select></select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input type="submit" value="<?= $this->getHtml('Submit', '0', '0'); ?>">
|
||||
<input class="close" type="submit" value="<?= $this->getHtml('Reset', '0', '0'); ?>">
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user