mirror of
https://github.com/Karaka-Management/oms-Finance.git
synced 2026-02-15 21:08:41 +00:00
bump
This commit is contained in:
parent
e303d72a2f
commit
76ab2e8135
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.
|
|
||||||
|
|
@ -47,9 +47,9 @@ final class BackendController extends Controller
|
||||||
$head = $response->data['Content']->head;
|
$head = $response->data['Content']->head;
|
||||||
$nonce = $this->app->appSettings->getOption('script-nonce');
|
$nonce = $this->app->appSettings->getOption('script-nonce');
|
||||||
|
|
||||||
$head->addAsset(AssetType::CSS, 'Resources/chartjs/chart.css');
|
$head->addAsset(AssetType::CSS, 'Resources/chartjs/chart.css?v=' . $this->app->version);
|
||||||
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/chart.js', ['nonce' => $nonce]);
|
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/chart.js?v=' . $this->app->version, ['nonce' => $nonce]);
|
||||||
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
|
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js?v=' . self::VERSION, ['nonce' => $nonce, 'type' => 'module']);
|
||||||
|
|
||||||
$view = new View($this->app->l11nManager, $request, $response);
|
$view = new View($this->app->l11nManager, $request, $response);
|
||||||
$view->setTemplate('/Modules/Sales/Theme/Backend/sales-analysis-dashboard');
|
$view->setTemplate('/Modules/Sales/Theme/Backend/sales-analysis-dashboard');
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use phpOMS\Localization\Money;
|
use phpOMS\Localization\Money;
|
||||||
|
use phpOMS\Stdlib\Base\FloatInt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \phpOMS\Views\View $this
|
* @var \phpOMS\Views\View $this
|
||||||
|
|
@ -58,7 +59,7 @@ echo $this->data['nav']->render();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-lg-4">
|
<div class="col-xs-12 col-lg-4">
|
||||||
<section class="portlet highlight-2">
|
<section class="portlet hl-2">
|
||||||
<div class="portlet-head">Actual</div>
|
<div class="portlet-head">Actual</div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
@ -85,7 +86,7 @@ echo $this->data['nav']->render();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-lg-4">
|
<div class="col-xs-12 col-lg-4">
|
||||||
<section class="portlet highlight-3">
|
<section class="portlet hl-3">
|
||||||
<div class="portlet-head">Budget</div>
|
<div class="portlet-head">Budget</div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
@ -223,7 +224,7 @@ echo $this->data['nav']->render();
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $values['month'] . '/' . \substr((string) $values['year'], -2); ?>
|
<td><?= $values['month'] . '/' . \substr((string) $values['year'], -2); ?>
|
||||||
<td><?= (new Money(((int) $values['net_sales']) / 10000))->getCurrency(); ?>
|
<td><?= (new Money(((int) $values['net_sales']) / FloatInt::DIVISOR))->getCurrency(); ?>
|
||||||
<td><?= ((int) $values['customers']); ?>
|
<td><?= ((int) $values['customers']); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -343,7 +344,7 @@ echo $this->data['nav']->render();
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= (string) $values['year']; ?>
|
<td><?= (string) $values['year']; ?>
|
||||||
<td><?= (new Money(((int) $values['net_sales']) / 10000))->getCurrency(); ?>
|
<td><?= (new Money(((int) $values['net_sales']) / FloatInt::DIVISOR))->getCurrency(); ?>
|
||||||
<td><?= ((int) $values['customers']); ?>
|
<td><?= ((int) $values['customers']); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user