Subversion Repositories SmartDukaan

Rev

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

Rev 32300 Rev 32349
Line 19... Line 19...
19
 
19
 
20
<div class="col-lg-12">
20
<div class="col-lg-12">
21
            <table id="open-invoices" class="table table-striped table-advance table-hover" >
21
            <table id="open-invoices" class="table table-striped table-advance table-hover" >
22
              <thead>
22
              <thead>
23
                <tr>
23
                <tr>
24
                 <th> Date</th>
-
 
25
                 <th> Supplier</th>
24
                 <th> Supplier</th>
26
                 <th> Warehouse</th>
25
                 <th> Warehouse</th>
27
                 <th> Invoice Number</th>  
26
                    <th> Invoice Number</th>
28
                 <th> Num Items</th>  
27
                    <th> Num Items</th>
29
                 <th> Invoice Date</th>  
28
                    <th> Invoice Date</th>
-
 
29
                    <th> Receive Date</th>
30
                 <th> Received By</th>
30
                 <th> Received By</th>
31
                 <th> Status </th>
31
                 <th> Status </th>
32
                 <th> Invoice </th>
32
                    <th> Document</th>
33
                
33
                
34
                </tr>
34
                </tr>
35
              </thead> 
35
              </thead> 
36
                
36
                
37
              <tbody> 
37
              <tbody> 
38
              
38
              
39
              
39
              
40
               #foreach($supplierInvoice in $supplierInvoices)
40
               #foreach($supplierInvoice in $supplierInvoices)
41
                <tr>
41
                <tr>
42
                <td>$supplierInvoice.getCreateDate().format($dateTimeFormatter)</td>
-
 
43
                <td>$supplierMap.get($supplierInvoice.getSupplierId()).getName()</td>
42
                <td>$supplierMap.get($supplierInvoice.getSupplierId()).getName()</td>
44
                <td>$warehouseMap.get($supplierInvoice.getWarehouseId()) </td>
43
                <td>$warehouseMap.get($supplierInvoice.getWarehouseId()) </td>
45
                <td> $supplierInvoice.getInvoiceNumber() </td>
44
                <td> $supplierInvoice.getInvoiceNumber() </td>
46
                <td>$supplierInvoice.getNumItems()</td>     
45
                    <td>$supplierInvoice.getNumItems()</td>
47
                <td>$supplierInvoice.getInvoiceDate().format($dateTimeFormatter)</td>     
46
                    <td>$supplierInvoice.getInvoiceDate().format($dateTimeFormatter)</td>
48
                <td>$supplierInvoice.getReceivedFrom()</td> 
47
                    <td>$supplierInvoice.getCreateDate().format($dateTimeFormatter)</td>
49
                #if($grnRequestMap.get($supplierInvoice.getId()))
48
                    <td>$supplierInvoice.getReceivedFrom()</td>
50
                <td>$grnRequestMap.get($supplierInvoice.getId()).getStatus() </td>  
49
                    <td>$supplierInvoice.getStatus() </td>
51
                #else
-
 
52
                 <td> - </td>
-
 
53
                #end 
-
 
54
                <td>          <a href="${rc.contextPath}/download-attachment?documentId=$supplierInvoice.getInvoiceDocId()" target="_blank"  class="download">Download Doc</a>
50
                <td>          <a href="${rc.contextPath}/download-attachment?documentId=$supplierInvoice.getInvoiceDocId()" target="_blank"  class="download">Download Doc</a>
55
                      </td> 
51
                      </td> 
56
            
52
            
57
               </tr>
53
               </tr>
58
               #end
54
               #end