Removalls and offers revenues
This commit is contained in:
@@ -92,7 +92,7 @@ dbo.projectsInit = function () {
|
||||
} else {
|
||||
tellMe( {
|
||||
title : 'fout bij verwijderen project',
|
||||
message : 'de project kan niet worden verwijderd',
|
||||
message : 'de project kan niet worden verwijderd, verwijder eerst de gerelateerde gegevens (facturen, reserveringen, projectmedewerkers, prognoses) ',
|
||||
modalClass: 'modal-danger'
|
||||
} );
|
||||
}
|
||||
|
||||
@@ -104,8 +104,8 @@ dbo.outgoinginvoicesInit = function () {
|
||||
self.customername = data.customername;
|
||||
self.statusProject = Math.abs( openstaand ) > 2 ? 'OPEN' : 'CLOSED';
|
||||
self.fullname = data.fullname;
|
||||
self.revenues = dbo.helpers.numberWithPoints( data.revenues );
|
||||
self.totalInvoice = dbo.helpers.numberWithPoints( totalInvoice );
|
||||
self.revenues = dbo.helpers.numberWithPoints( Number(data.revenues).toFixed(0) );
|
||||
self.totalInvoice = dbo.helpers.numberWithPoints( Number(totalInvoice).toFixed(0) );
|
||||
self.openstaand = dbo.helpers.numberWithPoints( Math.round( openstaand ) );
|
||||
self.openstaandIncl = dbo.helpers.numberWithPoints( Math.round( openstaand * 1.21 ) );
|
||||
self.invoicedOtherYears = dbo.helpers.numberWithPoints( Math.round( data.otheryear ) );
|
||||
|
||||
Reference in New Issue
Block a user