Subversion Repositories SmartDukaan

Rev

Rev 572 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 572 Rev 583
Line 1189... Line 1189...
1189
		}catch (Exception e){
1189
		}catch (Exception e){
1190
			
1190
			
1191
		}
1191
		}
1192
		
1192
		
1193
		SimpleDateFormat dateformat = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss aa");
1193
		SimpleDateFormat dateformat = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss aa");
-
 
1194
		SimpleDateFormat dateformat1 = new SimpleDateFormat("dd/MM/yyyy");
1194
		context.put("order", order);
1195
		context.put("order", order);
1195
		context.put("orderedOn", dateformat.format(orderedOn));
1196
		context.put("orderedOn", dateformat.format(orderedOn));
1196
		context.put("deliveryEstimate", dateformat.format(deliveryEstimate));
1197
		context.put("deliveryEstimate", dateformat1.format(deliveryEstimate));
1197
		
1198
		
1198
		
1199
		
1199
		htmlString = getHtmlFromVelocity(templateFile, context);
1200
		htmlString = getHtmlFromVelocity(templateFile, context);
1200
		return htmlString;
1201
		return htmlString;
1201
	}
1202
	}