Subversion Repositories SmartDukaan

Rev

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

Rev 7348 Rev 7349
Line 38... Line 38...
38
		}
38
		}
39
	</style>
39
	</style>
40
</head>
40
</head>
41
<body style="margin: 0;">
41
<body style="margin: 0;">
42
	<div id="returnPopupBox" style="display:none;padding:10px;line-height:35px;font-size:16px;color:#777777;position: absolute;min-height: 150px;width: 33%;background-color: white;z-index:10;top: 33%;left: 33%;border: 1px solid #2789C1;box-shadow: 0 0 30px 5px #2789C1;">
42
	<div id="returnPopupBox" style="display:none;padding:10px;line-height:35px;font-size:16px;color:#777777;position: absolute;min-height: 150px;width: 33%;background-color: white;z-index:10;top: 33%;left: 33%;border: 1px solid #2789C1;box-shadow: 0 0 30px 5px #2789C1;">
43
    	<form name="itemstring" action="/storewebsite/report!requestReturn" method="post" style="font-size: 20px;">
43
    	<form name="returnRequestForm" action="/storewebsite/report!requestReturn" method="post" style="font-size: 20px;">
44
    		<label><input type="radio" name="returnType" value="doa">DOA</label><br>
44
    		<label><input type="radio" name="returnType" value="doa">DOA</label><br>
45
    		<label><input type="radio" name="returnType" value="return">RETURN</label><br>
45
    		<label><input type="radio" name="returnType" value="return">RETURN</label><br>
46
    		<input id="returnPopupOrder" type="hidden" name="orderId" value=""><br>
46
    		<input id="returnPopupOrder" type="hidden" name="orderId" value=""><br>
47
    		<input type="submit" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: #2789C1;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;" value="SUBMIT">
47
    		<input type="submit" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: #2789C1;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;" value="SUBMIT">
48
			<input type="button" value="CANCEL" id="cancelReturnRequest" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: red;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;"></input>
48
			<input type="button" value="CANCEL" id="cancelReturnRequest" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: red;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;"></input>
49
    	</form>
49
    	</form>
50
	</div>
50
	</div>
51
	
51
	
-
 
52
	<div id="refundPopupBox" style="display:none;padding:10px;line-height:35px;font-size:16px;color:#777777;position: absolute;min-height: 150px;width: 33%;background-color: white;z-index:10;top: 33%;left: 33%;border: 1px solid #2789C1;box-shadow: 0 0 30px 5px #2789C1;">
-
 
53
    	<form name="refundAmountForm" action="/storewebsite/report!refundOrder" method="post" onsubmit="return validateAmount()" style="font-size: 16px;">
-
 
54
    		<span>Please enter the refund Amount : </span><input id="refundAmountText" name="refundAmount" type="text" maxlength="6" class='orderInputBox w150'><br>
-
 
55
    		<input id="refundPopupOrder" type="hidden" name="orderId" value=""><br>
-
 
56
    		<input type="submit" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: #2789C1;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;" value="SUBMIT">
-
 
57
			<input type="button" value="CANCEL" id="cancelRefundRequest" style="cursor:pointer;width: 75px;height: 25px;color: white;background-color: red;border: 1px solid blue;border-radius: 5px;margin: 10px 30px;"></input>
-
 
58
    	</form>
-
 
59
	</div>
-
 
60
	
52
	<div style="line-height:37px;height:37px;background-color:#333;color:white;">
61
	<div style="line-height:37px;height:37px;background-color:#333;color:white;">
53
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
62
    	<span style="margin-left:20px;font-weight:bold;font-size:15px">Store : </span><span style="font-size:20px">ANC</span>
54
    	<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/home">HOME</a>
63
    	<a style="margin:0px 25px 0px 25px;color:white" href="/storewebsite/home">HOME</a>
55
    	<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>	
64
    	<a style="color:white;" href="/storewebsite/!doLogout">Logout</a>	
56
    </div>
65
    </div>
Line 139... Line 148...
139
					
148
					
140
					##RETURN FLOW
149
					##RETURN FLOW
141
					
150
					
142
					#elseif($order.getStatus().getValue() == 58)
151
					#elseif($order.getStatus().getValue() == 58)
143
						<td>Return Approval Pending</td>	
152
						<td>Return Approval Pending</td>	
144
					#elseif($order.getStatus().getValue() == 59)
153
					#elseif($order.getStatus().getValue() == 67)
145
						<td><input id='$order.getId()' class='refundButton' order='$order.getId()' type='button' name='cancel' value='REFUND'></input></td>	
154
						<td><input id='$order.getId()' class='refundButton' order='$order.getId()' type='button' name='cancel' value='REFUND'></input></td>	
146
					#elseif($order.getStatus().getValue() == 60)
155
					#elseif($order.getStatus().getValue() == 60)
147
						<td>New Order Created</td>	
156
						<td>New Order Created</td>	
148
					#elseif($order.getStatus().getValue() == 70)
157
					#elseif($order.getStatus().getValue() == 70)
149
						<td>ORDER REFUNDED</td>	
158
						<td>ORDER REFUNDED</td>