Subversion Repositories SmartDukaan

Rev

Rev 32170 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<section>


<script>

 $(".approve").click(function(){
        $("#newAddwalletModal").modal({backdrop: false});
    });
    
    $(".confirm").click(function(){
        $("#newAddwalletModal").modal({backdrop: false});
    });
    
     $(".approved").click(function(){
        $("#newAddwalletModal").modal({backdrop: false});
    });
    
      $(".cancel").click(function(){
        $("#newAddwalletModal").modal({backdrop: false});
    });
</script>

<style>
        .table-striped > tbody > tr:nth-child(odd) > td{
                background: white;
                background-color: white;
        }
        .table-striped > tbody > tr:nth-child(even) > td{
                background: white;
                background-color:white;
        }
        .table-striped > tbody > tr:hover > td,
        .table-striped > tbody > tr:hover {
                background-color: #e98c8f;
                color:white;
        }
        .btn:hover{
                color: grey;
                text-decoration: none;
        }
        .btn-primary:hover{
                color: grey;
                text-decoration: none;
        }
        .sale-details{
                cursor:pointer;
        }
</style>

<script type="text/javascript">
        function getAuthUserPartners(authId){
        
                doGetAjaxRequestHandler(context + "/getAuthUserPartners?authId="+authId,
                        function(response) {
                                $('#' + "main-content").html(response);
                                console.log(response)
                        });
        }
        </script>

<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>Details</h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                                <li><i class="icon_document_alt"></i>Auth User Detail</li>                                              
                        </ol>
                </div>
        </div>

 
<div class="row">
                                        
                                        <div class="col-lg-6">
                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                        <th>Sale</th>
                                        <th>lmtd</th>
                                        <th>mtd</th>
                                        <th>Hygiene</th>
                                        <th>In Stock Investment</th>
                                        <th>Total Investment</th>
                                        </tr>
                                    #foreach($name in $authIdAndallValues.keySet())
                                        <tr onclick="getAuthUserPartners($name)">
                                     <td >$authIdAndAuthUserMap.get($name).getFirstName()</td>
                                     <td class="currency">$authIdAndallValues.get($name).getLmtd()</td>
                                     <td class="currency">$authIdAndallValues.get($name).getMtd()</td>
                                     <td>$authIdAndallValues.get($name).getHygiene()</td>
                                     <td class="currency">$authIdAndallValues.get($name).getStockInInvestment()</td>
                                     <td class="currency">$authIdAndallValues.get($name).getInvestment()</td>
                                  
                                        </tr>
                                         #end
                                        
                            </tbody>
                        </table>
                                                </div>
                                                
                                                <div class="col-lg-4">
                                                 <table class="table table-striped table-advance table-hover">
                                <tbody>
                                        <tr>
                                        <th>Name </th>
                                        <th>Ticket</th>
                                        <th>Leads</th>
                                        </tr>
                                        
                                        #foreach($key in $authIdAndallValues.keySet())
                                        <tr>
                                     <td>$authIdAndAuthUserMap.get($key).getFirstName()</td>
                                     <td>$authIdAndallValues.get($key).getTicket()</td>
                                     <td>$authIdAndallValues.get($key).getLeads()</td>
                                </tr>
                                         #end
                                
                                        
                            </tbody>
                        </table>
                                        
                         </div>
                        </div>
                                        

</section>