Subversion Repositories SmartDukaan

Rev

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

Rev 30194 Rev 30232
Line 246... Line 246...
246
 
246
 
247
        .breadcrumb {
247
        .breadcrumb {
248
            padding: 0 15px;
248
            padding: 0 15px;
249
        }
249
        }
250
 
250
 
251
.purple-bg{
251
        .purple-bg {
252
     
252
 
253
     background-image: linear-gradient(#800080, #DDA0DD);
253
            background-image: linear-gradient(#800080, #DDA0DD);
254
    box-shadow: 6px 5px 6px purple;
254
            box-shadow: 6px 5px 6px purple;
-
 
255
        }
255
}
256
 
256
        .stars-outer {
257
        .stars-outer {
257
            display: inline-block;
258
            display: inline-block;
258
            position: relative;
259
            position: relative;
259
            font-family: FontAwesome;
260
            font-family: FontAwesome;
260
        }
261
        }
Line 383... Line 384...
383
        <a href="${rc.contextPath}/dashboard" class="logo" style="margin-top: 7px"> <img
384
        <a href="${rc.contextPath}/dashboard" class="logo" style="margin-top: 7px"> <img
384
                src="resources/images/SmartDukaan-135x45.jpg" alt="smartDukaan" width="140"
385
                src="resources/images/SmartDukaan-135x45.jpg" alt="smartDukaan" width="140"
385
                height="45">$fofoStore.getCode()</a>
386
                height="45">$fofoStore.getCode()</a>
386
 
387
 
387
        <a href="#"><img src="${partnerTypeImage}" width="60px"></a>
388
        <a href="#"><img src="${partnerTypeImage}" width="60px"></a>
388
        
389
 
389
       <span style="color:red">$partnerType</span>
390
        <span style="color:red">$partnerType</span>
390
       
391
 
391
        <div class="btn-group message-filter" style="margin:14px;">
392
        <div class="btn-group message-filter" style="margin:14px;">
392
            <button data-messagetype="notification" type="button" class="btn btn-default notifi"
393
            <button data-messagetype="notification" type="button" class="btn btn-default notifi"
393
                    aria-label="Notifications">
394
                    aria-label="Notifications">
394
                <span class="notify1 Notificat">Notification</span></button>
395
                <span class="notify1 Notificat">Notification</span></button>
395
            <button data-messagetype="announcement" type="button" class="btn btn-default price"
396
            <button data-messagetype="announcement" type="button" class="btn btn-default price"
Line 566... Line 567...
566
                    <a href="javascript:;">
567
                    <a href="javascript:;">
567
                        <i class="icon_document_alt"></i>
568
                        <i class="icon_document_alt"></i>
568
                        <span>Margins</span>
569
                        <span>Margins</span>
569
                        <span class="menu-arrow arrow_carrot-right"></span>
570
                        <span class="menu-arrow arrow_carrot-right"></span>
570
                    </a>
571
                    </a>
571
                     <ul class="sub">
572
                    <ul class="sub">
572
                        <li><a class="schemes" href="javascript:void(0);">Model Wise Margin</a></li>
573
                        <li><a class="schemes" href="javascript:void(0);">Model Wise Margin</a></li>
573
                        <li><a class="partner-price-circular" href="javascript:void(0);">NLC/Price Circular</a></li>
574
                        <li><a class="partner-price-circular" href="javascript:void(0);">NLC/Price Circular</a></li>
574
                        
-
 
-
 
575
 
575
                    </ul>
576
                    </ul>
576
                </li>
577
                </li>
577
                
-
 
-
 
578
 
578
                <li class="sub-menu">
579
                <li class="sub-menu">
579
                    <a href="javascript:;" class="partner-service">
580
                    <a href="javascript:;" class="partner-service">
580
                        <i class="icon_document_alt"></i>
581
                        <i class="icon_document_alt"></i>
581
                        <span>Fin Services</span> 
582
                        <span>Fin Services</span>
582
                    </a>
583
                    </a>
583
                </li>
584
                </li>
584
                <li class="sub-menu">
585
                <li class="sub-menu">
585
                    <a href="javascript:;" class="">
586
                    <a href="javascript:;" class="">
586
                        <i class="icon_document_alt"></i>
587
                        <i class="icon_document_alt"></i>
Line 645... Line 646...
645
                    <ul class="sub">
646
                    <ul class="sub">
646
                        <li><a class="catalog" href="javascript:void(0);">My Stocks</a></li>
647
                        <li><a class="catalog" href="javascript:void(0);">My Stocks</a></li>
647
                        <li><a class="product-compare-info" href="javascript:void(0);">Compare Product</a></li>
648
                        <li><a class="product-compare-info" href="javascript:void(0);">Compare Product</a></li>
648
                    </ul>
649
                    </ul>
649
                </li>
650
                </li>
650
               
651
 
651
                
652
 
652
                 <li class="sub-menu">
653
                <li class="sub-menu">
653
                    <a href="javascript:void(0);" class="">
654
                    <a href="javascript:void(0);" class="">
654
                        <i class="icon_table"></i>
655
                        <i class="icon_table"></i>
655
                        <span>Reports</span>
656
                        <span>Reports</span>
656
                        <span class="menu-arrow arrow_carrot-right"></span>
657
                        <span class="menu-arrow arrow_carrot-right"></span>
657
                    </a>
658
                    </a>
658
                    <ul class="sub">  
659
                    <ul class="sub">
659
                        <li><a class="collection-summary" href="javascript:void(0);">Daily Collections</a></li>
660
                        <li><a class="collection-summary" href="javascript:void(0);">Daily Collections</a></li>
660
                         <li><a class="franchisee_sales" href="javascript:void(0);">My Sales</a></li>
661
                        <li><a class="franchisee_sales" href="javascript:void(0);">My Sales</a></li>
661
                         <li><a class="wallet_statement" href="javascript:void(0);">Wallet Statement</a></li>
662
                        <li><a class="wallet_statement" href="javascript:void(0);">Wallet Statement</a></li>
662
                          <li><a class="pending-indent" href="javascript:void(0);">Order Status</a></li>
663
                        <li><a class="pending-indent" href="javascript:void(0);">Order Status</a></li>
663
                           <li><a class="scheme-payout-report" href="javascript:void(0);">Schemes PayOut</a></li>
664
                        <li><a class="scheme-payout-report" href="javascript:void(0);">Schemes PayOut</a></li>
664
                             <li><a class="smartdukaan-billing-statement" href="javascript:void(0);">Billing statement</a></li>
665
                        <li><a class="smartdukaan-billing-statement" href="javascript:void(0);">Billing statement</a>
-
 
666
                        </li>
665
                              <li><a class="price-drop-report" href="javascript:void(0);">Price Drop</a></li>
667
                        <li><a class="price-drop-report" href="javascript:void(0);">Price Drop</a></li>
666
                               <li><a class="item_aging" href="javascript:void(0);">Ageing</a></li>    
668
                        <li><a class="item_aging" href="javascript:void(0);">Ageing</a></li>
667
                         <li><a class="download_reports" href="javascript:void(0);">Reports</a></li>
669
                        <li><a class="download_reports" href="javascript:void(0);">Reports</a></li>
668
                       
-
 
-
 
670
 
669
                    </ul>
671
                    </ul>
670
                </li>
672
                </li>
671
              
673
 
672
                <li class="sub-menu">
674
                <li class="sub-menu">
673
                    <a href="javascript:;" class="">
675
                    <a href="javascript:;" class="">
674
                        <i class="icon_table"></i>
676
                        <i class="icon_table"></i>
675
                        <span>Item Ledger</span>
677
                        <span>Item Ledger</span>
676
                        <span class="menu-arrow arrow_carrot-right"></span>
678
                        <span class="menu-arrow arrow_carrot-right"></span>
677
                    </a>
679
                    </a>
678
                    <ul class="sub">
680
                    <ul class="sub">
679
                        <li><a class="item-ledger-report-download-page" href="javascript:void(0);">Download</a></li>
681
                        <li><a class="item-ledger-report-download-page" href="javascript:void(0);">Download</a></li>
680
                    </ul>
682
                    </ul>
681
                </li>
683
                </li>
682
                
-
 
683
                
-
 
-
 
684
 
-
 
685
 
684
                   <li class="sub-menu">
686
                <li class="sub-menu">
685
                    <a href="javascript:;" class="">
687
                    <a href="javascript:;" class="">
686
                        <i class="icon_table"></i>
688
                        <i class="icon_table"></i>
687
                        <span>Online Order</span>
689
                        <span>Online Order</span>
688
                        <span class="menu-arrow arrow_carrot-right"></span>
690
                        <span class="menu-arrow arrow_carrot-right"></span>
689
                    </a>
691
                    </a>
690
                    <ul class="sub">
692
                    <ul class="sub">
691
                        <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
693
                        <li><a class="pending_fofo_order" href="javascript:void(0);">Pending Order</a></li>
692
                          <li><a class="billed_order_item" href="javascript:void(0);">Billed Order</a></li>
694
                        <li><a class="billed_order_item" href="javascript:void(0);">Billed Order</a></li>
693
                         <li><a class="unsettled_order_item" href="javascript:void(0);">Raise Claim</a></li>
695
                        <li><a class="unsettled_order_item" href="javascript:void(0);">Raise Claim</a></li>
694
                         
-
 
-
 
696
 
695
                           <li><a class="claim_raised_order_item" href="javascript:void(0);">Pending Claim</a></li>
697
                        <li><a class="claim_raised_order_item" href="javascript:void(0);">Pending Claim</a></li>
696
                      
-
 
-
 
698
 
697
                         <li><a class="settled_order_item" href="javascript:void(0);">Settled Order</a></li>
699
                        <li><a class="settled_order_item" href="javascript:void(0);">Settled Order</a></li>
698
                      
-
 
-
 
700
 
699
                        </ul>
701
                    </ul>
700
                </li>
702
                </li>
701
 
703
 
702
                <li class="sub-menu">
704
                <li class="sub-menu">
703
                    <a href="javascript:;" class="">
705
                    <a href="javascript:;" class="">
704
                        <i class="icon_table"></i>
706
                        <i class="icon_table"></i>
705
                        <span>Sale</span>
707
                        <span>Sale</span>
706
                        <span class="menu-arrow arrow_carrot-right"></span>
708
                        <span class="menu-arrow arrow_carrot-right"></span>
707
                    </a>
709
                    </a>
708
                    <ul class="sub">
710
                    <ul class="sub">
709
                        
-
 
-
 
711
 
710
                        <li><a class="sale-history" href="javascript:void(0);">History</a></li>
712
                        <li><a class="sale-history" href="javascript:void(0);">History</a></li>
711
                        <li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>
713
                        <li><a class="target-slide" href="javascript:void(0);">Outlet Categories</a></li>
712
                        <li><a class="insurance-policy-details" href="javascript:void(0);">Insurance History</a></li>
714
                        <li><a class="insurance-policy-details" href="javascript:void(0);">Insurance History</a></li>
713
                    </ul>
715
                    </ul>
714
                </li>
716
                </li>
Line 775... Line 777...
775
 
777
 
776
                                <div class="row monthsaleContainer" style="margin:5px">
778
                                <div class="row monthsaleContainer" style="margin:5px">
777
                                </div>
779
                                </div>
778
                            </div>
780
                            </div>
779
                        </div>
781
                        </div>
780
                     
-
 
-
 
782
 
781
                        <div class="col-lg-5 row">
783
                        <div class="col-lg-5 row">
782
                            <div class="info-box brown-bg">
784
                            <div class="info-box brown-bg">
783
 
785
 
784
                                <div class="col-lg-12">
786
                                <div class="col-lg-12">
785
                                    <div class="col-lg-6">
787
                                    <div class="col-lg-6">
Line 808... Line 810...
808
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
810
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
809
                                    <div class="row">
811
                                    <div class="row">
810
                                        <div class="col-lg-4 row">
812
                                        <div class="col-lg-4 row">
811
                                            <div style="margin-top:0px" class="count currency">$investments.get(
813
                                            <div style="margin-top:0px" class="count currency">$investments.get(
812
                                                "today")</div>
814
                                                "today")</div>
813
                                            <div class="title">current</div>                          			
815
                                            <div class="title">current</div>
814
                                            <div class="col-lg-1 row" style="margin-left: -20px;margin-top: -6px;">
816
                                            <div class="col-lg-1 row" style="margin-left: -20px;margin-top: -6px;">
815
			                                    <i class="fk_more fa fa-angle-double-down flash" id="purple-dropdown"
817
                                                <i class="fk_more fa fa-angle-double-down flash" id="purple-dropdown"
816
            			                         style="cursor:pointer;font-size: 27px;width: 145px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 4px; margin-left: 16px;"></i>
818
                                                   style="cursor:pointer;font-size: 27px;width: 145px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 4px; margin-left: 16px;"></i>
817
                        			         </div>
819
                                            </div>
818
										</div>
820
                                        </div>
819
 
821
 
820
                                <div class="col-lg-3">
822
                                        <div class="col-lg-3">
821
                                    <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
823
                                            <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
822
                                    <div class="title">min</div>
824
                                            <div class="title">min</div>
823
                                </div>
825
                                        </div>
824
                                        <div class="col-lg-2 row"
826
                                        <div class="col-lg-2 row"
825
                                            #if(!$isInvestmentOk)
827
                                            #if(!$isInvestmentOk)
826
                                             style="color:red; background: white;"
828
                                             style="color:red; background: white;"
827
                                            #end
829
                                            #end
828
                                        >
830
                                        >
Line 835... Line 837...
835
                                                </div>
837
                                                </div>
836
                                                <div class="title">short</div>
838
                                                <div class="title">short</div>
837
                                            #end
839
                                            #end
838
                                        </div>
840
                                        </div>
839
                                    </div>
841
                                    </div>
840
                            		<div class="row investmentContainer" style="margin:5px">
842
                                    <div class="row investmentContainer" style="margin:5px">
841
	                            	</div>
843
                                    </div>
842
                                </div>
844
                                </div>
843
                            </div>
845
                            </div>
844
                        </div>
846
                        </div>
845
                       
-
 
-
 
847
 
846
                        <div class="col-lg-5 row">
848
                        <div class="col-lg-5 row">
-
 
849
                            <div class="info-box orange-bg"
847
                            <div class="info-box orange-bg" style="background-image: linear-gradient(#ff7f50 ,orange); box-shadow: 6px 5px 6px #ff7f50;">
850
                                 style="background-image: linear-gradient(#ff7f50 ,orange); box-shadow: 6px 5px 6px #ff7f50;">
848
                                <i class="fa fa-chart-line"></i>
851
                                <i class="fa fa-chart-line"></i>
849
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Online Sales</strong></h3>
852
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Online Sales</strong></h3>
850
                                <div class="row">
853
                                <div class="row">
851
                                    <div class="col-lg-3 row" style="margin:5px">
854
                                    <div class="col-lg-3 row" style="margin:5px">
852
                                        <div style="margin-top:0px; margin-left:24px;"  class="count currency">$countOrder</div>
855
                                        <div style="margin-top:0px; margin-left:24px;"
-
 
856
                                             class="count currency">$countOrder</div>
853
                                        <button style=" border-radius: 18px; background: navajowhite;">
857
                                        <button style=" border-radius: 18px; background: navajowhite;">
-
 
858
                                            <div class="title pending_order_dashboard"
854
                                        <div class="title pending_order_dashboard"  style="cursor: pointer; color:black;">Pending Order</div>
859
                                                 style="cursor: pointer; color:black;">Pending Order
-
 
860
                                            </div>
855
                                        </button>
861
                                        </button>
856
                                    </div>
862
                                    </div>
857
                                   
-
 
-
 
863
 
858
                                    <div class="col-lg-4 row" style="margin:5px">
864
                                    <div class="col-lg-4 row" style="margin:5px">
859
                                     #if($onlineDeliveredOrderSum)
865
                                        #if($onlineDeliveredOrderSum)
-
 
866
 
860
                                   
867
                                            <div style="margin-top:0px; margin-left:37px;"
861
                                        <div style="margin-top:0px; margin-left:37px;"  class="count currency">$onlineDeliveredOrderSum</div>
868
                                                 class="count currency">$onlineDeliveredOrderSum</div>
-
 
869
 
862
                                     
870
                                        #else
-
 
871
 
863
                                       #else
872
                                            <div style="margin-top:0px; margin-left:20px;" class="count currency">0
864
                                 
873
                                            </div>
865
                                       <div style="margin-top:0px; margin-left:20px;" class="count currency">0</div>
-
 
866
 
874
 
867
                                      #end
875
                                        #end
868
                                      <button style="border-radius: 18px; margin-top: 4px; background: navajowhite;">
876
                                        <button style="border-radius: 18px; margin-top: 4px; background: navajowhite;">
-
 
877
                                            <div class="title total_sale_dashboard"
869
                                        <div class="title total_sale_dashboard" style="cursor: pointer; color:black;">Online Sales</div>
878
                                                 style="cursor: pointer; color:black;">Online Sales
-
 
879
                                            </div>
870
                                        </button>
880
                                        </button>
871
                                    </div>
881
                                    </div>
872
                              </div>
882
                                </div>
873
                            </div>
883
                            </div>
874
                        </div>
884
                        </div>
875
                    </div>
885
                    </div>
876
            
886
 
877
                        
-
 
-
 
887
 
878
                        <div class="row">
888
                    <div class="row">
879
                    <div class="col-lg-9">
889
                        <div class="col-lg-9">
880
                            <div class="info-box pink-bg" style="height: 160px;" >
890
                            <div class="info-box pink-bg" style="height: 160px;">
881
                             <h3 style="margin-top:-2px;margin-bottom:12px"><strong>ORDER SUMMARY</strong></h3>
891
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>ORDER SUMMARY</strong></h3>
882
                             
-
 
-
 
892
 
883
                              <div class="col-lg-3 row">
893
                                <div class="col-lg-3 row">
884
                               <h3 style="margin-top:-2px;margin-bottom:12px;"><strong style="font-size: 16px; cursor:pointer; margin-left: 9px;" class="pndg-status">Pending</strong></h3>
-
 
885
                                  #if($submittedCount && $submittedValue)
-
 
886
                                 <div class="col-lg-3">
-
 
887
                                    <div style="margin-top:0px" class="count currency">$submittedCount</div>
-
 
888
                                    <div class="title">Qty</div>
-
 
889
                                </div>
-
 
890
                                 <div class="col-lg-4">
-
 
891
                                    <div style="margin-top:0px" class="count currency">$submittedValue</div>
-
 
892
                                    <div class="title" style="margin-left:5px;">Value</div>
-
 
893
                                </div>
-
 
894
                                #else
-
 
895
                                 <div class="col-lg-3">
-
 
896
                                    <div style="margin-top:0px" class="count currency">0</div>
894
                                    <h3 style="margin-top:-2px;margin-bottom:12px;"><strong
897
                                    <div class="title">Qty</div>
-
 
898
                                </div>
-
 
899
                                <div class="col-lg-4">
-
 
900
                                    <div style="margin-top:0px" class="count currency">0</div>
895
                                            style="font-size: 16px; cursor:pointer; margin-left: 9px;"
901
                                    <div class="title" style="margin-left:5px;">Value</div>
896
                                            class="pndg-status">Pending</strong></h3>
902
                                </div>
-
 
903
                                
-
 
904
                                #end
-
 
905
								   
-
 
906
                                   
-
 
907
                                </div>  
-
 
908
                                
-
 
909
                              <div class="col-lg-3">
-
 
910
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong style="font-size: 19px; cursor:pointer; margin-left: 15px;" class="billed-status">Billed</strong></h3>
-
 
911
                              
-
 
912
                                   #if($billedCount && $billedValue)
897
                                    #if($submittedCount && $submittedValue)
913
                                 <div class="col-lg-3">
898
                                        <div class="col-lg-3">
914
                                    <div style="margin-top:0px" class="count currency">$billedCount</div>
899
                                            <div style="margin-top:0px" class="count currency">$submittedCount</div>
915
                                    <div class="title">Qty</div>
900
                                            <div class="title">Qty</div>
916
                                </div>
901
                                        </div>
917
                                 <div class="col-lg-4">
902
                                        <div class="col-lg-4">
918
                                    <div style="margin-top:0px" class="count currency">$billedValue</div>
903
                                            <div style="margin-top:0px" class="count currency">$submittedValue</div>
919
                                    <div class="title" style="margin-left:5px;">Value</div>
904
                                            <div class="title" style="margin-left:5px;">Value</div>
920
                                </div>
905
                                        </div>
921
                                #else
906
                                    #else
922
                                 <div class="col-lg-3">
907
                                        <div class="col-lg-3">
923
                                    <div style="margin-top:0px" class="count currency">0</div>
908
                                            <div style="margin-top:0px" class="count currency">0</div>
924
                                    <div class="title">Qty</div>
909
                                            <div class="title">Qty</div>
925
                                </div>
910
                                        </div>
926
                                <div class="col-lg-4">
911
                                        <div class="col-lg-4">
927
                                    <div style="margin-top:0px" class="count currency">0</div>
912
                                            <div style="margin-top:0px" class="count currency">0</div>
928
                                    <div class="title" style="margin-left:5px;">Value</div>
-
 
929
                                </div>
-
 
930
                                
-
 
931
                                #end
-
 
932
                           </div> 
-
 
933
                           
-
 
934
                           <div class="col-lg-3">
-
 
935
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong style="font-size: 19px;  cursor:pointer; margin-left: 15px;" class="shipped-status">Dispatched</strong></h3>
-
 
936
                              
-
 
937
                               #if($shippedCount && $shippedValue)
-
 
938
                                 <div class="col-lg-3">
-
 
939
                                    <div style="margin-top:0px" class="count currency">$shippedCount</div>
-
 
940
                                    <div class="title">Qty</div>
-
 
941
                                </div>
-
 
942
                                 <div class="col-lg-4">
-
 
943
                                    <div style="margin-top:0px" class="count currency">$shippedValue</div>
-
 
944
                                    <div class="title" style="margin-left:5px;">Value</div>
-
 
945
                                </div>
-
 
946
                                #else
-
 
947
                                 <div class="col-lg-3">
-
 
948
                                    <div style="margin-top:0px" class="count">0</div>
-
 
949
                                    <div class="title">Qty</div>
-
 
950
                                </div>
-
 
951
                                <div class="col-lg-4">
-
 
952
                                    <div style="margin-top:0px" class="count">0</div>
-
 
953
                                    <div class="title" style="margin-left:5px;">Value</div>
913
                                            <div class="title" style="margin-left:5px;">Value</div>
954
                                </div>
914
                                        </div>
955
                                
-
 
-
 
915
 
956
                                #end
916
                                    #end
957
                           </div>  
-
 
958
                                
-
 
959
                             <div class="col-lg-3">
-
 
960
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong style="font-size: 19px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;  cursor:pointer;" class="grn-status">GRN Pending</strong></h3>
-
 
961
                              
-
 
962
                                  #if($grnPendingCount &&  $grnPendingValue )
-
 
963
                                 <div class="col-lg-3">
-
 
964
                                    <div style="margin-top:0px" class="count currency">$grnPendingCount</div>
-
 
965
                                    <div class="title">Qty</div>
-
 
-
 
917
 
-
 
918
 
966
                                </div>
919
                                </div>
-
 
920
 
967
                                 <div class="col-lg-4"> 
921
                                <div class="col-lg-3">
-
 
922
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong
-
 
923
                                            style="font-size: 19px; cursor:pointer; margin-left: 15px;"
-
 
924
                                            class="billed-status">Billed</strong></h3>
-
 
925
 
-
 
926
                                    #if($billedCount && $billedValue)
-
 
927
                                        <div class="col-lg-3">
-
 
928
                                            <div style="margin-top:0px" class="count currency">$billedCount</div>
-
 
929
                                            <div class="title">Qty</div>
-
 
930
                                        </div>
-
 
931
                                        <div class="col-lg-4">
968
                                    <div style="margin-top:0px" class="count currency">$grnPendingValue</div>
932
                                            <div style="margin-top:0px" class="count currency">$billedValue</div>
-
 
933
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
934
                                        </div>
-
 
935
                                    #else
-
 
936
                                        <div class="col-lg-3">
-
 
937
                                            <div style="margin-top:0px" class="count currency">0</div>
-
 
938
                                            <div class="title">Qty</div>
-
 
939
                                        </div>
-
 
940
                                        <div class="col-lg-4">
-
 
941
                                            <div style="margin-top:0px" class="count currency">0</div>
969
                                    <div class="title" style="margin-left:5px;">Value</div>
942
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
943
                                        </div>
-
 
944
 
-
 
945
                                    #end
970
                                </div>
946
                                </div>
-
 
947
 
-
 
948
                                <div class="col-lg-3">
-
 
949
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong
-
 
950
                                            style="font-size: 19px;  cursor:pointer; margin-left: 15px;"
-
 
951
                                            class="shipped-status">Dispatched</strong></h3>
-
 
952
 
-
 
953
                                    #if($shippedCount && $shippedValue)
-
 
954
                                        <div class="col-lg-3">
-
 
955
                                            <div style="margin-top:0px" class="count currency">$shippedCount</div>
-
 
956
                                            <div class="title">Qty</div>
-
 
957
                                        </div>
-
 
958
                                        <div class="col-lg-4">
-
 
959
                                            <div style="margin-top:0px" class="count currency">$shippedValue</div>
-
 
960
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
961
                                        </div>
971
                                #else
962
                                    #else
972
                                 <div class="col-lg-3">
963
                                        <div class="col-lg-3">
973
                                    <div style="margin-top:0px" class="count currency">0</div>
964
                                            <div style="margin-top:0px" class="count">0</div>
974
                                    <div class="title">Qty</div>
965
                                            <div class="title">Qty</div>
-
 
966
                                        </div>
-
 
967
                                        <div class="col-lg-4">
-
 
968
                                            <div style="margin-top:0px" class="count">0</div>
-
 
969
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
970
                                        </div>
-
 
971
 
-
 
972
                                    #end
975
                                </div>
973
                                </div>
-
 
974
 
976
                                <div class="col-lg-4">
975
                                <div class="col-lg-3">
-
 
976
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong
-
 
977
                                            style="font-size: 19px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;  cursor:pointer;"
-
 
978
                                            class="grn-status">GRN Pending</strong></h3>
-
 
979
 
-
 
980
                                    #if($grnPendingCount &&  $grnPendingValue )
-
 
981
                                        <div class="col-lg-3">
-
 
982
                                            <div style="margin-top:0px" class="count currency">$grnPendingCount</div>
-
 
983
                                            <div class="title">Qty</div>
-
 
984
                                        </div>
-
 
985
                                        <div class="col-lg-4">
-
 
986
                                            <div style="margin-top:0px" class="count currency">$grnPendingValue</div>
-
 
987
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
988
                                        </div>
-
 
989
                                    #else
-
 
990
                                        <div class="col-lg-3">
-
 
991
                                            <div style="margin-top:0px" class="count currency">0</div>
-
 
992
                                            <div class="title">Qty</div>
-
 
993
                                        </div>
-
 
994
                                        <div class="col-lg-4">
977
                                    <div style="margin-top:0px" class="count currency">0</div>
995
                                            <div style="margin-top:0px" class="count currency">0</div>
978
                                    <div class="title" style="margin-left:5px;">Value</div>
996
                                            <div class="title" style="margin-left:5px;">Value</div>
-
 
997
                                        </div>
-
 
998
 
-
 
999
                                    #end
979
                                </div>
1000
                                </div>
980
                                
1001
                            </div>
981
                                #end
-
 
982
                           </div>                  
-
 
983
                         </div>
1002
                        </div>
984
                    </div>
-
 
985
                    <div class="col-lg-3 row" style="height: 190px;">
1003
                        <div class="col-lg-3 row" style="height: 190px;">
986
                            <div class="info-box green-bg">
1004
                            <div class="info-box green-bg">
987
                                <i class="fa fa-cubes"></i>
1005
                                <i class="fa fa-cubes"></i>
988
                                <div class="count currency">$investments.get("inStock")</div>
1006
                                <div class="count currency">$investments.get("inStock")</div>
989
                                <div class="title">Total Stock</div>
1007
                                <div class="title">Total Stock</div>
990
                            </div>
1008
                            </div>
991
                        </div> 
1009
                        </div>
992
                </div>
1010
                    </div>
993
               ## <button type="button" class="incomeHidden" hidden>My Button</button>
-
 
994
               ##     <div class="row partnerIncomeContainer">
1011
                    <div class="row partnerIncomeContainer">
995
                         
-
 
996
                 ##   </div> 
1012
                    </div>
997
                   
-
 
-
 
1013
 
998
                    <div class="row">
1014
                    <div class="row">
999
                        <div class="Mobile">
1015
                        <div class="Mobile">
1000
                            #foreach($brandStockPrice in $brandStockPrices)
1016
                            #foreach($brandStockPrice in $brandStockPrices)
1001
 
1017
 
1002
                                <div class="col-lg-3">
1018
                                <div class="col-lg-3">
Line 1018... Line 1034...
1018
								</p>
1034
								</p>
1019
                                #else
1035
                                #else
1020
                                    <p>&nbsp;</p>
1036
                                    <p>&nbsp;</p>
1021
                                #end
1037
                                #end
1022
							</span>
1038
							</span>
1023
                                <span class="card-img" style="text-align:center">
1039
                                        <span class="card-img" style="text-align:center">
1024
							<img src="${brandStockPrice.getBrandUrl()}" data-stockbrand="$brandStockPrice.getBrand()"
1040
							<img src="${brandStockPrice.getBrandUrl()}" data-stockbrand="$brandStockPrice.getBrand()"
1025
                                 class="cover $brandStockPrice.getBrand()" id="stockcatalog"
1041
                                 class="cover $brandStockPrice.getBrand()" id="stockcatalog"
1026
                                 class="$brandStockPrice.getBrand()">
1042
                                 class="$brandStockPrice.getBrand()">
1027
							</span></span>
1043
							</span></span>
1028
                                    </div>
1044
                                    </div>
Line 1053... Line 1069...
1053
                        </div>
1069
                        </div>
1054
                    </div>
1070
                    </div>
1055
 
1071
 
1056
 
1072
 
1057
                </div>
1073
                </div>
1058
		
1074
 
1059
                <div class="col-lg-6">
1075
                <div class="col-lg-6">
1060
                	<div class="row">
1076
                    <div class="row">
1061
                		    <div class="form-group">
1077
                        <div class="form-group">
1062
						      <label class="control-label col-lg-4" for="months">Select Offers for Month</label>
1078
                            <label class="control-label col-lg-4" for="months">Select Offers for Month</label>
1063
						      <div class="col-lg-6">
1079
                            <div class="col-lg-6">
1064
						        <select class="form-control input-sm" id = "offer-months"  name="months" placeholder="months" style="margin:auto;">
1080
                                <select class="form-control input-sm" id="offer-months" name="months"
-
 
1081
                                        placeholder="months" style="margin:auto;">
1065
								    <option value="" disabled selected>month</option>
1082
                                    <option value="" disabled selected>month</option>
1066
									#foreach($mVM in $monthValueMap.entrySet())
1083
                                    #foreach($mVM in $monthValueMap.entrySet())
1067
										#if($mVM.getKey()== $month )
1084
                                        #if($mVM.getKey()== $month )
1068
					             		<option value="$mVM.getKey()" selected>$mVM.getValue()</option>
1085
                                            <option value="$mVM.getKey()" selected>$mVM.getValue()</option>
1069
					             		#else
1086
                                        #else
1070
					             		<option value="$mVM.getKey()">$mVM.getValue()</option>
1087
                                            <option value="$mVM.getKey()">$mVM.getValue()</option>
1071
					             		#end
1088
                                        #end
1072
				             		#end
1089
                                    #end
1073
						        </select> 
1090
                                </select>
1074
						      </div>
1091
                            </div>
1075
						    </div>
1092
                        </div>
1076
					</div>
1093
                    </div>
1077
					<div id="offer-container">
1094
                    <div id="offer-container">
1078
                    	#parse("published-offers.vm")
1095
                        #parse("published-offers.vm")
1079
					</div>                   
1096
                    </div>
1080
                    <div class="offer-margin-container">
1097
                    <div class="offer-margin-container">
1081
                        <div class="modal  text-center" id="offerDescription">
1098
                        <div class="modal  text-center" id="offerDescription">
1082
                            <div class="modal-dialog modal-lg modal-dialog-scrollable">
1099
                            <div class="modal-dialog modal-lg modal-dialog-scrollable">
1083
                                <div class="modal-content">
1100
                                <div class="modal-content">
1084
                                </div>
1101
                                </div>
1085
                            </div>
1102
                            </div>
1086
                        </div>
1103
                        </div>
1087
                    </div>
1104
                    </div>
1088
       
1105
 
1089
                    <div class="row col-lg-12 info-box white-bg" id="performanceContainer">
1106
                    <div class="row col-lg-12 info-box white-bg" id="performanceContainer">
1090
                                   #parse("performance.vm")
1107
                        #parse("performance.vm")
1091
                      		
-
 
-
 
1108
 
1092
                  </div>
1109
                    </div>
1093
                    #if($activatedImeis > 0)
1110
                    #if($activatedImeis > 0)
1094
                        <div class="row col-lg-12 info-box white-bg">
1111
                        <div class="row col-lg-12 info-box white-bg">
1095
                            #parse("dashboard-activated-imeis.vm")
1112
                            #parse("dashboard-activated-imeis.vm")
1096
                        </div>
1113
                        </div>
1097
                    #end
1114
                    #end
Line 1099... Line 1116...
1099
                        <div class="row col-lg-12 info-box white-bg">
1116
                        <div class="row col-lg-12 info-box white-bg">
1100
                            #parse("dashboard-maa.vm")
1117
                            #parse("dashboard-maa.vm")
1101
                        </div>
1118
                        </div>
1102
                    #end
1119
                    #end
1103
                    <div class="row col-lg-12">
1120
                    <div class="row col-lg-12">
1104
                    <ul class="nav nav-tabs">
1121
                        <ul class="nav nav-tabs">
1105
                      <li class="bar_chart"><a class="ba">MTD Sales</a></li>
1122
                            <li class="bar_chart"><a class="ba">MTD Sales</a></li>
1106
                      <li class="lms_line_chart"><a class="la">Monthly Sales</a></li>
1123
                            <li class="lms_line_chart"><a class="la">Monthly Sales</a></li>
1107
	                  <li class="purchase_line_chart"><a class="pa">Monthly Purchase</a></li>
1124
                            <li class="purchase_line_chart"><a class="pa">Monthly Purchase</a></li>
1108
	                  <li class="priceDrop_chart"><a class="pd">Price-Drop</a></li>
1125
                            <li class="priceDrop_chart"><a class="pd">Price-Drop</a></li>
1109
	                  <li class="pending_activation_chart"><a class="pac">Pending Activation</a></li>
1126
                            <li class="pending_activation_chart"><a class="pac">Pending Activation</a></li>
1110
	                  <li class="pending_upgrade_offer"><a class="puo"> Upgrade Offer</a></li>
1127
                            <li class="pending_upgrade_offer"><a class="puo"> Upgrade Offer</a></li>
1111
                     
-
 
-
 
1128
 
1112
                    </ul>
1129
                        </ul>
1113
                         <div class="row ChartContainer" style="margin:5px">
1130
                        <div class="row ChartContainer" style="margin:5px">
-
 
1131
 
1114
                         
1132
                        </div>
1115
                                </div>
-
 
1116
               
1133
 
1117
                        
-
 
-
 
1134
 
1118
                    </div>
1135
                    </div>
1119
                    
-
 
1120
                   
-
 
-
 
1136
 
1121
               
1137
 
1122
                </div>
1138
                </div>
1123
            </div>
1139
            </div>
1124
            </div>
1140
            </div>
1125
        </section>
1141
        </section>
1126
        <div class="text-center">
1142
        <div class="text-center">
Line 1139... Line 1155...
1139
    </script>
1155
    </script>
1140
    #parse("include-scripts.vm")
1156
    #parse("include-scripts.vm")
1141
 
1157
 
1142
    <script type="text/javascript">
1158
    <script type="text/javascript">
1143
        $(document).ready(function () {
1159
        $(document).ready(function () {
1144
          $("#offerDescription").modal({backdrop:"static", keyboard:true, focus:true, show:false});
1160
            $("#offerDescription").modal({backdrop: "static", keyboard: true, focus: true, show: false});
1145
          var salesCloseFlag = true;
1161
            var salesCloseFlag = true;
1146
            $("#blue-dropdown").click(function () {
1162
            $("#blue-dropdown").click(function () {
1147
                // console.log("clicked");
1163
                // console.log("clicked");
1148
                if (salesCloseFlag) {
1164
                if (salesCloseFlag) {
1149
                    var containerWidth = $(".blue-bg").width()
1165
                    var containerWidth = $(".blue-bg").width()
1150
                    doGetAjaxRequestHandler(context + "/getMonthSale", function (response) {
1166
                    doGetAjaxRequestHandler(context + "/getMonthSale", function (response) {
Line 1156... Line 1172...
1156
                    $(".blue-bg").removeAttr('style');
1172
                    $(".blue-bg").removeAttr('style');
1157
                    $('.monthsaleContainer').html('');
1173
                    $('.monthsaleContainer').html('');
1158
                }
1174
                }
1159
                salesCloseFlag = !salesCloseFlag;
1175
                salesCloseFlag = !salesCloseFlag;
1160
            });
1176
            });
1161
        });
-
 
1162
        
-
 
1163
 
1177
 
1164
  
-
 
-
 
1178
            $(".bar_chart").click();
1165
  
1179
 
1166
        $(document).ready(function () {
1180
            var month = 0;
1167
        
-
 
-
 
1181
            doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month, function (response) {
1168
        $(".bar_chart").click();
1182
                console.log(response);
1169
        
-
 
1170
         $(".incomeHidden").click();
1183
                $(".partnerIncomeContainer").html(response);
1171
        
1184
            });
-
 
1185
 
1172
            var investmentCloseFlag = true;
1186
            var investmentCloseFlag = true;
1173
            $("#purple-dropdown").click(function () {
1187
            $("#purple-dropdown").click(function () {
1174
                console.log('hello');
1188
                console.log('hello');
1175
                $(".flash").stop();
1189
                $(".flash").stop();
1176
                // console.log("clicked");
1190
                // console.log("clicked");
Line 1186... Line 1200...
1186
                }
1200
                }
1187
                investmentCloseFlag = !investmentCloseFlag;
1201
                investmentCloseFlag = !investmentCloseFlag;
1188
            });
1202
            });
1189
        });
1203
        });
1190
 
1204
 
1191
      function sleep(delay) {
1205
        function sleep(delay) {
1192
    var start = new Date().getTime();
1206
            var start = new Date().getTime();
1193
    while (new Date().getTime() < start + delay);
1207
            while (new Date().getTime() < start + delay) ;
-
 
1208
        }
1194
}
1209
 
1195
        $(document).on("click", ".priceDrop_chart",
1210
        $(document).on("click", ".priceDrop_chart",
1196
                function () {
1211
                function () {
1197
                $(".pd").css("color", "blue"); 
1212
                    $(".pd").css("color", "blue");
1198
                $(".pd").css("background-color", "white");
1213
                    $(".pd").css("background-color", "white");
1199
              $(".ba").css("color", "white"); 
1214
                    $(".ba").css("color", "white");
1200
              $(".ba").css("background-color", "#C0C0C0");    
1215
                    $(".ba").css("background-color", "#C0C0C0");
1201
                 $(".pa").css("color", "white"); 
1216
                    $(".pa").css("color", "white");
1202
              $(".pa").css("background-color", "#C0C0C0");    
1217
                    $(".pa").css("background-color", "#C0C0C0");
1203
               $(".la").css("color", "white"); 
1218
                    $(".la").css("color", "white");
1204
               $(".la").css("background-color", "#C0C0C0");
1219
                    $(".la").css("background-color", "#C0C0C0");
1205
               
1220
 
1206
                $(".pac").css("color", "white"); 
1221
                    $(".pac").css("color", "white");
1207
                $(".pac").css("background-color", "#C0C0C0");
1222
                    $(".pac").css("background-color", "#C0C0C0");
1208
                
-
 
1209
                
1223
 
1210
                
1224
 
1211
                   $(".puo").css("color", "white"); 
1225
                    $(".puo").css("color", "white");
1212
                $(".puo").css("background-color", "#C0C0C0");
1226
                    $(".puo").css("background-color", "#C0C0C0");
1213
                
1227
 
1214
             
1228
 
1215
                 sleep(500);
1229
                    sleep(500);
1216
                 doGetAjaxRequestHandler(context + "/getMonthlyPriceDrop", function (response) {
1230
                    doGetAjaxRequestHandler(context + "/getMonthlyPriceDrop", function (response) {
1217
             
1231
 
1218
                        $('.ChartContainer').html(response);
1232
                        $('.ChartContainer').html(response);
1219
                    });    
1233
                    });
1220
       });
1234
                });
1221
       
1235
 
1222
       
1236
 
1223
          $(document).on("click", ".pending_activation_chart",
1237
        $(document).on("click", ".pending_activation_chart",
1224
                function () {
1238
                function () {
1225
                  $(".pac").css("color", "blue"); 
1239
                    $(".pac").css("color", "blue");
1226
                $(".pac").css("background-color", "white");
1240
                    $(".pac").css("background-color", "white");
1227
             
1241
 
1228
                $(".pd").css("color", "white"); 
1242
                    $(".pd").css("color", "white");
1229
                $(".pd").css("background-color", "#C0C0C0");
1243
                    $(".pd").css("background-color", "#C0C0C0");
1230
              $(".ba").css("color", "white"); 
1244
                    $(".ba").css("color", "white");
1231
              $(".ba").css("background-color", "#C0C0C0");    
1245
                    $(".ba").css("background-color", "#C0C0C0");
1232
                 $(".pa").css("color", "white"); 
1246
                    $(".pa").css("color", "white");
1233
              $(".pa").css("background-color", "#C0C0C0");    
1247
                    $(".pa").css("background-color", "#C0C0C0");
1234
               $(".la").css("color", "white"); 
1248
                    $(".la").css("color", "white");
1235
               $(".la").css("background-color", "#C0C0C0");
1249
                    $(".la").css("background-color", "#C0C0C0");
1236
               
1250
 
1237
                $(".puo").css("color", "white"); 
1251
                    $(".puo").css("color", "white");
1238
                $(".puo").css("background-color", "#C0C0C0");
1252
                    $(".puo").css("background-color", "#C0C0C0");
1239
             
1253
 
1240
                 sleep(500);
1254
                    sleep(500);
1241
                 doGetAjaxRequestHandler(context + "/getMonthlyActivation", function (response) {
1255
                    doGetAjaxRequestHandler(context + "/getMonthlyActivation", function (response) {
1242
             
1256
 
1243
                        $('.ChartContainer').html(response);
1257
                        $('.ChartContainer').html(response);
1244
                    });    
1258
                    });
1245
       });
1259
                });
1246
       
1260
 
1247
       $(document).on("click", ".purchase_line_chart",
1261
        $(document).on("click", ".purchase_line_chart",
1248
                function () {
1262
                function () {
1249
                $(".pa").css("color", "blue"); 
1263
                    $(".pa").css("color", "blue");
1250
                $(".pa").css("background-color", "white");
1264
                    $(".pa").css("background-color", "white");
1251
              $(".ba").css("color", "white"); 
1265
                    $(".ba").css("color", "white");
1252
              $(".ba").css("background-color", "#C0C0C0");  
1266
                    $(".ba").css("background-color", "#C0C0C0");
1253
               $(".pd").css("color", "white"); 
1267
                    $(".pd").css("color", "white");
1254
                $(".pd").css("background-color", "#C0C0C0");  
1268
                    $(".pd").css("background-color", "#C0C0C0");
1255
               $(".la").css("color", "white"); 
1269
                    $(".la").css("color", "white");
1256
                $(".la").css("background-color", "#C0C0C0");
1270
                    $(".la").css("background-color", "#C0C0C0");
1257
                
1271
 
1258
                  $(".pac").css("color", "white"); 
1272
                    $(".pac").css("color", "white");
1259
                $(".pac").css("background-color", "#C0C0C0");
1273
                    $(".pac").css("background-color", "#C0C0C0");
1260
             
1274
 
1261
               $(".puo").css("color", "white"); 
1275
                    $(".puo").css("color", "white");
1262
                $(".puo").css("background-color", "#C0C0C0");
1276
                    $(".puo").css("background-color", "#C0C0C0");
1263
             
1277
 
1264
                 doGetAjaxRequestHandler(context + "/getMonthlyPurchaseLineChart", function (response) {
1278
                    doGetAjaxRequestHandler(context + "/getMonthlyPurchaseLineChart", function (response) {
1265
                        $('.ChartContainer').html(response);
1279
                        $('.ChartContainer').html(response);
1266
                    });    
1280
                    });
1267
       });
1281
                });
1268
         
1282
 
1269
        $(document).on("click", ".lms_line_chart",
1283
        $(document).on("click", ".lms_line_chart",
1270
                function () {
1284
                function () {
1271
                
-
 
-
 
1285
 
1272
              $(".ba").css("color", "white"); 
1286
                    $(".ba").css("color", "white");
1273
              $(".ba").css("background-color", "#C0C0C0");   
1287
                    $(".ba").css("background-color", "#C0C0C0");
1274
               $(".pa").css("color", "white"); 
1288
                    $(".pa").css("color", "white");
1275
                $(".pa").css("background-color", "#C0C0C0");   
1289
                    $(".pa").css("background-color", "#C0C0C0");
1276
               $(".la").css("color", "blue"); 
1290
                    $(".la").css("color", "blue");
1277
                $(".la").css("background-color", "white");
1291
                    $(".la").css("background-color", "white");
1278
                $(".pd").css("color", "white");
1292
                    $(".pd").css("color", "white");
1279
                $(".pd").css("background-color", "#C0C0C0");
1293
                    $(".pd").css("background-color", "#C0C0C0");
1280
                
1294
 
1281
                 $(".pac").css("color", "white"); 
1295
                    $(".pac").css("color", "white");
1282
                $(".pac").css("background-color", "#C0C0C0");
1296
                    $(".pac").css("background-color", "#C0C0C0");
1283
                
1297
 
1284
                  $(".puo").css("color", "white"); 
1298
                    $(".puo").css("color", "white");
1285
                $(".puo").css("background-color", "#C0C0C0");
1299
                    $(".puo").css("background-color", "#C0C0C0");
1286
             
1300
 
1287
                 doGetAjaxRequestHandler(context + "/getlmsLineChart", function (response) {
1301
                    doGetAjaxRequestHandler(context + "/getlmsLineChart", function (response) {
1288
                        $('.ChartContainer').html(response);
1302
                        $('.ChartContainer').html(response);
1289
                    });    
1303
                    });
1290
       });       
1304
                });
1291
             
1305
 
1292
          $(document).on("click", ".bar_chart",
1306
        $(document).on("click", ".bar_chart",
1293
                function () {    
1307
                function () {
1294
                $(".ba").css("color", "blue");
1308
                    $(".ba").css("color", "blue");
1295
                $(".ba").css("background-color", "white");   
1309
                    $(".ba").css("background-color", "white");
1296
               $(".la").css("color", "white"); 
1310
                    $(".la").css("color", "white");
1297
                $(".la").css("background-color", "#C0C0C0");
1311
                    $(".la").css("background-color", "#C0C0C0");
1298
                 $(".pa").css("color", "white"); 
1312
                    $(".pa").css("color", "white");
1299
                $(".pa").css("background-color", "#C0C0C0");  
1313
                    $(".pa").css("background-color", "#C0C0C0");
1300
                 $(".pd").css("color", "white");
1314
                    $(".pd").css("color", "white");
1301
                $(".pd").css("background-color", "#C0C0C0");    
1315
                    $(".pd").css("background-color", "#C0C0C0");
1302
                
1316
 
1303
                 $(".pac").css("color", "white"); 
1317
                    $(".pac").css("color", "white");
1304
                $(".pac").css("background-color", "#C0C0C0");
1318
                    $(".pac").css("background-color", "#C0C0C0");
1305
                
1319
 
1306
                  $(".puo").css("color", "white"); 
1320
                    $(".puo").css("color", "white");
1307
                $(".puo").css("background-color", "#C0C0C0");
1321
                    $(".puo").css("background-color", "#C0C0C0");
1308
             
1322
 
1309
                            
-
 
-
 
1323
 
1310
                 doGetAjaxRequestHandler(context + "/getBarChart", function (response) {
1324
                    doGetAjaxRequestHandler(context + "/getBarChart", function (response) {
1311
                        $('.ChartContainer').html(response);
1325
                        $('.ChartContainer').html(response);
1312
                    });              
1326
                    });
1313
            }); 
1327
                });
1314
            
-
 
1315
            
-
 
1316
            
1328
 
1317
           
1329
 
1318
            $(document).on("click", ".pending_upgrade_offer",
1330
        $(document).on("click", ".pending_upgrade_offer",
1319
                function () {  
1331
                function () {
1320
                
1332
 
1321
                    $(".puo").css("color", "blue"); 
1333
                    $(".puo").css("color", "blue");
1322
                $(".puo").css("background-color", "white");
1334
                    $(".puo").css("background-color", "white");
1323
               
1335
 
1324
                $(".ba").css("color", "white");
1336
                    $(".ba").css("color", "white");
1325
                $(".ba").css("background-color", "#C0C0C0");   
1337
                    $(".ba").css("background-color", "#C0C0C0");
1326
               $(".la").css("color", "white"); 
1338
                    $(".la").css("color", "white");
1327
                $(".la").css("background-color", "#C0C0C0");
1339
                    $(".la").css("background-color", "#C0C0C0");
1328
                 $(".pa").css("color", "white"); 
1340
                    $(".pa").css("color", "white");
1329
                $(".pa").css("background-color", "#C0C0C0");  
1341
                    $(".pa").css("background-color", "#C0C0C0");
1330
                 $(".pd").css("color", "white");
1342
                    $(".pd").css("color", "white");
1331
                $(".pd").css("background-color", "#C0C0C0");    
1343
                    $(".pd").css("background-color", "#C0C0C0");
1332
                
1344
 
1333
                 $(".pac").css("color", "white"); 
1345
                    $(".pac").css("color", "white");
1334
                $(".pac").css("background-color", "#C0C0C0");
1346
                    $(".pac").css("background-color", "#C0C0C0");
1335
                
-
 
-
 
1347
 
1336
                 doGetAjaxRequestHandler(context + "/getMonthlySamsungUpgradeOffer", function (response) {
1348
                    doGetAjaxRequestHandler(context + "/getMonthlySamsungUpgradeOffer", function (response) {
1337
                        $('.ChartContainer').html(response);
1349
                        $('.ChartContainer').html(response);
1338
                    });              
1350
                    });
1339
            }); 
1351
                });
1340
            
-
 
1341
 
1352
 
1342
 
1353
 
1343
        $(document).on("click", "p.description-offer",
1354
        $(document).on("click", "p.description-offer",
1344
                function (e) {
1355
                function (e) {
1345
                    var offerid = $(this).data('offerid');
1356
                    var offerid = $(this).data('offerid');
Line 1357... Line 1368...
1357
                function (e) {
1368
                function (e) {
1358
                    $("#descriptionMenu").empty();
1369
                    $("#descriptionMenu").empty();
1359
                });
1370
                });
1360
 
1371
 
1361
 
1372
 
1362
        $(document).on("click", "#cancel-model",
1373
        $(document).on("click", "#cancel-model", function (e) {
1363
                function (e) {
-
 
1364
                    $("#descriptionMenu").empty();
1374
            $("#descriptionMenu").empty();
1365
                });
1375
        });
1366
 
1376
 
-
 
1377
        $(document).on('change', "#month-wish-total-income", function () {
-
 
1378
 
-
 
1379
            var month = $(this).val();
-
 
1380
            console.log(month);
-
 
1381
 
-
 
1382
            doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month, function (response) {
-
 
1383
                console.log(response);
-
 
1384
                $(".partnerIncomeContainer").html(response);
-
 
1385
            });
-
 
1386
        });
1367
 
1387
 
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
 
1388
 
1378
     $(document).on('change', "#month-wish-total-income", function() {
1389
        $(document).on('change', "#performance-months", function () {
1379
      
1390
 
1380
       	var month = $(this).val();
1391
            var month = $("#performance-months").val();
1381
       	  console.log(month);   
1392
            console.log(month);
1382
      
1393
 
1383
        	doGetAjaxRequestHandler(context + "/partnerTotalIncomeByMonth/" + month ,function (response) {
1394
            doGetAjaxRequestHandler(context + "/getMonthsInvestment?month=" + month, function (response) {
1384
       		console.log(response);
1395
                console.log(response);
1385
       		$(".partnerIncomeContainer").html(response);
1396
                $("#performanceContainer").html(response);
-
 
1397
 
1386
       	});
1398
            });
1387
              	});
1399
        });
1388
 
1400
 
1389
       
1401
 
1390
       $(document).on('change', "#performance-months", function() {
1402
        $(document).on('change', "#offer-months", function () {
1391
       
-
 
1392
            var month = 	$("#performance-months").val();
1403
            var month = $(this).val();
1393
             console.log(month);   
-
 
1394
          
-
 
1395
           doGetAjaxRequestHandler(context + "/getMonthsInvestment?month=" + month,function (response) {
1404
            doGetAjaxRequestHandler(context + "/published-offers/" + month, function (response) {
1396
                   console.log(response);
1405
                console.log(response);
1397
                  $("#performanceContainer").html(response);
1406
                $("#offer-container").html(response);
-
 
1407
            });
1398
        
1408
        });
-
 
1409
 
-
 
1410
 
-
 
1411
        $(document).on("click", ".pndg-status", function () {
-
 
1412
            console.log("Hello");
-
 
1413
            pendingOrderStatus("main-content");
1399
        });
1414
        });
1400
              	});
-
 
1401
             	
-
 
1402
      
-
 
1403
              	
-
 
1404
              	
-
 
1405
      $(document).on('change', "#offer-months", function() {
-
 
1406
       	var month = 	$(this).val();
-
 
1407
       	doGetAjaxRequestHandler(context + "/published-offers/" + month ,function (response) {
-
 
1408
       		console.log(response);
-
 
1409
       		$("#offer-container").html(response);
-
 
1410
       	});
-
 
1411
              	});
-
 
1412
 
1415
 
1413
              	
-
 
1414
         $(document).on("click", ".pndg-status", function() {
-
 
1415
             console.log("Hello");   
-
 
1416
             pendingOrderStatus("main-content");
-
 
1417
              	});
-
 
1418
        
-
 
1419
        function pendingOrderStatus(domId) {
1416
        function pendingOrderStatus(domId) {
1420
	        doGetAjaxRequestHandler(context + "/getPendingOrderStatus",function (response) {
1417
            doGetAjaxRequestHandler(context + "/getPendingOrderStatus", function (response) {
1421
                   console.log(response);
1418
                console.log(response);
1422
                   $('#' + domId).html(response);
1419
                $('#' + domId).html(response);
1423
	          });
1420
            });
1424
                        }
1421
        }
1425
                        
-
 
-
 
1422
 
1426
         $(document).on("click", ".billed-status", function() {
1423
        $(document).on("click", ".billed-status", function () {
1427
             console.log("Hello");   
1424
            console.log("Hello");
1428
             billedOrderStatus("main-content");
1425
            billedOrderStatus("main-content");
1429
              	});
1426
        });
1430
        
1427
 
1431
        function billedOrderStatus(domId) {
1428
        function billedOrderStatus(domId) {
1432
	        doGetAjaxRequestHandler(context + "/getBilledOrderStatus",function (response) {
1429
            doGetAjaxRequestHandler(context + "/getBilledOrderStatus", function (response) {
1433
                   console.log(response);
1430
                console.log(response);
1434
                   $('#' + domId).html(response);
1431
                $('#' + domId).html(response);
1435
	          });
1432
            });
1436
                        }
1433
        }
-
 
1434
 
1437
          $(document).on("click", ".shipped-status", function() {
1435
        $(document).on("click", ".shipped-status", function () {
1438
              console.log("Hello");   
1436
            console.log("Hello");
1439
                shippedOrderStatus("main-content");
1437
            shippedOrderStatus("main-content");
1440
              	});
1438
        });
1441
        
1439
 
1442
        function shippedOrderStatus(domId) {
1440
        function shippedOrderStatus(domId) {
1443
	        doGetAjaxRequestHandler(context + "/getShippedOrderStatus",function (response) {
1441
            doGetAjaxRequestHandler(context + "/getShippedOrderStatus", function (response) {
1444
                   console.log(response);
1442
                console.log(response);
1445
                   $('#' + domId).html(response);
1443
                $('#' + domId).html(response);
1446
	          });
1444
            });
1447
           }
1445
        }
1448
           
1446
 
1449
           $(document).on("click", ".grn-status", function() {
1447
        $(document).on("click", ".grn-status", function () {
1450
              console.log("Hello");   
1448
            console.log("Hello");
1451
                grnOrderStatus("main-content");
1449
            grnOrderStatus("main-content");
1452
              	});
1450
        });
1453
        
1451
 
1454
        function grnOrderStatus(domId) {
1452
        function grnOrderStatus(domId) {
1455
	        doGetAjaxRequestHandler(context + "/getGrnPendingOrderStatus",function (response) {
1453
            doGetAjaxRequestHandler(context + "/getGrnPendingOrderStatus", function (response) {
1456
                   console.log(response);
1454
                console.log(response);
1457
                   $('#' + domId).html(response);
1455
                $('#' + domId).html(response);
1458
	          });
1456
            });
1459
           }
1457
        }
1460
           
-
 
1461
           /*
-
 
1462
           
1458
 
1463
            $(document).on("click", ".credited-income", function() {
1459
        $(document).on("click", ".credit-income", function () {
1464
              console.log("Hello");   
1460
            console.log("Hello");
1465
                lastMonthCreditIncome("main-content");
1461
            lastMonthCreditIncome("main-content");
1466
              	});
1462
        });
1467
        
1463
 
1468
        function lastMonthCreditIncome(domId) {
1464
        function lastMonthCreditIncome(domId) {
1469
	        doGetAjaxRequestHandler(context + "/getLastMonthCreditIncome",function (response) {
1465
            doGetAjaxRequestHandler(context + "/getLastMonthCreditIncome", function (response) {
1470
                   console.log(response);
1466
                console.log(response);
1471
                   $('#' + domId).html(response);
1467
                $('#' + domId).html(response);
1472
	          });
1468
            });
1473
           }
1469
        }
1474
           
1470
 
1475
           $(document).on("click", ".pending-income", function() {
1471
        $(document).on("click", ".pending-income", function () {
1476
              console.log("Hello");   
1472
            console.log("Hello");
1477
               lastMonthCreditIncome("main-content");
1473
            lastMonthCreditIncome("main-content");
1478
              	});
1474
        });
1479
        
1475
 
1480
        $(document).on("click", ".total-income", function() {
1476
        $(document).on("click", ".total-income", function () {
1481
              console.log("Hello");   
1477
            console.log("Hello");
1482
               lastMonthCreditIncome("main-content");
1478
            lastMonthCreditIncome("main-content");
1483
              	});
-
 
1484
      
-
 
1485
           */
1479
        });
1486
      
1480
 
1487
 
1481
 
1488
    </script>
1482
    </script>
1489
    <script>
1483
    <script>
1490
 
1484
 
1491
        //knob
1485
        //knob
Line 1740... Line 1734...
1740
        color: black;
1734
        color: black;
1741
        font-size: 17px;
1735
        font-size: 17px;
1742
        border: solid 2px black;
1736
        border: solid 2px black;
1743
        background: white;
1737
        background: white;
1744
    }
1738
    }
1745
    
1739
 
1746
    #offer-container {
1740
    #offer-container {
1747
       overflow-y: auto;
1741
        overflow-y: auto;
1748
       max-height: 367px;
1742
        max-height: 367px;
1749
    }
1743
    }
1750
    
1744
 
1751
 
1745
 
1752
    canvas {
1746
    canvas {
1753
        -moz-user-select: none;
1747
        -moz-user-select: none;
1754
        -webkit-user-select: none;
1748
        -webkit-user-select: none;
1755
        -ms-user-select: none;
1749
        -ms-user-select: none;
1756
    }
1750
    }
1757
</style>
1751
</style>
1758
</script>
1752
</script>
1759
 
1753
 
1760
 
1754
 
1761
		
-
 
1762
<script type="text/javascript">
1755
<script type="text/javascript">
1763
    window.onload = function () {
1756
    window.onload = function () {
1764
        var options = $chartMap;
1757
        var options = $chartMap;
1765
        var ctx = document.getElementById('barchart').getContext('2d');
1758
        var ctx = document.getElementById('barchart').getContext('2d');
1766
        window.bar = new Chart(ctx, options);
1759
        window.bar = new Chart(ctx, options);