Subversion Repositories SmartDukaan

Rev

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

Rev 6937 Rev 7410
Line 24... Line 24...
24
        </div>
24
        </div>
25
        <table id="suppliers">
25
        <table id="suppliers">
26
            <thead >
26
            <thead >
27
                <tr >
27
                <tr >
28
                    <th >Supplier</th>
28
                    <th >Supplier</th>
-
 
29
					<th >Total Quantity</th>
29
                    <th >Quantity</th>
30
                    <th >Net Quantity</th>
30
                    <th >COD/Prepaid</th>
31
                    <th >COD/Prepaid</th>
31
                    <th >Amount</th>
32
                    <th >Amount</th>
32
                    <th ></th>
33
                    <th ></th>
33
                </tr>
34
                </tr>
34
            </thead>
35
            </thead>
35
            <tbody >
36
            <tbody >
36
                #foreach($supplier in $action.getSuppliers().values())
37
                #foreach($supplier in $action.getSuppliers().values())
37
                <tr >
38
                <tr >
38
                    <td >$supplier.getName()</td>
39
                    <td >$supplier.getName()</td>
-
 
40
					<td id="net-totals-quantity-$supplier.getId()">$action.getNetQuantityString($supplier.getId())</td>
39
                    <td id="total-quantity-$supplier.getId()">$action.getQuantityString($supplier.getId())</td>
41
                    <td id="total-quantity-$supplier.getId()">$action.getQuantityString($supplier.getId())</td>
40
                    <td >$action.getCODPrepaidString($supplier.getId())</td>
42
                    <td >$action.getCODPrepaidString($supplier.getId())</td>
41
                    <td id="total-amount-$supplier.getId()" supplierId="$supplier.getId()">$action.getAmount($supplier.getId())</td>
43
                    <td id="total-amount-$supplier.getId()" supplierId="$supplier.getId()">$action.getAmount($supplier.getId())</td>
42
                    <td ><a class="show-details" supplierId="$supplier.getId()" href="#">Show details</a></td>
44
                    <td ><a class="show-details" supplierId="$supplier.getId()" href="#">Show details</a></td>
43
                </tr>
45
                </tr>
Line 129... Line 131...
129
                    </tbody>
131
                    </tbody>
130
                </table>
132
                </table>
131
                <div >
133
                <div >
132
                    <input id="add-lineitem" type="button" value="Add New Item"/> <br /> <br />
134
                    <input id="add-lineitem" type="button" value="Add New Item"/> <br /> <br />
133
                    <input type="hidden" name="supplierId" value="$supplierId"/>
135
                    <input type="hidden" name="supplierId" value="$supplierId"/>
-
 
136
					<input type="hidden" name="warehouseId" value="$warehouseId"/>
134
                    <input type="submit" value="Create Purchase Order"/>
137
                    <input type="submit" value="Create Purchase Order"/>
135
                    <input id="cancel" type="button" value="Cancel"/>
138
                    <input id="cancel" type="button" value="Cancel"/>
136
                </div>
139
                </div>
137
                </form>
140
                </form>
138
            </div>
141
            </div>