Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
32349 amit.gupta 1
<section class="wrapper">
2
    <div class="row">
3
        <div class="col-lg-12">
4
            <h3 class="page-header"><i class="icon_document_alt"></i>Debit Note</h3>
5
            <ol class="breadcrumb">
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
                <li><i class="icon_document_alt"></i>Debit Note</li>
8
            </ol>
9
        </div>
10
    </div>
32256 tejbeer 11
 
32349 amit.gupta 12
    <div class="row">
13
 
14
        <div class="col-lg-12">
15
            <table id="open-invoices" class="table table-striped table-advance table-hover">
16
                <thead>
32256 tejbeer 17
                <tr>
32382 amit.gupta 18
                    <th>DN Number</th>
32349 amit.gupta 19
                    <th>Warehouse</th>
20
                    <th>Supplier</th>
32382 amit.gupta 21
                    <th>Date</th>
22
                    <th>Invoice Id</th>
23
                    <th>Invoice Number</th>
32349 amit.gupta 24
                    <th>Invoice Date</th>
25
                    <th>Type</th>
26
                    <th>View</th>
32256 tejbeer 27
                </tr>
32349 amit.gupta 28
                </thead>
29
                <tbody>
30
 
31
 
32
                    #foreach($debitNote in $debitNotes)
33
                    <tr>
34
                        <td>$debitNote.getDebitNoteNumber()</td>
35
                        <td>$warehouseMap.get($invoicesMap.get($debitNote.getInvoiceId()).getWarehouseId())</td>
36
                        <td>$supplierMap.get($invoicesMap.get($debitNote.getInvoiceId()).getSupplierId()).getName()</td>
32382 amit.gupta 37
                        <td>$debitNote.getDnDate().format($dateTimeFormatter)</td>
38
                        <td>$debitNote.getInvoiceId()</td>
32349 amit.gupta 39
                        <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceNumber()</td>
40
                        <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceDate().format($dateTimeFormatter)</td>
41
                        <td>$debitNote.getType().getValue()</td>
42
                        <td><a href="${rc.contextPath}/generateDebitNote?id=$debitNote.getId()" target="_blank"
43
                               class="download">View</a></td>
44
 
45
                    </tr>
46
                    #end
47
 
48
                </tbody>
49
            </table>
50
        </div>
51
    </div>
32256 tejbeer 52
</section>