Subversion Repositories SmartDukaan

Rev

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

Rev 18344 Rev 18348
Line 219... Line 219...
219
</div>
219
</div>
220
#end
220
#end
221
#if($action.canVerifyCOD())
221
#if($action.canVerifyCOD())
222
<div>
222
<div>
223
	<label>Transactions</label>
223
	<label>Transactions</label>
224
	<table id="tr-table">
224
	<table id="tr-table" class="display">
225
		<thead>
225
		<thead>
226
			<tr>
226
			<tr>
227
				<th>Tr Id</th>
227
				<th>Tr Id</th>
228
				<th>Total</th>
228
				<th>Total</th>
229
				<th>Shipping</th>
229
				<th>Shipping</th>
230
				<th>Address</th>
230
				<th>Address</th>
231
				<th>Mobile</th>
231
				<th>Mobile</th>
-
 
232
				<th>Trust Level</th>
232
			</tr>
233
			</tr>
233
		</thead>
234
		</thead>
234
		<tbody>
235
		<tbody>
235
		#foreach($mapEntry in $action.getTransactions().entrySet())
236
		#foreach($mapEntry in $action.getTransactions().entrySet())
236
		<tr>
237
		<tr>
237
			<td>$mapEntry.key</td>
238
			<td><a href="#" class="mk_transaction">$mapEntry.key</a></td>
238
			<td>$action.getTransactionTotal().get($mapEntry.key)</td>
239
			<td>$action.getTransactionTotal().get($mapEntry.key)</td>
239
			<td>$action.getTransactionShipping().get($mapEntry.key)</td>
240
			<td>$action.getTransactionShipping().get($mapEntry.key)</td>
240
			<td>$action.getAddress($mapEntry.value)</td>
241
			<td>$action.getAddress($mapEntry.value)</td>
241
			<td>$mapEntry.value.getCustomer_mobilenumber()</td>
242
			<td>$mapEntry.value.getCustomer_mobilenumber()</td>
-
 
243
			<td class="center-aligned">$action.getCustomerTrustLevel($order.getCustomer_id())</td>
242
		</tr>
244
		</tr>
243
		#end
245
		#end
244
		</tbody>
246
		</tbody>
245
	</table>
247
	</table>
246
</div>
248
</div>
Line 255... Line 257...
255
                <th>Order Id</th>
257
                <th>Order Id</th>
256
                <th>Product</th>
258
                <th>Product</th>
257
                <th>Amount</th>
259
                <th>Amount</th>
258
                <th>Expected delivery</th>
260
                <th>Expected delivery</th>
259
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
261
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
-
 
262
                <th>TransactionId</th>
260
                #else
263
                #else
261
                <th>Created</th>
264
                <th>Created</th>
262
                <th>Mobile No</th>
265
                <th>Mobile No</th>
263
                <th>Shipping Address</th>
266
                <th>Shipping Address</th>
264
                #end
267
                #end
Line 307... Line 310...
307
                <td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
310
                <td class="truncated-text-for-order-table">$action.convertDate($order.getExpected_delivery_time())</td>
308
                <td>$order.getCustomer_mobilenumber()</td>
311
                <td>$order.getCustomer_mobilenumber()</td>
309
                <td class="truncated-text-for-order-table">$action.getAddress($order)</td>
312
                <td class="truncated-text-for-order-table">$action.getAddress($order)</td>
310
                #end
313
                #end
311
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
314
                #if($ticket.getCategory().name().equals("COD_VERIFICATION"))
-
 
315
                <td>$order.getTransactionId()</td>
312
				#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
316
				#elseif($ticket.getCategory().name().equals("ORDER_CANCELLATION"))
313
				<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
317
				<td class="center-aligned"><input type="button" value="Confirm" ticketId="$ticketId" orderId="$orderId" orderStatus="CANCEL_REQUEST_CONFIRMED" class="update-order-status CODButton"/> </td>
314
                <td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
318
                <td class="center-aligned"><input type="button" value="Deny" ticketId="$ticketId" orderId="$orderId" orderStatus="DENY_CANCEL_REQUEST" class="update-order-status CODButton"/> </td>
315
				#elseif(($ticket.getCategory().name().equals("RETURN_FORM")) && ($action.canViewDoaRequests()))
319
				#elseif(($ticket.getCategory().name().equals("RETURN_FORM")) && ($action.canViewDoaRequests()))
316
					#set($storeAuthId = "authorize-return")
320
					#set($storeAuthId = "authorize-return")