case 4714 - duplicating a case gives the copy its own case number, open and created now
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
)}`;
|
||||
|
||||
Reference in New Issue
Block a user