Subversion Repositories SmartDukaan

Rev

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

Rev 3546 Rev 3578
Line 81... Line 81...
81
                    </td>
81
                    </td>
82
                </tr>
82
                </tr>
83
            #end
83
            #end
84
            <tr >
84
            <tr >
85
                <td ><label>Description:</label></td>
85
                <td ><label>Description:</label></td>
86
                <td colspan="4"><textarea id="description" class="required" name="description" rows="2" cols="90">$ticket.getDescription()</textarea></td>
86
                <td colspan="4"><textarea id="description" class="required" name="description" rows="10" cols="90">$ticket.getDescription()</textarea></td>
87
            </tr>
87
            </tr>
88
            <tr >
88
            <tr >
89
                <td ><label>Category:</label></td>
89
                <td ><label>Category:</label></td>
90
                <td >
90
                <td >
91
                <select name="category" class="width10">
91
                <select name="category" class="width10">
Line 192... Line 192...
192
                <td ><input type="hidden" name="userId" value="$ticket.getCustomerId()"/></td>
192
                <td ><input type="hidden" name="userId" value="$ticket.getCustomerId()"/></td>
193
            </tr>
193
            </tr>
194
        </table>
194
        </table>
195
    </form>
195
    </form>
196
</div>
196
</div>
197
#if($action.getOrders() && ($action.getCurrentAgentEmailId().equals("anand.sinha@shop2020.in") || $action.getCurrentAgentEmailId().equals("admin@shop2020.in")))
197
#if($action.getOrders() && ($action.canVerifyCOD() || $action.canViewFailedPayments()))
198
<h2 >Orders</h2>
198
<h2 >Orders</h2>
199
<div id="bottom-infopane-middle">
199
<div id="bottom-infopane-middle">
200
    <table id="order-table" class="display">
200
    <table id="order-table" class="display">
201
        <thead>
201
        <thead>
202
            <tr>
202
            <tr>
203
                <th>Order Id</th>
203
                <th>Order Id</th>
204
                <th>Product</th>
204
                <th>Product</th>
205
                <th>Created</th>
205
                <th>Created</th>
206
                <th>Amount</th>
206
                <th>Amount</th>
207
                <th>Shipping Address</th>
207
                <th>Shipping Address</th>
-
 
208
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
208
                <th></th>
209
                <th></th>
209
                <th></th>
210
                <th></th>
-
 
211
                #end
210
            </tr>
212
            </tr>
211
        </thead>
213
        </thead>
212
        <tbody>
214
        <tbody>
213
            #foreach($order in $action.getOrders())
215
            #foreach($order in $action.getOrders())
214
            #set($orderId = $order.getId())
216
            #set($orderId = $order.getId())
Line 224... Line 226...
224
                </td>
226
                </td>
225
                <td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
227
                <td class="truncated-text-for-order-table">$action.getProductName($order.getLineitems().get(0))</td>
226
                <td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
228
                <td class="truncated-text-for-order-table">$action.convertDate($order.getCreated_timestamp())</td>
227
                <td>$order.getTotal_amount()</td>
229
                <td>$order.getTotal_amount()</td>
228
                <td class="truncated-text-for-order-table" title="$action.getAddress($order)">$order.getCustomer_city()</td>
230
                <td class="truncated-text-for-order-table" title="$action.getAddress($order)">$order.getCustomer_city()</td>
-
 
231
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
229
                <td ><input type="button" value="COD verified" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status"/> </td>
232
                <td ><input type="button" value="COD verified" ticketId="$ticketId" orderId="$orderId" orderStatus="SUBMITTED_FOR_PROCESSING" class="update-order-status"/> </td>
230
                <td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="update-order-status"/> </td>
233
                <td ><input type="button" value="Cancel order" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCELED" class="update-order-status"/> </td>
-
 
234
                #end
231
            </tr>
235
            </tr>
232
            #end
236
            #end
233
        </tbody>
237
        </tbody>
234
    </table>
238
    </table>
235
</div>
239
</div>