Subversion Repositories SmartDukaan

Rev

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

Rev 32171 Rev 32172
Line 178... Line 178...
178
                    });
178
                    });
179
        }
179
        }
180
 
180
 
181
        function getWarehouseBrandStock(warehouseId) {
181
        function getWarehouseBrandStock(warehouseId) {
182
 
182
 
183
            doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandStock?warehouseId=" + warehouseId,
183
            doGetAjaxRequestHandler(context + "/?warehouseId=" + warehouseId,
184
                    function (response) {
184
                    function (response) {
185
                        $('#' + "main-content").html(response);
185
                        $('#' + "main-content").html(response);
186
                        console.log(response)
186
                        console.log(response)
187
                    });
187
                    });
188
        }
188
        }
Line 550... Line 550...
550
                            </tbody>
550
                            </tbody>
551
                        </table>
551
                        </table>
552
 
552
 
553
                    </div>
553
                    </div>
554
                #end
554
                #end
-
 
555
                <div class="col-lg-6">
-
 
556
                <h3 style="margin-top: -2px; margin-bottom: 24px">
-
 
557
                                                <strong>Loan Summary</strong>
-
 
558
                                            </h3>
-
 
559
 
-
 
560
                                 <table class="table table-striped table-advance table-hover"
-
 
561
                                                                style="width: 50%">
-
 
562
                                  <tbody>
-
 
563
                                 <tr>
-
 
564
                                     <th>   </th>
-
 
565
                                     <th>Loan Count</th>
-
 
566
                                     <th>Loan Value</th>
-
 
567
                                   </tr>
-
 
568
                                   </thead>
-
 
569
                                   <tr>
-
 
570
                                     <th>Total Loan</th>
-
 
571
                                     <td>$loanSummary.getPendingLoansLoanAggregation().getPartnerCount()</td>
-
 
572
                                     <td>$loanSummary.getPendingLoansLoanAggregation().getTotalValue()</td>
-
 
573
                                   </tr>
-
 
574
                                   <tr>
-
 
575
                                     <th>Default Loan</th>
-
 
576
                                     <td>$loanSummary.getDefaultLoansAggregation().getPartnerCount()</td>
-
 
577
                                     <td>$loanSummary.getDefaultLoansAggregation().getTotalValue()</td>
-
 
578
                                   </tr>
-
 
579
                                   <tr>
-
 
580
                                     <th>Due Loan</th>
-
 
581
                                      <td>$loanSummary.getDueLoansAggregation().getPartnerCount()</td>
-
 
582
                                      <td>$loanSummary.getDueLoansAggregation().getTotalValue()</td>
-
 
583
                                   </tr>
-
 
584
                                  </tbody>
-
 
585
                                 </table>
-
 
586
 
-
 
587
                                 </div>
-
 
588
 
-
 
589
 
555
            </div>
590
            </div>
556
            #if($authUserTicketCount)
591
            #if($authUserTicketCount)
557
                <div class="row">
592
                <div class="row">
558
                    <div class="col-lg-6">
593
                    <div class="col-lg-6">
559
 
594