Subversion Repositories SmartDukaan

Rev

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

Rev 33269 Rev 33273
Line 11... Line 11...
11
        <thead>
11
        <thead>
12
        <tr>
12
        <tr>
13
            <th>Id</th>
13
            <th>Id</th>
14
            <th>Item Id</th>
14
            <th>Item Id</th>
15
            <th>Product Desc</th>
15
            <th>Product Desc</th>
16
            <th> Qty</th>
16
            <th>Qty</th>
17
            <th>U.Price</th>
17
            <th>U.Price</th>
18
            <th>Imeis/Qty to Bill</th>
18
            <th>Imeis/Qty to Bill</th>
-
 
19
            <th>Action</th>
19
        </tr>
20
        </tr>
20
        </thead>
21
        </thead>
21
        <tbody>
22
        <tbody>
22
            #if(!$inStockOrdersSerialized.isEmpty())
23
            #if(!$inStockOrdersSerialized.isEmpty())
23
                #foreach($order in $inStockOrdersSerialized)
24
                #foreach($order in $inStockOrdersSerialized)
Line 30... Line 31...
30
                    <td>$order.getLineItem().getUnitPrice()</td>
31
                    <td>$order.getLineItem().getUnitPrice()</td>
31
                    #if($order.getLineItem().getItem().getType()=="SERIALIZED")
32
                    #if($order.getLineItem().getItem().getType()=="SERIALIZED")
32
                        <td style="width: 35%;" class="tdInput"><input type="text" class="imeis-to-grn form-control"
33
                        <td style="width: 35%;" class="tdInput"><input type="text" class="imeis-to-grn form-control"
33
                                                                       placeholder=""></td>
34
                                                                       placeholder=""></td>
34
                    #end
35
                    #end
-
 
36
                    <td>
-
 
37
                        <button type="button" class="btn btn-primary btn-sm changeWarehouse-mk" data-toggle="modal"
-
 
38
                                data-target="#changeWarehouseModal" data-OrderId="$order.getId()"
-
 
39
                                data-itemId="$order.getLineItem().getItemId()"
-
 
40
                                data-warehouseId="$order.getWarehouseId()">
-
 
41
                            Change
-
 
42
                        </button>
-
 
43
                    </td>
35
                </tr>
44
                </tr>
36
                    #foreach($agingModelEntry in $allOrderSerialNumberMap.entrySet())
45
                    #foreach($agingModelEntry in $allOrderSerialNumberMap.entrySet())
37
                        #if($agingModelEntry.getKey() == $order.getId())
46
                        #if($agingModelEntry.getKey() == $order.getId())
38
                            #set($agingModelMap = $agingModelEntry.getValue())
47
                            #set($agingModelMap = $agingModelEntry.getValue())
39
                            #foreach($agingModel in $agingModelMap.entrySet())
48
                            #foreach($agingModel in $agingModelMap.entrySet())
Line 55... Line 64...
55
 
64
 
56
                                                        #foreach ($value in $aging.getValue())
65
                                                        #foreach ($value in $aging.getValue())
57
                                                            <input type="hidden" class="agingserialNumber"
66
                                                            <input type="hidden" class="agingserialNumber"
58
                                                                   data-ageingid="$counter"
67
                                                                   data-ageingid="$counter"
59
                                                                   value="$value.getSerialNumber()">
68
                                                                   value="$value.getSerialNumber()">
60
                                                            <span>$value.getSerialNumber(),</span>
69
                                                            <span>$value.getMofSerialNumber(),</span>
61
                                                        #end
70
                                                        #end
62
                                                    </td>
71
                                                    </td>
63
                                                </tr>
72
                                                </tr>
64
 
73
 
65
                                                </tbody>
74
                                                </tbody>
Line 85... Line 94...
85
                    <td>$order.getLineItem().getItemDescription()</td>
94
                    <td>$order.getLineItem().getItemDescription()</td>
86
                    <td><span class="remainQty">0</span> / <span class="qty">$order.getLineItem().getQuantity()</span>
95
                    <td><span class="remainQty">0</span> / <span class="qty">$order.getLineItem().getQuantity()</span>
87
                    </td>
96
                    </td>
88
                    <td>$order.getLineItem().getUnitPrice()</td>
97
                    <td>$order.getLineItem().getUnitPrice()</td>
89
                    <td><input type="text" class="form-control filledQty" placeholder="Fill Qty"></td>
98
                    <td><input type="text" class="form-control filledQty" placeholder="Fill Qty"></td>
-
 
99
                    <td>
-
 
100
                        <button type="button" class="btn btn-primary btn-sm changeWarehouse-mk" data-toggle="modal"
-
 
101
                                data-target="#changeWarehouseModal" data-OrderId="$order.getId()"
-
 
102
                                data-itemId="$order.getLineItem().getItemId()"
-
 
103
                                data-warehouseId="$order.getWarehouseId()">
-
 
104
                            Change
-
 
105
                        </button>
-
 
106
                    </td>
90
                </tr>
107
                </tr>
91
                <tr>
108
                <tr>
92
                    <td colspan="6">Available Quantity :
109
                    <td colspan="6">Available Quantity :
93
                        - $orderIdStockAvailabilityMap.getOrDefault($order.getId(),0)</td>
110
                        $orderIdStockAvailabilityMap.getOrDefault($order.getId(),0)</td>
94
                </tr>
111
                </tr>
95
                #end
112
                #end
96
            #end
113
            #end
97
            #if($inStockOrdersSerialized.isEmpty() && $inStockOrdersNonSerialized.isEmpty())
114
            #if($inStockOrdersSerialized.isEmpty() && $inStockOrdersNonSerialized.isEmpty())
98
            <tr>
115
            <tr>