Subversion Repositories SmartDukaan

Rev

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

Rev 24926 Rev 24927
Line 31... Line 31...
31
        <br />                
31
        <br />                
32
		<h2>Suppliers</h2>
32
		<h2>Suppliers</h2>
33
        <span style="color:red">
33
        <span style="color:red">
34
            $action.getErrorMessage()
34
            $action.getErrorMessage()
35
        </span>
35
        </span>
36
        <div >
36
        <div>
37
            #if($action.isPermitted("supplier:create"))
37
            #if($action.isPermitted("supplier:create"))
38
            <a href="/inventory/supplier/new">Add new Supplier</a>
38
            <a href="/inventory/supplier/new">Add new Supplier</a>
39
            #end
39
            #end
40
        </div>
40
        </div>
41
        <table border="1">
41
        <table style="width:100vw";border="1">
42
            <thead >
42
            <thead>
43
                <tr >
43
                <tr>
44
                    <th >Id</th>
44
                    <th>Id</th>
45
                    <th >Name</th>
45
                    <th>Name</th>
46
                    <th >Phone</th>
46
                    <th>Phone</th>
47
                    <th >Fax</th>
47
                    <th>Fax</th>
48
                    <th >GSTN</th>
48
                    <th>GSTN</th>
49
                    <th >Pan</th>
49
                    <th>Pan</th>
50
					<th >State</th>
50
					<th>State</th>
51
					<th >PO Validity Days Limit</th>
51
					<th>PO Validity Days Limit</th>
52
                    <th >Head</th>
52
                    <th>Head</th>
53
                    <th >Head email</th>
53
                    <th>Head email</th>
54
                    <th >Contact Person</th>
54
                    <th>Contact Person</th>
55
                    <th >Contact email</th>
55
                    <th>Contact email</th>
56
                    <th >Contact phone</th>
56
                    <th>Contact phone</th>
57
                    <th >Contact fax</th>
57
                    <th>Contact fax</th>
58
                    <th >Registered address</th>
58
                    <th>Registered address</th>
59
                    <th >Communicaton address</th>
59
                    <th>Communicaton address</th>
60
                </tr>
60
                </tr>
61
            </thead>
61
            </thead>
62
            <tbody >
62
            <tbody>
63
                #foreach($supplier in $action.getSuppliers())
63
                #foreach($supplier in $action.getSuppliers())
64
                    <tr >
64
                    <tr>
65
                        <td >$supplier.getId()</td>
65
                        <td>$supplier.getId()</td>
66
                        <td >
66
                        <td>
67
                            #if($action.isPermitted("supplier:edit"))
67
                            #if($action.isPermitted("supplier:edit"))
68
                                <a href="/inventory/supplier/$supplier.getId()/edit">$supplier.getName()</a>
68
                                <a href="/inventory/supplier/$supplier.getId()/edit">$supplier.getName()</a>
69
                            #else
69
                            #else
70
                                $supplier.getName()
70
                                $supplier.getName()
71
                            #end
71
                            #end