diverse verzoeken Peter
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
@@ -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, ',', '.' ),
|
||||
@@ -121,4 +122,4 @@ class InvoiceForecast {
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,9 +1,16 @@
|
||||
<table class="table table-condensed" style="font-size:0.8em;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="rotate">
|
||||
<div><span>project</span></div>
|
||||
</th>
|
||||
<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>
|
||||
<th class="rotate">
|
||||
<div><span>klant</span></div>
|
||||
</th>
|
||||
@@ -24,7 +31,8 @@
|
||||
<tbody>
|
||||
<!-- ko foreach: forecasts -->
|
||||
<tr>
|
||||
<td><span data-bind="text:projectname"></span></td>
|
||||
<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>
|
||||
<td class="align-right"><span data-bind="text:forecastThisYear"></span></td>
|
||||
@@ -52,4 +60,4 @@
|
||||
</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user