Subversion Repositories SmartDukaan

Rev

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

Rev 35997 Rev 36446
Line 78... Line 78...
78
	private String rejectRemark;
78
	private String rejectRemark;
79
 
79
 
80
	@Column(name = "updated_by")
80
	@Column(name = "updated_by")
81
	private String updatedBy;
81
	private String updatedBy;
82
 
82
 
-
 
83
	@Convert(converter = LocalDateTimeAttributeConverter.class)
-
 
84
	@Column(name = "retailer_acknowledge_timestamp")
-
 
85
	private LocalDateTime retailerAcknowledgeTimestamp;
-
 
86
 
83
	// Document reference prefixes
87
	// Document reference prefixes
84
	public static final String DN_PREFIX = "DN:";
88
	public static final String DN_PREFIX = "DN:";
85
	public static final String INV_PREFIX = "INV:";
89
	public static final String INV_PREFIX = "INV:";
86
	public static final String SN_PREFIX = "SN:";
90
	public static final String SN_PREFIX = "SN:";
87
 
91
 
Line 227... Line 231...
227
 
231
 
228
	public void setUpdatedBy(String updatedBy) {
232
	public void setUpdatedBy(String updatedBy) {
229
		this.updatedBy = updatedBy;
233
		this.updatedBy = updatedBy;
230
	}
234
	}
231
 
235
 
-
 
236
	public LocalDateTime getRetailerAcknowledgeTimestamp() {
-
 
237
		return retailerAcknowledgeTimestamp;
-
 
238
	}
-
 
239
 
-
 
240
	public void setRetailerAcknowledgeTimestamp(LocalDateTime retailerAcknowledgeTimestamp) {
-
 
241
		this.retailerAcknowledgeTimestamp = retailerAcknowledgeTimestamp;
-
 
242
	}
-
 
243
 
-
 
244
	public String getFormattedRetailerAcknowledgeTimestamp() {
-
 
245
		if (retailerAcknowledgeTimestamp == null) return null;
-
 
246
		return retailerAcknowledgeTimestamp.format(DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm"));
-
 
247
	}
-
 
248
 
232
	public String getFormattedRejectTimestamp() {
249
	public String getFormattedRejectTimestamp() {
233
		if (rejectTimestamp == null) return null;
250
		if (rejectTimestamp == null) return null;
234
		return rejectTimestamp.format(DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm"));
251
		return rejectTimestamp.format(DateTimeFormatter.ofPattern("dd-MM-yyyy HH:mm"));
235
	}
252
	}
236
 
253