Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28494 tejbeer 1
<style>
2
#warehouseLocation{
3
 
4
width:340px;
5
}
6
 
7
</style>
8
 
9
 
10
<section class="wrapper">
28300 tejbeer 11
	<div class="row">
12
		<div class="col-lg-12">
13
			<h3 class="page-header">
32565 tejbeer 14
				<i class="icon_document_alt"></i>Active Supplier
28300 tejbeer 15
			</h3>
16
			<ol class="breadcrumb">
17
				<li><i class="fa fa-home"></i><a
18
					href="${rc.contextPath}/dashboard">Home</a></li>
32074 tejbeer 19
				<li><i class="icon_document_alt"></i> Supplier</li>
20
				<li><button class="btn btn-primary"  id="new-supplier" type="button">New 
21
                    </button> </li>
28300 tejbeer 22
			</ol>
23
		</div>
24
	</div>
28494 tejbeer 25
 
28300 tejbeer 26
 
27
 
28
 <div class="col-lg-12">
29
        <table class="table table-border table-condensed table-bordered" id="supplier" style="width:100%">
30
 
31
            <thead class="row htable" style="background:#F5F5F5;">
32
 
33
            <tr style="color:black;">
32074 tejbeer 34
                <th>Id</th>
35
                <th>Name</th>
28300 tejbeer 36
                <th>Phone</th>
37
                <th>GSTN</th>
38
                <th>PO validity Days Limit</th>
39
                <th>Head</th>
40
                <th>Head Email</th>
41
                <th>Contact Person</th>
42
                <th>Contact Phone</th>
43
                 <th>Registered Address</th>
44
                <th>Communication Address</th>
45
                <th>In Active</th>
32565 tejbeer 46
                <th>Edit</th>
28300 tejbeer 47
 
48
            </tr>
49
            </thead>
50
            <tbody>
51
                #foreach($supplier in $suppliers )
52
                <tr>
53
 
54
                  <td>$supplier.getId()</td>
55
                  <td>$supplier.getName()</td>
56
                  <td>$supplier.getPhone()</td>
57
                   #if($supplier.getGstin())
58
                  <td>$supplier.getGstin()</td>
59
                  #else
60
                  <td>Not Available</td>
61
                  #end
62
 
63
                  <td>$supplier.getPoValidityLimit()</td>
64
                  <td>$supplier.getHeadName()</td>
65
                  <td>$supplier.getHeadEmail()</td>
66
                  <td>$supplier.getContactName()</td>
67
                  <td>$supplier.getContactPhone()</td>
68
                  <td>$supplier.getRegisteredAddress()</td>
69
                  <td>$supplier.getCommunicationAddress()</td>
70
                    <td>
32074 tejbeer 71
                        <button type="submit" value="submitInActive" data-id="$supplier.getId()"
72
 
73
                     class="btn btn-primary submit-inactive">In Active
28300 tejbeer 74
                        </button>
32565 tejbeer 75
                        </td>
76
                    <td>
77
                        <button type="submit" value="submitEdit" data-id="$supplier.getId()"
78
 
34329 aman.kumar 79
                                class="btn btn-primary supplier-edit">Edit
32565 tejbeer 80
                        </button>
28300 tejbeer 81
                    </td>
82
 
83
                </tr>
84
                #end
85
 
86
            </tbody>
87
 
88
        </table>
89
    </div>
90
 
91
</section>	
92
 
93
<script type="text/javascript">
94
	$(document).ready(function() {
95
 
96
 
97
      var dtable = $('#supplier').DataTable({
98
             "scrollX": true,
99
 
100
            scrollCollapse: true,
101
              "fixedHeader": true,
102
 
103
 
104
              });
105
 
106
              });
28494 tejbeer 107
 
28300 tejbeer 108
</script>