Subversion Repositories SmartDukaan

Rev

Rev 32349 | Rev 33729 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><i class="icon_document_alt"></i>Debit Note</h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                <li><i class="icon_document_alt"></i>Debit Note</li>
            </ol>
        </div>
    </div>

    <div class="row">

        <div class="col-lg-12">
            <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>
        </div>
    </div>
</section>