This commit is contained in:
Dennis Eichhorn 2024-04-07 17:31:42 +00:00
parent 4343e20b38
commit 651df90a36
5 changed files with 103 additions and 88 deletions

View File

@ -10,6 +10,7 @@ return [
[
'dest' => '\Modules\IncomeStatement\Controller\BackendController:viewPLDashboard',
'verb' => RouteVerb::GET,
'active' => true,
'permission' => [
'module' => BackendController::MODULE_NAME,
'type' => PermissionType::READ,

View File

@ -103,7 +103,7 @@ final class ApiController extends Controller
}
/**
* Api method to create an account
* Api method to create a IncomeStatementElement
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
@ -130,7 +130,7 @@ final class ApiController extends Controller
}
/**
* Validate account create request
* Validate IncomeStatementElement create request
*
* @param RequestAbstract $request Request
*
@ -152,7 +152,7 @@ final class ApiController extends Controller
}
/**
* Method to create account from request.
* Method to create IncomeStatementElement 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 IncomeStatementElement 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 IncomeStatementElement l11n from request.
*
* @param RequestAbstract $request Request
*
@ -231,7 +231,7 @@ final class ApiController extends Controller
}
/**
* Validate item attribute l11n create request
* Validate IncomeStatementElement l11n create request
*
* @param RequestAbstract $request Request
*

View File

@ -23,6 +23,7 @@ return ['IncomeStatement' => [
'Monthly' => 'Monatlich',
'Quarterly' => 'Quartalsweise',
'Annually' => 'Jährlich',
'Settings' => 'Settings',
'Category' => 'Kategorie',
'Subtotal' => 'Zwischensumme',
'Total' => 'Summe',

View File

@ -21,6 +21,7 @@ return ['IncomeStatement' => [
'Interval' => 'Interval',
'Environment' => 'Environment',
'Monthly' => 'Monthly',
'Settings' => 'Settings',
'Quarterly' => 'Quarterly',
'Annually' => 'Annually',
'Category' => 'Category',

View File

@ -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>