Subversion Repositories SmartDukaan

Rev

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

section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header">
                                <i class="icon_document_alt"></i>Inactive Suppliers
                        </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> Supplier</li>
                        </ol>
                </div>
        </div>




 <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="supplierInactive">

            <thead class="row htable" style="background:#F5F5F5;">

            <tr>
                 <th>Id</th>
                 <th>Name</th>
                <th>Phone</th>
                <th>GSTN</th>
                
                <th>PO validity Days Limit</th>
                <th>Head</th>
                <th>Head Email</th>
                <th>Contact Person</th>
                <th>Contact Phone</th>
                 <th>Registered Address</th>
                <th>Communication Address</th>
                <th>In Active</th>
               
            </tr>
            </thead>
            <tbody>
                #foreach($supplierInactive in $supplierInactives )
                <tr>
                   
                  <td>$supplierInactive.getId()</td>
                  <td>$supplierInactive.getName()</td>
                  <td>$supplierInactive.getPhone()</td>
                  #if($supplierInactive.getGstin())
                  <td>$supplierInactive.getGstin()</td>
                  #else
                   <td>Not Available</td>
                  #end
                  
                  <td>$supplierInactive.getPoValidityLimit()</td>
                  <td>$supplierInactive.getHeadName()</td>
                  <td>$supplierInactive.getHeadEmail()</td>
                  <td>$supplierInactive.getContactName()</td>
                  <td>$supplierInactive.getContactPhone()</td>
                  <td>$supplierInactive.getRegisteredAddress()</td>
                  <td>$supplierInactive.getCommunicationAddress()</td>
                    <td>
                        <button type="button" class="btn btn-primary submit-active" value="submitActive" data-id="$supplierInactive.getId()">Active
                        </button>
                    </td>

                </tr>
                #end

            </tbody>

        </table>
    </div>

</section>      

<script type="text/javascript">
        $(document).ready(function() {

                
      var dtable = $('#supplierInactive').DataTable({
             "scrollX": true,
         
            scrollCollapse: true,
              "fixedHeader": true,
              
              
              });
              
              });
</script>