Subversion Repositories SmartDukaan

Rev

Rev 24934 | Rev 24936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24934 Rev 24935
Line 38... Line 38...
38
        <div>
38
        <div>
39
            #if($action.isPermitted("supplier:create"))
39
            #if($action.isPermitted("supplier:create"))
40
            <a href="/inventory/supplier/new">Add new Supplier</a>
40
            <a href="/inventory/supplier/new">Add new Supplier</a>
41
            #end
41
            #end
42
        </div>
42
        </div>
43
        <table style="width:1000px" border="1">
43
        <table border="1" cellspacing="0" cellpadding="0">
44
            <thead>
44
            <thead>
45
                <tr>
45
                <tr>
46
                    <th>Id</th>
46
                    <th>Id</th>
47
                    <th>Name</th>
47
                    <th>Name</th>
48
                    <th>Phone</th>
48
                    <th>Phone</th>
Line 52... Line 52...
52
					<th>State</th>
52
					<th>State</th>
53
					<th>PO Validity Days Limit</th>
53
					<th>PO Validity Days Limit</th>
54
                    <th>Head</th>
54
                    <th>Head</th>
55
                    <th>Head email</th>
55
                    <th>Head email</th>
56
                    <th>Contact Person</th>
56
                    <th>Contact Person</th>
57
                    <th class="wrap might-overflow" style="width:500px">Contact email</th>
57
                    <th class="wrap might-overflow">Contact email</th>
58
                    <th>Contact phone</th>
58
                    <th>Contact phone</th>
59
                    <th>Contact fax</th>
59
                    <th>Contact fax</th>
60
                    <th class="wrap might-overflow" style="width:15%">Registered address</th>
60
                    <th class="wrap might-overflow">Registered address</th>
61
                    <th class="wrap might-overflow" style="width:15%">Communicaton address</th>
61
                    <th class="wrap might-overflow">Communicaton address</th>
62
                </tr>
62
                </tr>
63
            </thead>
63
            </thead>
64
            <tbody>
64
            <tbody>
65
                #foreach($supplier in $action.getSuppliers())
65
                #foreach($supplier in $action.getSuppliers())
66
                    <tr>
66
                    <tr>
Line 93... Line 93...
93
    </body>
93
    </body>
94
</html>
94
</html>
95
<script type="text/javascript">
95
<script type="text/javascript">
96
$('table').dataTable({
96
$('table').dataTable({
97
		            "iDisplayLength" : 50
97
		            "iDisplayLength" : 50
-
 
98
		            "bAutoWidth": false,
-
 
99
			        "aoColumns" : [
-
 
100
			            { sWidth: '30px' },
-
 
101
			            { sWidth: '100px' },
-
 
102
			            { sWidth: '60px' },
-
 
103
			            { sWidth: '60px' }
-
 
104
			            { sWidth: '80px' }
-
 
105
			            { sWidth: '80px' }
-
 
106
			            { sWidth: '100px' }
-
 
107
			            { sWidth: '50px' }
-
 
108
			            { sWidth: '100px' }
-
 
109
			            { sWidth: '50px' }
-
 
110
			            { sWidth: '100px' }
-
 
111
			            { sWidth: '400px' }
-
 
112
			            { sWidth: '50px' }
-
 
113
			            { sWidth: '50px' }
-
 
114
			            { sWidth: '175px' }
-
 
115
			            { sWidth: '175px' }
-
 
116
			         ]
-
 
117
			 
98
		        });
118
		        });
-
 
119
		        
99
</script>
120
</script>
100
121