This commit is contained in:
@@ -647,7 +647,10 @@ export default {
|
||||
generateWorkOrder() {
|
||||
let cp = JSON.parse(JSON.stringify(this.obj));
|
||||
if (this.genCopyAttachments) {
|
||||
cp.genCopyAttachments = true; //flag for later on success as need a object created to attach to
|
||||
cp.genCopyAttachmentsFrom = {
|
||||
AType: window.$gz.type.Quote,
|
||||
ObjectId: this.obj.id
|
||||
};
|
||||
}
|
||||
if (!this.genCopyWiki) {
|
||||
cp.wiki = null; //already copied, need to remove it instead
|
||||
|
||||
Reference in New Issue
Block a user