Subversion Repositories SmartDukaan

Rev

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

Rev 3998 Rev 4008
Line 210... Line 210...
210
                <th>Product</th>
210
                <th>Product</th>
211
                <th>Created</th>
211
                <th>Created</th>
212
                <th>Amount</th>
212
                <th>Amount</th>
213
                <th>Mobile No</th>
213
                <th>Mobile No</th>
214
                <th>Shipping Address</th>
214
                <th>Shipping Address</th>
215
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
-
 
216
                <th>Expected delivery</th>
215
                <th>Expected delivery</th>
-
 
216
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
217
                <th></th>
217
                <th></th>
218
                <th></th>
218
                <th></th>
-
 
219
                #elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
-
 
220
                <th>Promised delivery</th>
-
 
221
                <th>Delay reason</th>
219
                #end
222
                #end
220
            </tr>
223
            </tr>
221
        </thead>
224
        </thead>
222
        <tbody>
225
        <tbody>
223
            #foreach($order in $action.getOrders())
226
            #foreach($order in $action.getOrders())
Line 234... Line 237...
234
                </td>
237
                </td>
235
                <td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
238
                <td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
236
                <td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
239
                <td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
237
                <td>$order.getTotal_amount()</td>
240
                <td>$order.getTotal_amount()</td>
238
                <td>$order.getCustomer_mobilenumber()</td>
241
                <td>$order.getCustomer_mobilenumber()</td>
239
                <td class="truncated-text-for-order-table" title="$action.getAddress($order)">$order.getCustomer_city()</td>
242
                <td class="truncated-text-for-order-table">$action.getAddress($order)</td>
240
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
-
 
241
                <td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
243
                <td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
-
 
244
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
242
                <td ><input type="button" value="COD verified" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status"/> </td>
245
                <td ><input type="button" value="COD verified" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status"/> </td>
243
                <td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="update-order-status"/> </td>
246
                <td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="update-order-status"/> </td>
-
 
247
                #elseif($ticket.getCategory().name().equals("DELAYED_DELIVERY"))
-
 
248
                <td class="truncated-text-for-order-table">$action.convertDate($order.getPromised_delivery_time())</td>
-
 
249
                <td class="truncated-text-for-order-table">$order.getDelayReason().name()</td>
244
                #end
250
                #end
245
            </tr>
251
            </tr>
246
            #end
252
            #end
247
        </tbody>
253
        </tbody>
248
    </table>
254
    </table>