This commit is contained in:
Dennis Eichhorn 2024-02-28 05:09:10 +00:00
parent 64e8499761
commit f8289db5d5
6 changed files with 12 additions and 65 deletions

View File

@ -1,35 +0,0 @@
---
name: Dev Bug Report
about: Create a report to help us improve
title: ''
labels: stat_backlog, type_bug
assignees: ''
---
# Bug Description
A clear and concise description of what the bug is.
# How to Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
## Minimal Code Example
```
// your code ...
```
# Expected Behavior
A clear and concise description of what you expected to happen.
# Screenshots
If applicable, add screenshots to help explain your problem.
# Additional Information
Add any other context about the problem here.

View File

@ -1,18 +0,0 @@
---
name: Dev Feature Request
about: Suggest an idea for this project
title: ''
labels: stat_backlog, type_feature
assignees: ''
---
# What is the feature you request
* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
* A clear and concise description of what you want to happen.
# Alternatives
A clear and concise description of any alternative solutions or features you've considered.
# Additional Information
Add any other context or screenshots about the feature request here.

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "BusinessExpenses",
"uri": "{/base}/businessexpenses/expense/list",
"uri": "{/base}/businessexpenses/expense/list?{?}",
"target": "self",
"icon": null,
"order": 40,
@ -19,7 +19,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/businessexpenses/expense/list",
"uri": "{/base}/businessexpenses/expense/list?{?}",
"target": "self",
"icon": null,
"order": 40,
@ -35,7 +35,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/businessexpenses/expense/create",
"uri": "{/base}/businessexpenses/expense/create?{?}",
"target": "self",
"icon": null,
"order": 40,
@ -53,7 +53,7 @@
"type": 2,
"subtype": 1,
"name": "BusinessExpenses",
"uri": "{/base}/businessexpenses/expense/list",
"uri": "{/base}/businessexpenses/expense/list?{?}",
"target": "self",
"icon": null,
"order": 40,
@ -67,7 +67,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "{/base}/businessexpenses/expense/list",
"uri": "{/base}/businessexpenses/expense/list?{?}",
"target": "self",
"icon": null,
"order": 40,
@ -83,7 +83,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "{/base}/businessexpenses/expense/create",
"uri": "{/base}/businessexpenses/expense/create?{?}",
"target": "self",
"icon": null,
"order": 40,

View File

@ -83,7 +83,7 @@ final class Installer extends InstallerAbstract
$expenseTypes = [];
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
$module = $app->moduleManager->getModuleInstance('BusinessExpenses');
$module = $app->moduleManager->get('BusinessExpenses');
/** @var array $type */
foreach ($types as $type) {
@ -144,7 +144,7 @@ final class Installer extends InstallerAbstract
$elementTypes = [];
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
$module = $app->moduleManager->getModuleInstance('BusinessExpenses');
$module = $app->moduleManager->get('BusinessExpenses');
/** @var array $type */
foreach ($types as $type) {

View File

@ -119,8 +119,8 @@ echo $this->data['nav']->render(); ?>
<td>
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a>
<td data-label="<?= $this->getHtml('Status'); ?>"><a href="<?= $url; ?>"><?= $this->getHtml(':status' . $value->status); ?></a>
<td class="centerText" data-label="<?= $this->getHtml('Paid'); ?>"><a href="<?= $url; ?>"><i class="g-icon"><?= $value->paid ? 'check' : 'close'; ?></i></a>
<td class="centerText" data-label="<?= $this->getHtml('Approved'); ?>"><a href="<?= $url; ?>"><i class="g-icon"><?= $value->approved ? 'check' : 'close'; ?></i></a>
<td class="cT" data-label="<?= $this->getHtml('Paid'); ?>"><a href="<?= $url; ?>"><i class="g-icon"><?= $value->paid ? 'check' : 'close'; ?></i></a>
<td class="cT" data-label="<?= $this->getHtml('Approved'); ?>"><a href="<?= $url; ?>"><i class="g-icon"><?= $value->approved ? 'check' : 'close'; ?></i></a>
<td data-label="<?= $this->getHtml('From'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->from->name1, $value->from->name2, $value->from->name3])); ?></a>
<td data-label="<?= $this->getHtml('Amount'); ?>"><a href="<?= $url; ?>"><?= $this->getCurrency($value->gross, symbol: ''); ?></a>
<td data-label="<?= $this->getHtml('Start'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->start->format('Y-m-d')); ?></a>

View File

@ -34,7 +34,7 @@ echo $this->data['nav']->render(); ?>
<div class="tab">
<div class="row">
<div class="col-xs-12 col-lg-6">
<section class="portlet highlight-2">
<section class="portlet hl-2">
<div class="portlet-body">
<table class="wf-100">
<tr><td><?= $this->getHtml('Net'); ?>:
@ -47,7 +47,7 @@ echo $this->data['nav']->render(); ?>
</div>
<div class="col-xs-12 col-lg-6">
<section class="portlet highlight-3">
<section class="portlet hl-3">
<div class="portlet-body">
<table class="wf-100">
<tr><td><?= $this->getHtml('Approved'); ?>: