Subversion Repositories SmartDukaan

Rev

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

Rev 30181 Rev 30194
Line 987... Line 987...
987
                                <i class="fa fa-cubes"></i>
987
                                <i class="fa fa-cubes"></i>
988
                                <div class="count currency">$investments.get("inStock")</div>
988
                                <div class="count currency">$investments.get("inStock")</div>
989
                                <div class="title">Total Stock</div>
989
                                <div class="title">Total Stock</div>
990
                            </div>
990
                            </div>
991
                        </div> 
991
                        </div> 
992
                
-
 
993
                </div>
992
                </div>
994
                
-
 
995
                    <div class="row">
-
 
996
                          <div class="col-lg-9">
-
 
997
                             <div class="info-box light-salmon-bg" style="height: 145px;" >
993
               ## <button type="button" class="incomeHidden" hidden>My Button</button>
998
                               <i class="fas fa-coins"></i>
994
               ##     <div class="row partnerIncomeContainer">
999
                                  <h3 style="margin-top:-2px;margin-bottom:12px"><strong>MY INCOME</strong></h3>
-
 
1000
                                 <div class="col-lg-3">
-
 
1001
                                   <div style="margin-top:10px" class="count currency">$totalIncome</div>
-
 
1002
                                   <div class="title" style="margin-left:5px;">Total Income</div>    
-
 
1003
                                 </div>
-
 
1004
                                 <div class="col-lg-2">
-
 
1005
                                     <i class="fk_more fa fa-angle-double-right flash" style="margin: -6px;"></i>   
-
 
1006
                                 </div>
-
 
1007
                                 <div class="col-lg-2">
-
 
1008
                                   <div style="margin-top:8px" class="count currency">$creditedIncome</div>
-
 
1009
                                   <div class="title credit-income" style="margin-left:5px; cursor:pointer;">Credited Income</div>
-
 
1010
                                 </div>
-
 
1011
                                 <div class="col-lg-2">
-
 
1012
                                   <div style="margin-top:8px" class="count currency">$pendingTotalIncome</div>
-
 
1013
                                   <div class="title" style="margin-left:5px; cursor:pointer;" >Pending Income</div>
-
 
1014
                                 </div>
-
 
1015
                              </div>   
-
 
1016
                           </div>  
-
 
1017
                    
995
                         
1018
                    </div> 
996
                 ##   </div> 
1019
                   
997
                   
1020
                    <div class="row">
998
                    <div class="row">
1021
                        <div class="Mobile">
999
                        <div class="Mobile">
1022
                            #foreach($brandStockPrice in $brandStockPrices)
1000
                            #foreach($brandStockPrice in $brandStockPrices)
1023
 
1001
 
Line 1187... Line 1165...
1187
  
1165
  
1188
        $(document).ready(function () {
1166
        $(document).ready(function () {
1189
        
1167
        
1190
        $(".bar_chart").click();
1168
        $(".bar_chart").click();
1191
        
1169
        
-
 
1170
         $(".incomeHidden").click();
-
 
1171
        
1192
            var investmentCloseFlag = true;
1172
            var investmentCloseFlag = true;
1193
            $("#purple-dropdown").click(function () {
1173
            $("#purple-dropdown").click(function () {
1194
                console.log('hello');
1174
                console.log('hello');
1195
                $(".flash").stop();
1175
                $(".flash").stop();
1196
                // console.log("clicked");
1176
                // console.log("clicked");
Line 1351... Line 1331...
1351
                $(".pd").css("background-color", "#C0C0C0");    
1331
                $(".pd").css("background-color", "#C0C0C0");    
1352
                
1332
                
1353
                 $(".pac").css("color", "white"); 
1333
                 $(".pac").css("color", "white"); 
1354
                $(".pac").css("background-color", "#C0C0C0");
1334
                $(".pac").css("background-color", "#C0C0C0");
1355
                
1335
                
1356
              
-
 
1357
                            
-
 
1358
                 doGetAjaxRequestHandler(context + "/getMonthlySamsungUpgradeOffer", function (response) {
1336
                 doGetAjaxRequestHandler(context + "/getMonthlySamsungUpgradeOffer", function (response) {
1359
                        $('.ChartContainer').html(response);
1337
                        $('.ChartContainer').html(response);
1360
                    });              
1338
                    });              
1361
            }); 
1339
            }); 
1362
            
1340
            
Line 1385... Line 1363...
1385
                function (e) {
1363
                function (e) {
1386
                    $("#descriptionMenu").empty();
1364
                    $("#descriptionMenu").empty();
1387
                });
1365
                });
1388
 
1366
 
1389
 
1367
 
-
 
1368
       $(document).on("click", ".incomeHidden",
-
 
1369
                function (e) {
-
 
1370
                
-
 
1371
                var month= 0;
-
 
1372
           doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month ,function (response) {
-
 
1373
       		console.log(response);
-
 
1374
       		$(".partnerIncomeContainer").html(response);
-
 
1375
                });
-
 
1376
             });
-
 
1377
 
-
 
1378
     $(document).on('change', "#month-wish-total-income", function() {
-
 
1379
      
-
 
1380
       	var month = $(this).val();
-
 
1381
       	  console.log(month);   
-
 
1382
      
-
 
1383
        	doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month ,function (response) {
-
 
1384
       		console.log(response);
-
 
1385
       		$(".partnerIncomeContainer").html(response);
-
 
1386
       	});
-
 
1387
              	});
1390
 
1388
 
1391
       
1389
       
1392
       $(document).on('change', "#performance-months", function() {
1390
       $(document).on('change', "#performance-months", function() {
1393
       
1391
       
1394
            var month = 	$("#performance-months").val();
1392
            var month = 	$("#performance-months").val();
Line 1398... Line 1396...
1398
                   console.log(response);
1396
                   console.log(response);
1399
                  $("#performanceContainer").html(response);
1397
                  $("#performanceContainer").html(response);
1400
        
1398
        
1401
        });
1399
        });
1402
              	});
1400
              	});
-
 
1401
             	
-
 
1402
      
1403
              	
1403
              	
-
 
1404
              	
1404
              	 $(document).on('change', "#offer-months", function() {
1405
      $(document).on('change', "#offer-months", function() {
1405
       	var month = 	$(this).val();
1406
       	var month = 	$(this).val();
1406
       	doGetAjaxRequestHandler(context + "/published-offers/" + month ,function (response) {
1407
       	doGetAjaxRequestHandler(context + "/published-offers/" + month ,function (response) {
1407
       		console.log(response);
1408
       		console.log(response);
1408
       		$("#offer-container").html(response);
1409
       		$("#offer-container").html(response);
1409
       	});
1410
       	});
1410
              	});
1411
              	});
1411
              	
1412
 
1412
              	
1413
              	
1413
         $(document).on("click", ".pndg-status", function() {
1414
         $(document).on("click", ".pndg-status", function() {
1414
             console.log("Hello");   
1415
             console.log("Hello");   
1415
             pendingOrderStatus("main-content");
1416
             pendingOrderStatus("main-content");
1416
              	});
1417
              	});
Line 1455... Line 1456...
1455
                   console.log(response);
1456
                   console.log(response);
1456
                   $('#' + domId).html(response);
1457
                   $('#' + domId).html(response);
1457
	          });
1458
	          });
1458
           }
1459
           }
1459
           
1460
           
-
 
1461
           /*
-
 
1462
           
1460
            $(document).on("click", ".credit-income", function() {
1463
            $(document).on("click", ".credited-income", function() {
1461
              console.log("Hello");   
1464
              console.log("Hello");   
1462
                lastMonthCreditIncome("main-content");
1465
                lastMonthCreditIncome("main-content");
1463
              	});
1466
              	});
1464
        
1467
        
1465
        function lastMonthCreditIncome(domId) {
1468
        function lastMonthCreditIncome(domId) {
Line 1467... Line 1470...
1467
                   console.log(response);
1470
                   console.log(response);
1468
                   $('#' + domId).html(response);
1471
                   $('#' + domId).html(response);
1469
	          });
1472
	          });
1470
           }
1473
           }
1471
           
1474
           
-
 
1475
           $(document).on("click", ".pending-income", function() {
-
 
1476
              console.log("Hello");   
-
 
1477
               lastMonthCreditIncome("main-content");
-
 
1478
              	});
-
 
1479
        
-
 
1480
        $(document).on("click", ".total-income", function() {
-
 
1481
              console.log("Hello");   
-
 
1482
               lastMonthCreditIncome("main-content");
-
 
1483
              	});
-
 
1484
      
-
 
1485
           */
1472
      
1486
      
1473
 
1487
 
1474
    </script>
1488
    </script>
1475
    <script>
1489
    <script>
1476
 
1490