diverse verzoeken Peter

This commit is contained in:
2020-08-21 15:04:59 +02:00
parent 437d969313
commit 653ae0342f
6 changed files with 20 additions and 10 deletions
@@ -53,13 +53,13 @@ class DashboardController extends MY_Controller {
'revenuesThisYear' => $this->getRevenuesThisYear(),
'currentFinancialYear' => round( $currentFinancialYear ),
'owpNextyear' => round( $totalOwp - $currentFinancialYear ),
'revenuesNextyear' => round( $currentFinancialYear / 0.4 ),
'revenuesNextyear' => round( $totalOwp / 0.4 ),
'totalRevenues' => round( $totalRevenues ),
'outstandings' => $this->invoiceOverviews,
'costsToPay' => $this->reservations(),
'invoiced' => $this->getInvoiced(),
'totalChance' => $this->getChanceRevenues(),
'totalPayment' => Payment::getPaymentInYear( date( 'Y' ))
'totalPayment' => round( Payment::getPaymentInYear( date( 'Y' )))
] );
}
@@ -36,6 +36,7 @@ class ReportsController extends MY_Controller {
$projects = $recapprojects->getProjects();
$this->json( $projects );
}
+1 -1
View File
@@ -16,7 +16,7 @@ class MY_Controller extends CI_Controller {
{
parent::__construct();
$this->version = '1.00.52';
$this->version = '1.00.6';
$this->load->library( 'beheer/session/RetrieveUserSession' );
@@ -112,6 +112,7 @@ class InvoiceForecast {
private function setProjectDetails()
{
$this->projectDetails = [
'projectnumber' => $this->project->projectnumber,
'projectname' => $this->projectname,
'customer' => $this->customer,
'needInvoice' => number_format( $this->needInvoice, 0, ',', '.' ),
@@ -62,7 +62,7 @@
<div data-bind="visible:invoiceTab() == 'invoice'">
<?php $this->load->view('reports/invoices/invoiceoverview_report'); ?>
</div>
<div id="invoiceforecast" data-bind="visible:invoiceTab() == 'forecast'">
<div id="cast" data-bind="visible:invoiceTab() == 'forecast'">
<?php $this->load->view('reports/invoices/invoiceforecast_report'); ?>
</div>
<div id="invoiceforecast" data-bind="visible:invoiceTab() == 'monthforecast'">
@@ -1,6 +1,13 @@
<table class="table table-condensed" style="font-size:0.8em;">
<thead>
<tr>
<th class="rotate">
<div class="pointer">
<span data-bind="click:sortList.bind($data, 'projectnumber')">
projectnummer
</span>
</div>
</th>
<th class="rotate">
<div><span>project</span></div>
</th>
@@ -24,6 +31,7 @@
<tbody>
<!-- ko foreach: forecasts -->
<tr>
<td><span data-bind="text:projectnumber"></span></td>
<td><span data-bind="text:projectname"></span></td>
<td><span data-bind="text:customer"></span></td>
<td class="align-right"><span data-bind="text:needInvoice"></span></td>