Subversion Repositories SmartDukaan

Rev

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

<style>
#warehouseLocation{

width:340px;
}

</style>


<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header">
                                <i class="icon_document_alt"></i>Active Supplier
                        </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>
                                <li><button class="btn btn-primary"  id="new-supplier" type="button">New 
                    </button> </li>
                        </ol>
                </div>
        </div>
        


 <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="supplier" style="width:100%">

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

            <tr style="color:black;">
                <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>
                <th>Edit</th>
               
            </tr>
            </thead>
            <tbody>
                #foreach($supplier in $suppliers )
                <tr>
                   
                  <td>$supplier.getId()</td>
                  <td>$supplier.getName()</td>
                  <td>$supplier.getPhone()</td>
                   #if($supplier.getGstin())
                  <td>$supplier.getGstin()</td>
                  #else
                  <td>Not Available</td>
                  #end
               
                  <td>$supplier.getPoValidityLimit()</td>
                  <td>$supplier.getHeadName()</td>
                  <td>$supplier.getHeadEmail()</td>
                  <td>$supplier.getContactName()</td>
                  <td>$supplier.getContactPhone()</td>
                  <td>$supplier.getRegisteredAddress()</td>
                  <td>$supplier.getCommunicationAddress()</td>
                    <td>
                        <button type="submit" value="submitInActive" data-id="$supplier.getId()"
                          
                     class="btn btn-primary submit-inactive">In Active
                        </button>
                        </td>
                    <td>
                        <button type="submit" value="submitEdit" data-id="$supplier.getId()"

                                class="btn btn-primary supplier-edit">Edit
                        </button>
                    </td>

                </tr>
                #end

            </tbody>

        </table>
    </div>

</section>      

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

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