Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type": "object",
- "config": {
- "columns": []
- },
- "layout": [
- {
- "type": "layout",
- "items": [
- {
- "id": "Task.Header",
- "type": "tsm-control",
- "widget": {
- "type": "tsm-control"
- }
- },
- {
- "id": "Task.Assigned",
- "type": "tsm-control",
- "widget": {
- "type": "tsm-control"
- }
- },
- {
- "id": "Task.Times",
- "type": "tsm-control",
- "widget": {
- "type": "tsm-control"
- }
- },
- {
- "id": "Task.Location",
- "type": "tsm-control",
- "widget": {
- "type": "tsm-control"
- }
- },
- {
- "id": "Task.Description",
- "type": "tsm-control",
- "widget": {
- "type": "tsm-control"
- }
- },
- {
- "type": "layout",
- "title": "Komentáře",
- "config": {
- "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
- "ownerType": "Task",
- "parentPriv": "Process.Instance.Task",
- "commentTypeCodes": "${$context.entitySpecification.commentTypes}",
- "defaultCommentType": "${$context.entitySpecification.defaultCommentType}",
- "commentTypeAllowEmpty": "${$context.entitySpecification.commentTypeAllowEmpty}"
- },
- "widget": {
- "type": "dtl-comments-widget",
- "validationMessages": {}
- }
- },
- {
- "type": "layout",
- "title": "Přílohy",
- "config": {
- "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
- "ownerType": "Task",
- "parentPriv": "Process.Instance.Task",
- "attachmentTypeCodes": "${$context.entitySpecification.attachmentTypes}",
- "attachmentTypeAllowEmpty": "${$context.entitySpecification.attachmentTypeAllowEmpty}"
- },
- "widget": {
- "type": "dtl-attachments-widget",
- "validationMessages": {}
- }
- },
- {
- "type": "layout",
- "title": "Notifikace",
- "config": {
- "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
- "ownerType": "Task",
- "parentPriv": "Process.Instance.Task",
- "relatedEntity": "${$context.entity.module == 'ordering' ? createObject([\"name\", \"refId\", \"refType\", \"type\"], ['Order', $context.entity.processBusinessKey, 'Order', 'Order']) : createObject([\"name\", \"refId\", \"refType\", \"type\"], ['Ticket', $context.entity.processBusinessKey, 'Ticket', 'Ticket']) }",
- "notificationTypeCodes": "${$context.entitySpecification != null ? $context.entitySpecification.notificationTypes : null}",
- "externalNotificationTo": {
- "email": "${$context.entity.chars.infoGeneral.data.contactEmail}",
- "phone": "${$context.entity.chars.infoGeneral.data.contactPhone}"
- },
- "notificationSendingUrl": "${$config.apiUrls.wfmPlanner + '/notifications/send'}"
- },
- "widget": {
- "type": "tsm-notification-tab",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "config": {
- "code": "Ord.Wfm.Task.Orderline",
- "context": "${$context}",
- "disableCountIsSingleChild": true
- },
- "widget": {
- "type": "tsm-characteristic",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {
- "disableAutofocus": true
- },
- "widget": {
- "type": "dtl-fluent-inplace",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- {
- "type": "layout",
- "config": {
- "type": "PRODUCT",
- "order": "${$context.order}",
- "showPrice": false,
- "previewMode": false,
- "showProductCode": false,
- "showAddNewConfiguration": false,
- "entitySpecificationFilter": "${$context.order.orderType.entitySpecificationFilter != null ? $context.order.orderType.entitySpecificationFilter.rootServiceFilter : null}",
- "showAddExistsConfiguration": false
- },
- "widget": {
- "type": "tsm-order-line-bookmark",
- "readonly": true,
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- {
- "type": "layout",
- "config": {
- "type": "PRICELIST",
- "order": "${$context.order}",
- "showProductCode": false,
- "showAddNewConfiguration": false,
- "entitySpecificationFilter": "${$context.order.orderType.entitySpecificationFilter != null ? $context.order.orderType.entitySpecificationFilter.rootServiceFilter : null}",
- "showAddExistsConfiguration": false
- },
- "widget": {
- "type": "tsm-order-line-bookmark",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- "formZariadenia",
- "form1",
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "config": {
- "code": "Entiinstconfchecklist",
- "context": "${$context}"
- },
- "widget": {
- "type": "tsm-characteristic",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {},
- "widget": {
- "type": "dtl-fluent-inplace",
- "readonly": "${dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- "form2"
- ],
- "config": {
- "accordions": [
- {
- "icon": null,
- "priv": null,
- "header": "Zoznam prác - vyhodit až bude validace ukončení na Službě",
- "hidden": true,
- "content": [
- 0
- ],
- "selected": false,
- "iconColor": null,
- "headerContent": []
- },
- {
- "icon": "ui-icon-product text-primary-400",
- "priv": null,
- "header": "Produkty",
- "hidden": false,
- "content": [
- 1
- ],
- "selected": null,
- "iconColor": null,
- "headerContent": []
- },
- {
- "icon": "tsm-icon-money-bag-1 text-primary-500",
- "priv": null,
- "header": "Ceny",
- "hidden": false,
- "content": [
- 2
- ],
- "selected": null,
- "iconColor": null,
- "headerContent": []
- },
- {
- "icon": "ui-icon-router text-primary-500",
- "priv": null,
- "header": "Zariadenia",
- "hidden": false,
- "content": [
- 3
- ],
- "selected": null,
- "iconColor": null,
- "headerContent": []
- },
- {
- "icon": "ui-icon-data-service text-primary-500 ",
- "priv": null,
- "header": "Služby",
- "hidden": false,
- "content": [
- 5
- ],
- "selected": null,
- "iconColor": "#ff8c00",
- "headerContent": []
- },
- {
- "icon": "p-icon-tv text-primary-500",
- "priv": null,
- "header": "Modern TV",
- "hidden": true,
- "content": [
- 4
- ],
- "selected": null,
- "iconColor": null,
- "headerContent": []
- },
- {
- "icon": "tsm-icon-provisioning text-primary-500",
- "priv": null,
- "header": "Provisioning",
- "hidden": false,
- "content": [
- 6
- ],
- "selected": null,
- "iconColor": "#ff8c00",
- "headerContent": []
- }
- ]
- },
- "widget": {
- "type": "dtl-fluent-accordion",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "config": {
- "accordions": [
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- }
- ]
- }
- }
- }
- },
- {
- "type": "layout",
- "items": [
- "generatedProtocol"
- ],
- "config": {
- "columns": [
- {
- "push": false,
- "fixed": false,
- "width": 12,
- "hidden": false,
- "offset": null,
- "content": [
- 0
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- }
- ],
- "stickyColumn": null,
- "innerPageLayout": false
- },
- "widget": {
- "type": "dtl-fluent-columns",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "title": "Seznam pracovních záznamů",
- "config": {
- "ownerId": "${$context.entity.id}",
- "ownerType": "Task",
- "profileId": "0198612d-2d2d-7059-93e2-66605d80f066",
- "listingType": "tsm-worklog-list",
- "worklogTypeCodes": [
- "Wfm.Task"
- ],
- "defaultWorklogType": "Wfm.Task"
- },
- "widget": {
- "type": "tsm-worklog-list",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "widget": {
- "tooltip": ""
- }
- }
- }
- }
- ],
- "widget": {
- "type": "dtl-fluent-card"
- }
- }
- ],
- "widget": {
- "type": "dtl-fluent-card"
- }
- },
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "config": {
- "code": "Ord.Wfm.Task.WorklogInformation",
- "context": "${$context}"
- },
- "widget": {
- "type": "tsm-characteristic"
- }
- }
- ],
- "config": {
- "header": "Dodatečné hodnoty časovače",
- "cardType": "primary",
- "disableMaximize": true,
- "disableMinimize": true,
- "headerIconClass": "tsm-icon-work-time text-primary-500",
- "headerAfterMinimize": "Dodatečné hodnoty časovače"
- },
- "widget": {
- "type": "dtl-fluent-card",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "config": {
- "header": "",
- "headerAfterMinimize": ""
- }
- }
- }
- },
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "title": "Aktivácie provisioning",
- "config": {
- "formCode": "Ord.Wfm.Task.ProvisioningDialog.Activation",
- "formTitle": "Spustenie aktivácie služby",
- "formAction": "script",
- "scriptCode": "Ord.Wfm.Task.Provisioning.ActivationMessage",
- "formContext": {
- "orderId": "${$context.order.id}"
- },
- "successActions": [
- {
- "action": "[Core] ShowMessage",
- "actionData": {
- "text": "Zkontrolujte aktivaci v provisioningu",
- "title": "ÚSPĚCH",
- "severity": "succes"
- },
- "passScriptDataToAction": false
- }
- ],
- "buttonAppearance": "p-button",
- "dialogButtonTitle": "Aktivácie provisioning"
- },
- "widget": {
- "type": "dtl-button",
- "hidden": "${evalScriptByCode(\"Ord.Wfm.Task.ProvisioningDialog.Activation\", {\"orderId\": $context.order.id}).data.activeButton}",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "config": {
- "successMessage": "",
- "dialogButtonTitle": ""
- },
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- {
- "type": "layout",
- "title": "Ponuka OSZ",
- "config": {
- "formCode": "Ord.Wfm.Task.Detail.PonukaOsz.Ticket",
- "formAction": "script",
- "scriptCode": "Order.Wfm.PonukaOSZ.Ticket.New",
- "closeDialog": true,
- "formContext": "${$context}",
- "alwaysEnabled": true,
- "shouldValidate": true,
- "buttonAppearance": "p-button"
- },
- "widget": {
- "type": "dtl-button",
- "customCssClass": "m-2",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "config": {
- "successMessage": "",
- "dialogButtonTitle": ""
- },
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- {
- "type": "layout",
- "title": "Pridať do objednávky",
- "config": {
- "formCode": "Ord.Wfm.Mytask.PridatDoObjednavky",
- "formAction": "script",
- "scriptCode": "Ord.Wfm.Mytask.FiltrSpecifikaceCeny",
- "closeDialog": true,
- "formContext": "${$context}",
- "buttonAppearance": "p-button"
- },
- "widget": {
- "type": "dtl-button",
- "disabled": "${dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
- "customCssClass": "m-2",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "config": {
- "successMessage": "",
- "dialogButtonTitle": ""
- },
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "form"
- ],
- "widget": {
- "type": "dtl-fluent-toolbar",
- "marginTop": "0rem",
- "marginLeft": "0rem",
- "paddingTop": "0rem",
- "marginRight": "0rem",
- "paddingLeft": "0rem",
- "marginBottom": "0rem",
- "paddingRight": "0rem",
- "paddingBottom": "0rem"
- }
- }
- ],
- "config": {
- "columns": [
- {
- "push": true,
- "fixed": true,
- "width": 12,
- "hidden": false,
- "offset": null,
- "content": [
- 0
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- }
- ],
- "stickyColumn": null,
- "innerPageLayout": false
- },
- "widget": {
- "type": "dtl-fluent-columns",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "config": {
- "code": "Ord.Wfm.Mytask.Detail.Zmluva.OverenieKlienta",
- "context": "${$context}"
- },
- "widget": {
- "type": "tsm-characteristic"
- }
- }
- ],
- "config": {},
- "widget": {
- "type": "dtl-fluent-inplace",
- "readonly": "${$value.switchCard == true}",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {
- "header": "Overenie klienta",
- "cardType": "primary",
- "headerIconClass": "ui-icon-person text-primary-500",
- "headerAfterMinimize": "Overenie klienta"
- },
- "widget": {
- "type": "dtl-fluent-card",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "config": {
- "header": "",
- "headerAfterMinimize": ""
- }
- }
- }
- },
- "documentType",
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "config": {
- "code": "Ord.Wfm.Mytask.Detail.Zmluva.Zastupenie",
- "context": "${$value}"
- },
- "widget": {
- "type": "tsm-characteristic",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {},
- "widget": {
- "type": "dtl-fluent-inplace",
- "readonly": "${$value.switchCard == false}",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {
- "header": "Zastúpenie",
- "cardType": "primary",
- "headerIconClass": "p-icon-person-add text-primary-500",
- "headerAfterMinimize": "Zastúpenie"
- },
- "widget": {
- "type": "dtl-fluent-card",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "config": {
- "header": "",
- "headerAfterMinimize": ""
- }
- }
- }
- },
- "switchCard",
- {
- "type": "layout",
- "items": [
- {
- "type": "layout",
- "title": "Zkontrolovat informace",
- "config": {
- "payload": {
- "switch": "${$value.switchCard}",
- "taskId": "${$context.entity.id}",
- "customerId": "${$context.order.customerId}",
- "confirmationPersonIdentity": "${$context.entity.chars.personIdentityDocumentTask}",
- "representationPersonIdentity": "${$context.entity.chars.personIdentityDocumentTaskRepresentation}"
- },
- "buttonType": "request_button",
- "scriptCode": "Ord.Wfm.Mytask.Zmluva.DocumentDataValidation",
- "buttonSeverity": "p-button-success",
- "successActions": [
- {
- "action": "[Core] HardReload",
- "actionData": null,
- "passScriptDataToAction": false
- }
- ],
- "successMessage": "",
- "buttonAppearance": "p-button"
- },
- "widget": {
- "type": "dtl-button",
- "disabled": "${getFieldByObject($context.entity.chars,\"personIdentityDocumentTask\") == null && getFieldByObject($context.entity.chars,\"personIdentityDocumentTaskRepresentation\") == null}",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "config": {
- "successMessage": "",
- "dialogButtonTitle": ""
- },
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "generateDocument"
- ],
- "config": {
- "columns": [
- {
- "push": false,
- "fixed": false,
- "width": 6,
- "hidden": false,
- "offset": null,
- "content": [
- 1
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- },
- {
- "push": true,
- "fixed": true,
- "width": 6,
- "hidden": false,
- "offset": null,
- "content": [
- 0
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- }
- ],
- "stickyColumn": null,
- "innerPageLayout": false
- },
- "widget": {
- "type": "dtl-fluent-columns",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {
- "columns": [
- {
- "push": false,
- "fixed": true,
- "width": 6,
- "hidden": false,
- "offset": null,
- "content": [
- 3
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": "flex mx-auto"
- },
- {
- "push": false,
- "fixed": false,
- "width": 12,
- "hidden": false,
- "offset": null,
- "content": [
- 0
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- },
- {
- "push": false,
- "fixed": false,
- "width": 12,
- "hidden": false,
- "offset": null,
- "content": [
- 2,
- 1,
- 4
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": null
- }
- ],
- "stickyColumn": null,
- "innerPageLayout": false
- },
- "widget": {
- "type": "dtl-fluent-columns",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "widget": {
- "type": "dtl-fluent-card"
- }
- },
- {
- "type": "layout",
- "items": [
- "documentType1"
- ],
- "config": {
- "columns": [
- {
- "push": false,
- "fixed": false,
- "width": 12,
- "hidden": false,
- "offset": null,
- "content": [
- 0
- ],
- "divider": false,
- "flexible": false,
- "fieldHtmlClass": "mx-auto"
- }
- ],
- "stickyColumn": null,
- "innerPageLayout": false
- },
- "widget": {
- "type": "dtl-fluent-columns",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {}
- }
- },
- {
- "type": "layout",
- "widget": {
- "type": "dtl-fluent-html",
- "validationMessages": {}
- },
- "config": {
- "html": "<div class=\"test-hidden\">Najprv musíte podpísať zmluvu.</div>",
- "variables": [
- {
- "htmlMapping": "test-hidden",
- "htmlVariable": "{{!dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()}}"
- }
- ]
- },
- "localizationData": {
- "en": {}
- }
- }
- ],
- "config": {
- "tabs": [
- {
- "priv": null,
- "header": "Úkol",
- "hidden": false,
- "content": [
- 0,
- 1,
- 2,
- 3,
- 4,
- 12,
- 15,
- 14,
- 8
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Komentáře",
- "hidden": false,
- "content": [
- 5
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Přílohy",
- "hidden": false,
- "content": [
- 6
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Notifikace",
- "hidden": false,
- "content": [
- 7
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Protokol",
- "hidden": false,
- "content": [
- 9
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Časovač",
- "hidden": false,
- "content": [
- 11,
- 10
- ],
- "headerContent": []
- },
- {
- "priv": null,
- "header": "Zmluva",
- "hidden": false,
- "content": [
- 13
- ],
- "headerContent": []
- }
- ]
- },
- "widget": {
- "type": "dtl-fluent-tab",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "config": {
- "tabs": [
- {
- "header": "Task"
- },
- {
- "header": "Comment"
- },
- {
- "header": "Attachment"
- },
- {
- "header": "Notification"
- },
- {
- "header": null
- },
- {
- "header": null
- },
- {
- "header": null
- }
- ]
- }
- }
- }
- }
- ],
- "properties": {
- "form": {
- "type": "object",
- "title": "Aktivace TV",
- "config": {
- "formCode": "Ord.Wfm.Task.ModernTvButton"
- },
- "widget": {
- "type": "dtl-fluent-inner-form",
- "notitle": true,
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "form1": {
- "type": "object",
- "title": "Form",
- "config": {
- "formCode": "Ord.Wfm.Task.ModernTv"
- },
- "widget": {
- "type": "dtl-fluent-inner-form",
- "notitle": true,
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "form2": {
- "type": "object",
- "title": "Form",
- "config": {
- "formCode": "Ord.Wfm.Task.ProvisioningOverview"
- },
- "widget": {
- "type": "dtl-fluent-inner-form",
- "notitle": true,
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "switchCard": {
- "type": "boolean",
- "title": "Switch",
- "config": {
- "leftLabel": "Overenie klienta",
- "rightLabel": "Zastúpenie"
- },
- "widget": {
- "type": "switch",
- "notitle": true,
- "fieldHtmlClass": "text-xl flex ml-auto",
- "validationMessages": {}
- },
- "default": false,
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "documentType": {
- "type": "string",
- "title": "Typ dokladu",
- "config": {},
- "widget": {
- "type": "text",
- "hidden": "${getFieldByObject($context.entity.chars,\"documentValidation\") == null}",
- "notitle": true,
- "readonly": true,
- "validationMessages": {}
- },
- "default": "${getFieldByObject($context.entity.chars,\"documentValidation\") == null ? null : $context.entity.chars.documentValidation.validationMessage}",
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": "",
- "placeholder": ""
- }
- }
- }
- },
- "documentType1": {
- "type": "string",
- "title": "Typ dokladu",
- "config": {},
- "widget": {
- "type": "text",
- "hidden": "${!dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
- "notitle": true,
- "readonly": true,
- "persistent": "Always",
- "labelPosition": "top",
- "fieldHtmlClass": "text-xl text-red-500 text-center font-medium",
- "validationMessages": {}
- },
- "default": "Najprv musíte podpísať zmluvu.",
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": "",
- "placeholder": ""
- }
- }
- }
- },
- "formZariadenia": {
- "type": "object",
- "title": "Form",
- "config": {
- "formCode": "Ord.Wfm.Task.Zariadenia"
- },
- "widget": {
- "type": "dtl-fluent-inner-form",
- "notitle": true,
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "generateDocument": {
- "type": "object",
- "title": "Vygenerovat smlouvu",
- "config": {
- "formId": "019a2594-04c2-77fc-a10b-88c23d12421b",
- "ownerId": "${$context.order.id}",
- "fileName": "${$context.entity.name.replace(\"[Predajca]Podpis/ Nahranie zmluvy - \", \"\").replace(\".pdf\",\"\") + \" podepsano\"}",
- "formData": "${createObject(\r\n [\"orderId\", \"signaturePadCustomer\", \"signaturePadSales\"],\r\n [$context.order.id, $value.signaturePadCustomer, $value.signaturePadSales]\r\n);\r\n}",
- "ownerType": "Order",
- "scriptData": "${{\"orderId\": $context.order.id}\r\n}",
- "spelScript": "Order.Aktivacia.Context.Zmluva2",
- "attachmentType": "Zmluva",
- "buttonAppearance": "p-button p-button-outlined",
- "previewProtocolButton": "Zobrazit dokument k podpisu",
- "refreshProtocolButton": "Podpisat",
- "generateProtocolButton": "Vygenerovat smlouvu",
- "formatterDocumentTemplate": "Pokusy.Zmluva.Test"
- },
- "widget": {
- "type": "tsm-generate-protocol",
- "notitle": true,
- "readonly": "${getFieldByObject($context.entity.chars,\"personIdentityDocumentTask\") == null && getFieldByObject($context.entity.chars,\"personIdentityDocumentTaskRepresentation\") == null || $context.entity.chars.documentValidation.validationSucces == false || getFieldByObject($context.entity.chars.documentValidation, \"validationSucces\") == null}",
- "persistent": "Never",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- },
- "generatedProtocol": {
- "type": "object",
- "title": "Generování protokolu",
- "config": {
- "formId": "019817da-230b-73b9-8fb9-f99fb1a5e65f",
- "ownerId": "${$context.order.id}",
- "fileName": "${$context.entity.name.replace(\"Protokol / Prebirací k zmluve o poskytovaní VDEKSk zmluve VDEX\", \"\").replace(\".pdf\",\"\") + \" podepsano\"}",
- "formData": "${createObject([\"signaturePadCustomer\", \"SignaturePadTechnician\",\"Zakaznik.DodaciaAdresa.Obec\"], [$value.signaturePadCustomer, $value.signaturePadTechnician, $context.entity.chars.taskAdress.city])\r\n}",
- "ownerType": "Order",
- "attachmentType": "PreberaciProtokol",
- "previewProtocolButton": "Náhled protokolu",
- "generateProtocolButton": "Podpisat",
- "formatterDocumentTemplate": "Dokument.Retail.Order.Rs.Sv.021.OdovzdovaciAPrebiraciProtokolKZmluveVdeks"
- },
- "widget": {
- "type": "tsm-generate-protocol",
- "notitle": true,
- "persistent": "Never",
- "validationMessages": {}
- },
- "localizationData": {
- "en": {
- "title": "",
- "widget": {
- "tooltip": ""
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment