Diversen dashboard
This commit is contained in:
@@ -29,6 +29,9 @@ dbo.dashboardInit = function () {
|
||||
billingOverview : ko.observableArray([]),
|
||||
showInvoiceOverview: ko.observable(false),
|
||||
openInvoices : ko.observable(null),
|
||||
invoiced : ko.observable(null),
|
||||
minimumRevenues : ko.observable(null),
|
||||
totalChance : ko.observable(null),
|
||||
|
||||
init: function () {
|
||||
var self = dbo.dashboardModel
|
||||
@@ -41,8 +44,11 @@ dbo.dashboardInit = function () {
|
||||
self.owpTotal(dbo.helpers.thousandSeparator(data.totalOwp))
|
||||
self.revenuesNextyear(dbo.helpers.thousandSeparator(data.revenuesNextyear))
|
||||
self.totalRevenues(dbo.helpers.thousandSeparator(data.totalRevenues))
|
||||
self.minimumRevenues(dbo.helpers.thousandSeparator(data.currentFinancialYear + data.revenuesThisYear))
|
||||
self.invoiced(dbo.helpers.thousandSeparator(data.invoiced))
|
||||
self.openInvoices(dbo.helpers.thousandSeparator(outstandings.openInvoices))
|
||||
self.toInvoice(dbo.helpers.thousandSeparator(outstandings.toInvoice))
|
||||
self.totalChance(dbo.helpers.thousandSeparator(data.totalChance))
|
||||
|
||||
self.revenueCurrentYear(dbo.helpers.thousandSeparator(revCurYear))
|
||||
self.revenuesThisYear(dbo.helpers.thousandSeparator(data.revenuesThisYear))
|
||||
|
||||
Reference in New Issue
Block a user