fix fopr offer total
This commit is contained in:
@@ -16,7 +16,7 @@ class MY_Controller extends CI_Controller {
|
|||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->version = '1.00.11';
|
$this->version = '1.00.12';
|
||||||
|
|
||||||
$this->load->library( 'beheer/session/RetrieveUserSession' );
|
$this->load->library( 'beheer/session/RetrieveUserSession' );
|
||||||
|
|
||||||
|
|||||||
@@ -107,9 +107,9 @@ dbo.offersService = {
|
|||||||
|
|
||||||
dbo.offerDataService.getAllOffers( offersObject, function ( data ) {
|
dbo.offerDataService.getAllOffers( offersObject, function ( data ) {
|
||||||
vm.offers.removeAll();
|
vm.offers.removeAll();
|
||||||
|
vm.totalOwnRevenue( 0 );
|
||||||
|
vm.totalChanceOwnRevenue( 0 );
|
||||||
$.each( data, function ( i, p ) {
|
$.each( data, function ( i, p ) {
|
||||||
vm.totalOwnRevenue( 0 );
|
|
||||||
vm.totalChanceOwnRevenue( 0 );
|
|
||||||
vm.offers.push( new self.Offer( p ) );
|
vm.offers.push( new self.Offer( p ) );
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
|
|||||||
Reference in New Issue
Block a user