Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<table id="open-invoices" class="table table-striped table-advance table-hover">
    <thead>
    <tr>
        <th>DN Number</th>
        <th>Warehouse</th>
        <th>Supplier</th>
        <th>Date</th>
        <th>Invoice Id</th>
        <th>Invoice Number</th>
        <th>Invoice Date</th>
        <th>Type</th>
        <th>View</th>
    </tr>
    </thead>
    <tbody>
        #foreach($debitNote in $debitNotes)
        <tr>
            <td>$debitNote.getDebitNoteNumber()</td>
            <td>$warehouseMap.get($invoicesMap.get($debitNote.getInvoiceId()).getWarehouseId())</td>
            <td>$supplierMap.get($invoicesMap.get($debitNote.getInvoiceId()).getSupplierId()).getName()</td>
            <td>$debitNote.getDnDate().format($dateTimeFormatter)</td>
            <td>$debitNote.getInvoiceId()</td>
            <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceNumber()</td>
            <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceDate().format($dateTimeFormatter)</td>
            <td>$debitNote.getType().getValue()</td>
            <td><a href="${rc.contextPath}/generateDebitNote?id=$debitNote.getId()" target="_blank"
                   class="download">View</a></td>

        </tr>
        #end

    </tbody>
</table>