Subversion Repositories SmartDukaan

Rev

Rev 26006 | Rev 36080 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26006 Rev 30601
Line 500... Line 500...
500
	inStockAmount = numberToComma($partnerInvestment.getInStockAmount());
500
	inStockAmount = numberToComma($partnerInvestment.getInStockAmount());
501
	walletAmount = numberToComma($partnerInvestment.getWalletAmount());
501
	walletAmount = numberToComma($partnerInvestment.getWalletAmount());
502
	shortAmount = numberToComma($partnerInvestment.getShortInvestment());
502
	shortAmount = numberToComma($partnerInvestment.getShortInvestment());
503
	minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
503
	minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
504
 	isInvestmentOk = $isInvestmentOk;
504
 	isInvestmentOk = $isInvestmentOk;
505
	$(function(){
505
	$(function () {
506
		if (navigator.geolocation) {
506
		if (navigator.geolocation) {
507
	        navigator.geolocation.getCurrentPosition(showPosition);
507
			navigator.geolocation.getCurrentPosition(showPosition);
508
	    } else { 
508
		} else {
509
	        console.log("Geolocation is not supported by browser.");
509
			console.log("Geolocation is not supported by browser.");
510
	    }
510
		}
511
		dateRangeCallback(moment(),moment());
511
		//dateRangeCallback(moment(),moment());
512
		loaderDialogObj = bootbox.dialog({
512
		loaderDialogObj = bootbox.dialog({
513
		    message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
513
			message: '<div class="container text-center"><i class="fa fa-spin fa-spinner"></i>Loading...</div>',
514
		    show: false	
514
			show: false
515
		});
515
		});
516
		starTotal = 5;
516
		starTotal = 5;
517
		ratings = {
517
		ratings = {
518
			current : $currentMonthRating,
518
			current: $currentMonthRating,
519
			last: $lastMonthRating,
519
			last: $lastMonthRating,
520
			tilldate: $ratingTillDate
520
			tilldate: $ratingTillDate
521
		}; 
521
		}; 
522
		for(const rating in ratings) {  
522
		for(const rating in ratings) {  
523
		  // 2
523
		  // 2