Subversion Repositories SmartDukaan

Rev

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

Rev 33990 Rev 34590
Line 56... Line 56...
56
				    $('.currency').each(function (index, ele) {
56
				    $('.currency').each(function (index, ele) {
57
				        if (!isNaN(parseInt($(ele).html()))) {
57
				        if (!isNaN(parseInt($(ele).html()))) {
58
				            $(ele).html(numberToComma($(ele).html()));
58
				            $(ele).html(numberToComma($(ele).html()));
59
				        }
59
				        }
60
				    });
60
				    });
-
 
61
 
-
 
62
                    $(document).on('click', '.new-dashboard', function () {
-
 
63
                        console.log('click11111')
-
 
64
                        var fofoId = $(this).data('fofoid');
-
 
65
 
-
 
66
                        window.open("/analysisDashboard?fofoId=" + fofoId, '_blank');
-
 
67
                    });
61
				})
68
				})
62
</script>
69
</script>
63
   
70
   
64
    <style>
71
    <style>
65
        .yellow {
72
        .yellow {
Line 110... Line 117...
110
 
117
 
111
 
118
 
112
    <div class="container-fluid mt-2 mb-5">
119
    <div class="container-fluid mt-2 mb-5">
113
        <div class="row mt-5" >
120
        <div class="row mt-5" >
114
            <div class="col bg-dark text-left px-3 py-2 border-bottom">
121
            <div class="col bg-dark text-left px-3 py-2 border-bottom">
115
                <h5 class="text-light mb-0">Raised Flags</h5>
122
                <h5 class="text-light mb-0">Raised Flags
-
 
123
                    <button class="new-dashboard btn btn-info btn-sm" data-fofoid="$fofoId">Dashboard Info</button>
-
 
124
                    <button id="mobileAppId" href="${rc.contextPath}/mobileapp?emailId=$customRetailer.getEmail()"
-
 
125
                            class="btn btn-danger btn-sm" target="_blank">Franchise App
-
 
126
                    </button>
-
 
127
 
-
 
128
                </h5>
116
            </div>
129
            </div>
117
        </div>
130
        </div>
118
        <div class="row mt-5">
131
        <div class="row mt-5">
119
            <div class="col">
132
            <div class="col">
120
                <div>
133
                <div>
Line 225... Line 238...
225
		    	      
238
		    	      
226
		    	          <td>$ls.getInterestPaid().setScale(2,$ru)</td>
239
		    	          <td>$ls.getInterestPaid().setScale(2,$ru)</td>
227
		    	          <td>$ls.getCreatedOn().format($dateTimeFormatter)</td>
240
		    	          <td>$ls.getCreatedOn().format($dateTimeFormatter)</td>
228
		    	          <td>$ls.getDueDate().format($dateTimeFormatter)</td>
241
		    	          <td>$ls.getDueDate().format($dateTimeFormatter)</td>
229
		    		   </tr>
242
		    		   </tr>
230
		    		 #end	
243
                     #end
-
 
244
                            <tr>
-
 
245
                                <td colspan="2" style="text-align: right;">Total</td>
-
 
246
                                <td>$totalInitialAmount.setScale(2,$ru)</td>
-
 
247
                                <td>$totalPendingAmount.setScale(2,$ru)</td>
-
 
248
                                <td>$totalInterestAccured.setScale(2,$ru)</td>
-
 
249
                                <td>$totalInterestPaid.setScale(2,$ru)</td>
-
 
250
                                <td>-</td>
-
 
251
                                <td>-</td>
-
 
252
                            </tr>
231
			      
253
			      
232
		  
254
		  
233
                        </tbody>
255
                        </tbody>
234
                    </table>
256
                    </table>
235
                </div>
257
                </div>
Line 1112... Line 1134...
1112
    </div>
1134
    </div>
1113
 
1135
 
1114
 
1136
 
1115
    <!-- Optional JavaScript -->
1137
    <!-- Optional JavaScript -->
1116
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
1138
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
1117
    
-
 
1118
 
-
 
1119
 
1139
 
1120
 
1140
 
1121
    <script>
1141
    <script>
1122
     var op = $chartInvestment;
1142
     var op = $chartInvestment;
1123
     var px = document.getElementById('chartInvestmentJSContainer').getContext('2d');
1143
     var px = document.getElementById('chartInvestmentJSContainer').getContext('2d');