Subversion Repositories SmartDukaan

Rev

Rev 5443 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5443 Rev 11219
Line 17... Line 17...
17
                        <th >Date</th>
17
                        <th >Date</th>
18
                        <th >Supplier</th>
18
                        <th >Supplier</th>
19
                        <th >Invoice Number</th>
19
                        <th >Invoice Number</th>
20
                        <th >NumItems</th>
20
                        <th >NumItems</th>
21
                        <th >Received From</th>
21
                        <th >Received From</th>
-
 
22
                        <th >Invoice Date</th>
22
                    </tr>
23
                    </tr>
23
                </thead>
24
                </thead>
24
                <tbody >
25
                <tbody >
25
                    #foreach($invoice in $action.getInvoices())
26
                    #foreach($invoice in $action.getInvoices())
26
                        <tr >
27
                        <tr >
27
                            <td >$action.convertDate($invoice.getDate())</td>
28
                            <td >$action.convertDate($invoice.getDate())</td>
28
                            <td >$action.getSuppliers().get($invoice.getSupplierId()).getName()</td>
29
                            <td >$action.getSuppliers().get($invoice.getSupplierId()).getName()</td>
29
                            <td >$invoice.getInvoiceNumber()</td>
30
                            <td >$invoice.getInvoiceNumber()</td>
30
                            <td >$invoice.getNumItems()</td>
31
                            <td >$invoice.getNumItems()</td>
31
                            <td >$invoice.getReceivedFrom()</td>
32
                            <td >$invoice.getReceivedFrom()</td>
-
 
33
							<td >#if($invoice.getInvoiceDate()>0) $action.convertDate($invoice.getInvoiceDate()) #else NA #end</td>
32
                        </tr>
34
                        </tr>
33
                    #end
35
                    #end
34
                </tbody>
36
                </tbody>
35
            </table>
37
            </table>
36
        </div>
38
        </div>