Subversion Repositories SmartDukaan

Rev

Rev 32300 | Rev 32382 | 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>
32349 amit.gupta 18
                    <th>Number</th>
19
                    <th>Warehouse</th>
20
                    <th>Supplier</th>
21
                    <th>Supplier Invoice</th>
22
                    <th>Invoice Date</th>
23
                    <th>Type</th>
24
                    <th>Date</th>
25
                    <th>View</th>
32256 tejbeer 26
                </tr>
32349 amit.gupta 27
                </thead>
28
                <tbody>
29
 
30
 
31
                    #foreach($debitNote in $debitNotes)
32
                    <tr>
33
                        <td>$debitNote.getDebitNoteNumber()</td>
34
                        <td>$debitNote.getDnDate().format($dateTimeFormatter)</td>
35
                        <td>$warehouseMap.get($invoicesMap.get($debitNote.getInvoiceId()).getWarehouseId())</td>
36
                        <td>$supplierMap.get($invoicesMap.get($debitNote.getInvoiceId()).getSupplierId()).getName()</td>
37
                        <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceNumber()</td>
38
                        <td>$invoicesMap.get($debitNote.getInvoiceId()).getInvoiceDate().format($dateTimeFormatter)</td>
39
                        <td>$debitNote.getType().getValue()</td>
40
                        <td><a href="${rc.contextPath}/generateDebitNote?id=$debitNote.getId()" target="_blank"
41
                               class="download">View</a></td>
42
 
43
                    </tr>
44
                    #end
45
 
46
                </tbody>
47
            </table>
48
        </div>
49
    </div>
32256 tejbeer 50
</section>