private void AddNote(Item item) { item.Note = KeyboardController.Instance.OpenKeyBoard("Enter Note", item.Note); if (!string.IsNullOrWhiteSpace(item.Note) && item.Note.Length > 80) { item.Note = item.Note.Substring(0, 80); } item.IsNoteVisible = true; DbOrderItem.UpdateOrderItemNote(item.OrderItemKey, item.Note); }
private void CopyBasiDetails(Item source, Item destination) { destination.OrderItemKey = source.OrderItemKey; destination.OrderStatus = source.OrderStatus; destination.ArrivalTime = source.ArrivalTime; //destination.SCourseGroup.CalledAway = source.SCourseGroup.CalledAway; if (!string.IsNullOrWhiteSpace(source.Note)) { destination.Note = source.Note; DbOrderItem.UpdateOrderItemNote(destination.OrderItemKey, destination.Note); } }