Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33729 ranu 1
<table id="open-invoices" class="table table-striped table-advance table-hover">
2
    <thead>
3
    <tr>
4
        <th>DN Number</th>
5
        <th>Warehouse</th>
6
        <th>Supplier</th>
7
        <th>Date</th>
8
        <th>Invoice Id</th>
9
        <th>Invoice Number</th>
10
        <th>Invoice Date</th>
11
        <th>Type</th>
12
        <th>View</th>
13
    </tr>
14
    </thead>
15
    <tbody>
16
        #foreach($debitNote in $debitNotes)
17
        <tr>
18
            <td>$debitNote.getDebitNoteNumber()</td>
19
            <td>$warehouseMap.get($invoicesMap.get($debitNote.getInvoiceId()).getWarehouseId())</td>
20
            <td>$supplierMap.get($invoicesMap.get($debitNote.getInvoiceId()).getSupplierId()).getName()</td>
21
            <td>$debitNote.getDnDate().format($dateTimeFormatter)</td>
22
            <td>$debitNote.getInvoiceId()</td>
23
            <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceNumber()</td>
24
            <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceDate().format($dateTimeFormatter)</td>
25
            <td>$debitNote.getType().getValue()</td>
26
            <td><a href="${rc.contextPath}/generateDebitNote?id=$debitNote.getId()" target="_blank"
27
                   class="download">View</a></td>
28
 
29
        </tr>
30
        #end
31
 
32
    </tbody>
33
</table>