Subversion Repositories SmartDukaan

Rev

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

Rev 24938 Rev 24939
Line 5... Line 5...
5
        <script type="text/javascript" src="/inventory/js/jquery.dataTables.min.js"></script>
5
        <script type="text/javascript" src="/inventory/js/jquery.dataTables.min.js"></script>
6
		<title>
6
		<title>
7
			Suppliers
7
			Suppliers
8
		</title>
8
		</title>
9
		<style>
9
		<style>
10
			.might-overflow {
-
 
11
			    text-overflow: ellipsis;
-
 
12
			    overflow : hidden;
-
 
13
			    white-space: nowrap;
-
 
14
			}
-
 
15
			.might-overflow:hover {
-
 
16
			    text-overflow: clip;
-
 
17
			    white-space: normal;
-
 
18
			    word-break: break-all;
-
 
19
			}
-
 
20
			
-
 
21
			.wrap { 
10
			.wrap { 
22
			   white-space: pre-wrap;      /* CSS3 */   
-
 
23
			   white-space: -moz-pre-wrap; /* Firefox */    
-
 
24
			   white-space: -pre-wrap;     /* Opera <7 */   
-
 
25
			   white-space: -o-pre-wrap;   /* Opera 7 */    
-
 
26
			   word-wrap: break-word;      /* IE */
11
			   word-wrap: break-word;      /* IE */
27
			}
12
			}
28
		</style>
13
		</style>
29
	</head>
14
	</head>
30
	
15
	
Line 55... Line 40...
55
                    <th>Head email</th>
40
                    <th>Head email</th>
56
                    <th>Contact Person</th>
41
                    <th>Contact Person</th>
57
                    <th class="wrap might-overflow">Contact email</th>
42
                    <th class="wrap might-overflow">Contact email</th>
58
                    <th>Contact phone</th>
43
                    <th>Contact phone</th>
59
                    <th>Contact fax</th>
44
                    <th>Contact fax</th>
60
                    <th class="wrap might-overflow">Registered address</th>
45
                    <th class="wrap">Registered address</th>
61
                    <th class="wrap might-overflow">Communicaton address</th>
46
                    <th class="wrap">Communicaton address</th>
62
                </tr>
47
                </tr>
63
            </thead>
48
            </thead>
64
            <tbody>
49
            <tbody>
65
                #foreach($supplier in $action.getSuppliers())
50
                #foreach($supplier in $action.getSuppliers())
66
                    <tr>
51
                    <tr>
Line 79... Line 64...
79
                        <td>$action.getStateName($supplier.getStateId())</td>
64
                        <td>$action.getStateName($supplier.getStateId())</td>
80
                        <td>$supplier.getPoValidityLimit()</td>
65
                        <td>$supplier.getPoValidityLimit()</td>
81
                        <td>$supplier.getHeadName()</td>
66
                        <td>$supplier.getHeadName()</td>
82
                        <td>$supplier.getHeadEmail()</td>
67
                        <td>$supplier.getHeadEmail()</td>
83
                        <td>$supplier.getContactName()</td>
68
                        <td>$supplier.getContactName()</td>
84
                        <td class="wrap might-overflow">$supplier.getContactEmail()</td>
69
                        <td class="wrap">$supplier.getContactEmail()</td>
85
                        <td>$supplier.getContactPhone()</td>
70
                        <td>$supplier.getContactPhone()</td>
86
                        <td>$supplier.getContactFax()</td>
71
                        <td>$supplier.getContactFax()</td>
87
                        <td class="wrap might-overflow">$supplier.getRegisteredAddress()</td>
72
                        <td class="wrap">$supplier.getRegisteredAddress()</td>
88
                        <td class="wrap might-overflow">$supplier.getCommunicationAddress()</td>
73
                        <td class="wrap">$supplier.getCommunicationAddress()</td>
89
                    </tr>
74
                    </tr>
90
                #end
75
                #end
91
            </tbody>
76
            </tbody>
92
        </table>
77
        </table>
93
    </body>
78
    </body>