Subversion Repositories SmartDukaan

Rev

Rev 32382 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32382 Rev 33729
Line 8... Line 8...
8
            </ol>
8
            </ol>
9
        </div>
9
        </div>
10
    </div>
10
    </div>
11
 
11
 
12
    <div class="row">
12
    <div class="row">
-
 
13
        <div class="col-lg-2 form-group">
-
 
14
            <input placeholder="Duration" id="date-duration" name="date-duration" type="text" value=""
-
 
15
                   class="form-control phone input-sm">
-
 
16
        </div>
-
 
17
        <div class="col-lg-2 form-group">
-
 
18
            <input class="btn btn-primary dateWiseDebitNote" type="button" value="Submit">
-
 
19
        </div>
-
 
20
        <div class="col-lg-2 form-group">
-
 
21
            <input class="btn btn-primary generateVendorDebitNoteExcel" type="button" value="Submit">
-
 
22
        </div>
-
 
23
        <div class="col-lg-12" id="warehouse-datewise-debitnote-container">
13
 
24
 
14
        <div class="col-lg-12">
-
 
15
            <table id="open-invoices" class="table table-striped table-advance table-hover">
-
 
16
                <thead>
-
 
17
                <tr>
-
 
18
                    <th>DN Number</th>
-
 
19
                    <th>Warehouse</th>
-
 
20
                    <th>Supplier</th>
-
 
21
                    <th>Date</th>
-
 
22
                    <th>Invoice Id</th>
-
 
23
                    <th>Invoice Number</th>
-
 
24
                    <th>Invoice Date</th>
-
 
25
                    <th>Type</th>
-
 
26
                    <th>View</th>
-
 
27
                </tr>
-
 
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>
-
 
37
                        <td>$debitNote.getDnDate().format($dateTimeFormatter)</td>
-
 
38
                        <td>$debitNote.getInvoiceId()</td>
-
 
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>
25
        </div>
51
    </div>
26
    </div>
52
</section>
-
 
53
27
</section>
-
 
28
 
-
 
29
<script type="text/javascript">
-
 
30
 
-
 
31
    $('input[name="date-duration"]').daterangepicker(getRangedDatePicker());
-
 
32
</script>
-
 
33
54
34