From ac23f1f2642488d4b3298d71c334a8c18ce13db6 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 1 Nov 2026 10:20:30 -0700 Subject: [PATCH] case 4714 - duplicating a case gives the copy its own case number, open and created now Co-Authored-By: Claude Opus 5.5 --- src/views/biz-gzcase.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/biz-gzcase.vue b/src/views/biz-gzcase.vue index 0bc7264..30e157f 100644 --- a/src/views/biz-gzcase.vue +++ b/src/views/biz-gzcase.vue @@ -222,6 +222,10 @@ export default { this.obj = this.$route.params.obj; this.obj.concurrency = undefined; this.obj.id = 0; + //case 4714: a duplicate is a new, open case: the server gives it the next case number when saved + this.obj.caseId = 0; + this.obj.closed = null; + this.obj.created = window.$gz.locale.nowUTC8601String(); this.obj.name = `${this.obj.name} - ${window.$gz.translation.get( "Copy" )}`;