mirror of
https://github.com/Karaka-Management/oms-BusinessExpenses.git
synced 2026-01-11 15:18:44 +00:00
bump
This commit is contained in:
parent
64e8499761
commit
f8289db5d5
35
.github/dev_bug_report.md
vendored
35
.github/dev_bug_report.md
vendored
|
|
@ -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.
|
|
||||||
18
.github/dev_feature_request.md
vendored
18
.github/dev_feature_request.md
vendored
|
|
@ -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.
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "BusinessExpenses",
|
"name": "BusinessExpenses",
|
||||||
"uri": "{/base}/businessexpenses/expense/list",
|
"uri": "{/base}/businessexpenses/expense/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "{/base}/businessexpenses/expense/list",
|
"uri": "{/base}/businessexpenses/expense/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Create",
|
"name": "Create",
|
||||||
"uri": "{/base}/businessexpenses/expense/create",
|
"uri": "{/base}/businessexpenses/expense/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "BusinessExpenses",
|
"name": "BusinessExpenses",
|
||||||
"uri": "{/base}/businessexpenses/expense/list",
|
"uri": "{/base}/businessexpenses/expense/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "{/base}/businessexpenses/expense/list",
|
"uri": "{/base}/businessexpenses/expense/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Create",
|
"name": "Create",
|
||||||
"uri": "{/base}/businessexpenses/expense/create",
|
"uri": "{/base}/businessexpenses/expense/create?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 40,
|
"order": 40,
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ final class Installer extends InstallerAbstract
|
||||||
$expenseTypes = [];
|
$expenseTypes = [];
|
||||||
|
|
||||||
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
|
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
|
||||||
$module = $app->moduleManager->getModuleInstance('BusinessExpenses');
|
$module = $app->moduleManager->get('BusinessExpenses');
|
||||||
|
|
||||||
/** @var array $type */
|
/** @var array $type */
|
||||||
foreach ($types as $type) {
|
foreach ($types as $type) {
|
||||||
|
|
@ -144,7 +144,7 @@ final class Installer extends InstallerAbstract
|
||||||
$elementTypes = [];
|
$elementTypes = [];
|
||||||
|
|
||||||
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
|
/** @var \Modules\BusinessExpenses\Controller\ApiController $module */
|
||||||
$module = $app->moduleManager->getModuleInstance('BusinessExpenses');
|
$module = $app->moduleManager->get('BusinessExpenses');
|
||||||
|
|
||||||
/** @var array $type */
|
/** @var array $type */
|
||||||
foreach ($types as $type) {
|
foreach ($types as $type) {
|
||||||
|
|
|
||||||
|
|
@ -119,8 +119,8 @@ echo $this->data['nav']->render(); ?>
|
||||||
<td>
|
<td>
|
||||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->id; ?></a>
|
<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 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="cT" 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('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('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('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>
|
<td data-label="<?= $this->getHtml('Start'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->start->format('Y-m-d')); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-lg-6">
|
<div class="col-xs-12 col-lg-6">
|
||||||
<section class="portlet highlight-2">
|
<section class="portlet hl-2">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="wf-100">
|
<table class="wf-100">
|
||||||
<tr><td><?= $this->getHtml('Net'); ?>:
|
<tr><td><?= $this->getHtml('Net'); ?>:
|
||||||
|
|
@ -47,7 +47,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-lg-6">
|
<div class="col-xs-12 col-lg-6">
|
||||||
<section class="portlet highlight-3">
|
<section class="portlet hl-3">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="wf-100">
|
<table class="wf-100">
|
||||||
<tr><td><?= $this->getHtml('Approved'); ?>:
|
<tr><td><?= $this->getHtml('Approved'); ?>:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user