Subversion Repositories SmartDukaan

Rev

Rev 28300 | Rev 32074 | Go to most recent revision | 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">
14
				<i class="icon_document_alt"></i>Supplier
15
			</h3>
16
			<ol class="breadcrumb">
17
				<li><i class="fa fa-home"></i><a
18
					href="${rc.contextPath}/dashboard">Home</a></li>
19
				<li><i class="icon_document_alt"></i> Seller</li>
20
			</ol>
21
		</div>
22
	</div>
28494 tejbeer 23
 
24
<form id="new-supplier-create-form">
25
<div class="col-lg-2">
26
        <div class="col-lg-2">
27
        <button type="button" class="btn btn-info btn-lg"  id="new-supplier">New Supplier</button>
28
    </div>                
29
  </div>
30
 
31
</from>
28300 tejbeer 32
 
33
 
34
 <div class="col-lg-12">
35
        <table class="table table-border table-condensed table-bordered" id="supplier" style="width:100%">
36
 
37
            <thead class="row htable" style="background:#F5F5F5;">
38
 
39
            <tr style="color:black;">
40
                 <th>Id</th>
41
                 <th>Name</th>
42
                <th>Phone</th>
43
                <th>GSTN</th>
44
 
45
                <th>PO validity Days Limit</th>
46
                <th>Head</th>
47
                <th>Head Email</th>
48
                <th>Contact Person</th>
49
                <th>Contact Phone</th>
50
                 <th>Registered Address</th>
51
                <th>Communication Address</th>
52
                <th>In Active</th>
53
 
54
            </tr>
55
            </thead>
56
            <tbody>
57
                #foreach($supplier in $suppliers )
58
                <tr>
59
 
60
                  <td>$supplier.getId()</td>
61
                  <td>$supplier.getName()</td>
62
                  <td>$supplier.getPhone()</td>
63
                   #if($supplier.getGstin())
64
                  <td>$supplier.getGstin()</td>
65
                  #else
66
                  <td>Not Available</td>
67
                  #end
68
 
69
                  <td>$supplier.getPoValidityLimit()</td>
70
                  <td>$supplier.getHeadName()</td>
71
                  <td>$supplier.getHeadEmail()</td>
72
                  <td>$supplier.getContactName()</td>
73
                  <td>$supplier.getContactPhone()</td>
74
                  <td>$supplier.getRegisteredAddress()</td>
75
                  <td>$supplier.getCommunicationAddress()</td>
76
                    <td>
77
                        <button type="submit" form="form2" value="submitInActive" data-id="$supplier.getId()"
78
                                style="background:#f18681;"
79
                                class="submit-inactive">InActive
80
                        </button>
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>