diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index 8061db3..edfb98d 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -16,7 +16,7 @@ class MY_Controller extends CI_Controller { { parent::__construct(); - $this->version = '1.00.11'; + $this->version = '1.00.12'; $this->load->library( 'beheer/session/RetrieveUserSession' ); diff --git a/public/js/lib/services/offersService.js b/public/js/lib/services/offersService.js index 2423919..ae0bfbe 100644 --- a/public/js/lib/services/offersService.js +++ b/public/js/lib/services/offersService.js @@ -107,9 +107,9 @@ dbo.offersService = { dbo.offerDataService.getAllOffers( offersObject, function ( data ) { vm.offers.removeAll(); + vm.totalOwnRevenue( 0 ); + vm.totalChanceOwnRevenue( 0 ); $.each( data, function ( i, p ) { - vm.totalOwnRevenue( 0 ); - vm.totalChanceOwnRevenue( 0 ); vm.offers.push( new self.Offer( p ) ); } ); } );