Subversion Repositories SmartDukaan

Rev

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

Rev 4241 Rev 4689
Line 49... Line 49...
49
                        </tr>
49
                        </tr>
50
                    #end
50
                    #end
51
                </table>
51
                </table>
52
            </form>
52
            </form>
53
        </div>
53
        </div>
54
    #end
54
		#end
55
    #set($ticketId = $action.getCodTicketId())
55
    #set($ticketId = $action.getCodTicketId())
56
    #if($ticketId)
56
    #if($ticketId)
57
        <br />
57
        <br />
58
        <a href="/crm?email=&ticketId=$ticketId">
58
        <a href="/crm?email=&ticketId=$ticketId">
59
            COD verification ticket
59
            COD verification ticket
60
        </a>
60
        </a>
61
        <br />
61
        <br />
62
    #end
62
    #end
63
    <br />
63
    <br />
-
 
64
	#if($action.canOrderBeCancelled())
-
 
65
	<div id="cancel-div" class="hidden">
-
 
66
    <form id="cancel-form">
-
 
67
        <table class="display">
-
 
68
            #foreach($item in $action.getCODCancelMatrix())
-
 
69
                #if($velocityCount % 2 != 0)
-
 
70
                    <tr >
-
 
71
                #end
-
 
72
                <td>
-
 
73
                #if($item.name().equals("INVALID_CONTACT_DETAILS"))
-
 
74
                    <input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" checked />
-
 
75
                #else
-
 
76
                    <input type="radio" name="cancelReason" id ="$item.name()" class = "cancelReason" value="$item.name()" />
-
 
77
                #end
-
 
78
                <label title="$item.getDescription()">$item.name()</label> 
-
 
79
                </td>
-
 
80
                #if($velocityCount % 2 == 0)
-
 
81
                    </ tr>
-
 
82
                #end
-
 
83
            #end
-
 
84
            <tr >
-
 
85
                <td id ="cancelReasonBox" colspan="2">
-
 
86
                    <textarea name="body" rows="5" cols="80" id="cancel-body"></textarea>
-
 
87
                </td>
-
 
88
            </tr>
-
 
89
            <tr >
-
 
90
                <td colspan="2">
-
 
91
                    <input type="submit" value="Cancel Order"/>
-
 
92
                </td>
-
 
93
            </tr>
-
 
94
        </table>
-
 
95
    </form>
-
 
96
</div>
-
 
97
 
-
 
98
	<div>
-
 
99
		<select id = "cancellationInitiator" name="cancellationInitiator">
-
 
100
			<option value="CUSTOMER">CUSTOMER REQUEST</option>
-
 
101
		#if($action.canViewFlaggedPayments())
-
 
102
			<option value="INTERNAL">INTERNAL</option>
-
 
103
		#end
-
 
104
		</select>
-
 
105
		<input type="button" class="display-cancel-order-popup" value="Cancel Order" id="orderCancellationButton" orderid="$order.getId()">
-
 
106
	</div>
-
 
107
	#end
64
    <label class="heading">Order details</label><br />
108
    <label class="heading">Order details</label><br />
65
    <div id="orderTopLeft">
109
    <div id="orderTopLeft">
66
		<span>Status Description :
110
		<span>Status Description :
67
            $action.getOrderStatusDescription($order)
111
            $action.getOrderStatusDescription($order)
68
        </span><br/>
112
        </span><br/>