Subversion Repositories SmartDukaan

Rev

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

Rev 37088 Rev 37704
Line 24... Line 24...
24
                 <th> Buyer</th>
24
                 <th> Buyer</th>
25
                 <th> Total Cost </th>
25
                 <th> Total Cost </th>
26
                 <th> Created On</th>
26
                 <th> Created On</th>
27
			     <th> Status </th>
27
			     <th> Status </th>
28
			     <th> View</th>
28
			     <th> View</th>
-
 
29
			     <th> Reopen</th>
29
			    
30
			    
30
                </tr>
31
                </tr>
31
              </thead> 
32
              </thead> 
32
                
33
                
33
              <tbody> 
34
              <tbody> 
Line 45... Line 46...
45
                <td>$purchaseOrder.getCreatedAt().format($dateFormatter)</td>
46
                <td>$purchaseOrder.getCreatedAt().format($dateFormatter)</td>
46
                <td>$purchaseOrder.getStatus() </td> 
47
                <td>$purchaseOrder.getStatus() </td> 
47
                <td> <input class="form-control btn btn-primary viewPurchaseOrderlineItem" type="button" value="View"  data-poid="$purchaseOrder.getId()"
48
                <td> <input class="form-control btn btn-primary viewPurchaseOrderlineItem" type="button" value="View"  data-poid="$purchaseOrder.getId()"
48
                                data-toggle="modal"
49
                                data-toggle="modal"
49
                                data-target="#warehouseLineItem"> </td> 
50
                                data-target="#warehouseLineItem"> </td> 
-
 
51
                ## Only a movement between our own warehouses, and only once it has closed: an outside vendor's PO
-
 
52
                ## that has closed is settled with that vendor, not reopened here.
-
 
53
                <td>#if(!$purchaseOrder.isOpen() && $supplierMap.get($purchaseOrder.getSupplierId()) && $supplierMap.get($purchaseOrder.getSupplierId()).isInternal())<input class="form-control btn btn-warning reopenPurchaseOrder" type="button" value="Reopen" data-poid="$purchaseOrder.getId()">#end</td>
50
              
54
              
51
               </tr>
55
               </tr>
52
                 #end
56
                 #end
53
                 
57
                 
54
             </tbody>
58
             </tbody>