JanTecl

Untitled

Nov 20th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.98 KB | None | 0 0
  1. {
  2. "type": "object",
  3. "config": {
  4. "columns": []
  5. },
  6. "layout": [
  7. {
  8. "type": "layout",
  9. "items": [
  10. {
  11. "id": "Task.Header",
  12. "type": "tsm-control",
  13. "widget": {
  14. "type": "tsm-control"
  15. }
  16. },
  17. {
  18. "id": "Task.Assigned",
  19. "type": "tsm-control",
  20. "widget": {
  21. "type": "tsm-control"
  22. }
  23. },
  24. {
  25. "id": "Task.Times",
  26. "type": "tsm-control",
  27. "widget": {
  28. "type": "tsm-control"
  29. }
  30. },
  31. {
  32. "id": "Task.Location",
  33. "type": "tsm-control",
  34. "widget": {
  35. "type": "tsm-control"
  36. }
  37. },
  38. {
  39. "id": "Task.Description",
  40. "type": "tsm-control",
  41. "widget": {
  42. "type": "tsm-control"
  43. }
  44. },
  45. {
  46. "type": "layout",
  47. "title": "Komentáře",
  48. "config": {
  49. "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
  50. "ownerType": "Task",
  51. "parentPriv": "Process.Instance.Task",
  52. "commentTypeCodes": "${$context.entitySpecification.commentTypes}",
  53. "defaultCommentType": "${$context.entitySpecification.defaultCommentType}",
  54. "commentTypeAllowEmpty": "${$context.entitySpecification.commentTypeAllowEmpty}"
  55. },
  56. "widget": {
  57. "type": "dtl-comments-widget",
  58. "validationMessages": {}
  59. }
  60. },
  61. {
  62. "type": "layout",
  63. "title": "Přílohy",
  64. "config": {
  65. "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
  66. "ownerType": "Task",
  67. "parentPriv": "Process.Instance.Task",
  68. "attachmentTypeCodes": "${$context.entitySpecification.attachmentTypes}",
  69. "attachmentTypeAllowEmpty": "${$context.entitySpecification.attachmentTypeAllowEmpty}"
  70. },
  71. "widget": {
  72. "type": "dtl-attachments-widget",
  73. "validationMessages": {}
  74. }
  75. },
  76. {
  77. "type": "layout",
  78. "title": "Notifikace",
  79. "config": {
  80. "ownerId": "${$context.entity.activityId + ':' + $context.entity.executionId}",
  81. "ownerType": "Task",
  82. "parentPriv": "Process.Instance.Task",
  83. "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']) }",
  84. "notificationTypeCodes": "${$context.entitySpecification != null ? $context.entitySpecification.notificationTypes : null}",
  85. "externalNotificationTo": {
  86. "email": "${$context.entity.chars.infoGeneral.data.contactEmail}",
  87. "phone": "${$context.entity.chars.infoGeneral.data.contactPhone}"
  88. },
  89. "notificationSendingUrl": "${$config.apiUrls.wfmPlanner + '/notifications/send'}"
  90. },
  91. "widget": {
  92. "type": "tsm-notification-tab",
  93. "validationMessages": {}
  94. },
  95. "localizationData": {
  96. "en": {
  97. "widget": {
  98. "tooltip": ""
  99. }
  100. }
  101. }
  102. },
  103. {
  104. "type": "layout",
  105. "items": [
  106. {
  107. "type": "layout",
  108. "items": [
  109. {
  110. "type": "layout",
  111. "config": {
  112. "code": "Ord.Wfm.Task.Orderline",
  113. "context": "${$context}",
  114. "disableCountIsSingleChild": true
  115. },
  116. "widget": {
  117. "type": "tsm-characteristic",
  118. "validationMessages": {}
  119. },
  120. "localizationData": {
  121. "en": {}
  122. }
  123. }
  124. ],
  125. "config": {
  126. "disableAutofocus": true
  127. },
  128. "widget": {
  129. "type": "dtl-fluent-inplace",
  130. "validationMessages": {}
  131. },
  132. "localizationData": {
  133. "en": {}
  134. }
  135. },
  136. {
  137. "type": "layout",
  138. "config": {
  139. "type": "PRODUCT",
  140. "order": "${$context.order}",
  141. "showPrice": false,
  142. "previewMode": false,
  143. "showProductCode": false,
  144. "showAddNewConfiguration": false,
  145. "entitySpecificationFilter": "${$context.order.orderType.entitySpecificationFilter != null ? $context.order.orderType.entitySpecificationFilter.rootServiceFilter : null}",
  146. "showAddExistsConfiguration": false
  147. },
  148. "widget": {
  149. "type": "tsm-order-line-bookmark",
  150. "readonly": true,
  151. "validationMessages": {}
  152. },
  153. "localizationData": {
  154. "en": {}
  155. }
  156. },
  157. {
  158. "type": "layout",
  159. "config": {
  160. "type": "PRICELIST",
  161. "order": "${$context.order}",
  162. "showProductCode": false,
  163. "showAddNewConfiguration": false,
  164. "entitySpecificationFilter": "${$context.order.orderType.entitySpecificationFilter != null ? $context.order.orderType.entitySpecificationFilter.rootServiceFilter : null}",
  165. "showAddExistsConfiguration": false
  166. },
  167. "widget": {
  168. "type": "tsm-order-line-bookmark",
  169. "validationMessages": {}
  170. },
  171. "localizationData": {
  172. "en": {}
  173. }
  174. },
  175. "formZariadenia",
  176. "form1",
  177. {
  178. "type": "layout",
  179. "items": [
  180. {
  181. "type": "layout",
  182. "config": {
  183. "code": "Entiinstconfchecklist",
  184. "context": "${$context}"
  185. },
  186. "widget": {
  187. "type": "tsm-characteristic",
  188. "validationMessages": {}
  189. },
  190. "localizationData": {
  191. "en": {}
  192. }
  193. }
  194. ],
  195. "config": {},
  196. "widget": {
  197. "type": "dtl-fluent-inplace",
  198. "readonly": "${dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
  199. "validationMessages": {}
  200. },
  201. "localizationData": {
  202. "en": {}
  203. }
  204. },
  205. "form2"
  206. ],
  207. "config": {
  208. "accordions": [
  209. {
  210. "icon": null,
  211. "priv": null,
  212. "header": "Zoznam prác - vyhodit až bude validace ukončení na Službě",
  213. "hidden": true,
  214. "content": [
  215. 0
  216. ],
  217. "selected": false,
  218. "iconColor": null,
  219. "headerContent": []
  220. },
  221. {
  222. "icon": "ui-icon-product text-primary-400",
  223. "priv": null,
  224. "header": "Produkty",
  225. "hidden": false,
  226. "content": [
  227. 1
  228. ],
  229. "selected": null,
  230. "iconColor": null,
  231. "headerContent": []
  232. },
  233. {
  234. "icon": "tsm-icon-money-bag-1 text-primary-500",
  235. "priv": null,
  236. "header": "Ceny",
  237. "hidden": false,
  238. "content": [
  239. 2
  240. ],
  241. "selected": null,
  242. "iconColor": null,
  243. "headerContent": []
  244. },
  245. {
  246. "icon": "ui-icon-router text-primary-500",
  247. "priv": null,
  248. "header": "Zariadenia",
  249. "hidden": false,
  250. "content": [
  251. 3
  252. ],
  253. "selected": null,
  254. "iconColor": null,
  255. "headerContent": []
  256. },
  257. {
  258. "icon": "ui-icon-data-service text-primary-500 ",
  259. "priv": null,
  260. "header": "Služby",
  261. "hidden": false,
  262. "content": [
  263. 5
  264. ],
  265. "selected": null,
  266. "iconColor": "#ff8c00",
  267. "headerContent": []
  268. },
  269. {
  270. "icon": "p-icon-tv text-primary-500",
  271. "priv": null,
  272. "header": "Modern TV",
  273. "hidden": true,
  274. "content": [
  275. 4
  276. ],
  277. "selected": null,
  278. "iconColor": null,
  279. "headerContent": []
  280. },
  281. {
  282. "icon": "tsm-icon-provisioning text-primary-500",
  283. "priv": null,
  284. "header": "Provisioning",
  285. "hidden": false,
  286. "content": [
  287. 6
  288. ],
  289. "selected": null,
  290. "iconColor": "#ff8c00",
  291. "headerContent": []
  292. }
  293. ]
  294. },
  295. "widget": {
  296. "type": "dtl-fluent-accordion",
  297. "validationMessages": {}
  298. },
  299. "localizationData": {
  300. "en": {
  301. "config": {
  302. "accordions": [
  303. {
  304. "header": null
  305. },
  306. {
  307. "header": null
  308. },
  309. {
  310. "header": null
  311. },
  312. {
  313. "header": null
  314. },
  315. {
  316. "header": null
  317. },
  318. {
  319. "header": null
  320. },
  321. {
  322. "header": null
  323. }
  324. ]
  325. }
  326. }
  327. }
  328. },
  329. {
  330. "type": "layout",
  331. "items": [
  332. "generatedProtocol"
  333. ],
  334. "config": {
  335. "columns": [
  336. {
  337. "push": false,
  338. "fixed": false,
  339. "width": 12,
  340. "hidden": false,
  341. "offset": null,
  342. "content": [
  343. 0
  344. ],
  345. "divider": false,
  346. "flexible": false,
  347. "fieldHtmlClass": null
  348. }
  349. ],
  350. "stickyColumn": null,
  351. "innerPageLayout": false
  352. },
  353. "widget": {
  354. "type": "dtl-fluent-columns",
  355. "validationMessages": {}
  356. },
  357. "localizationData": {
  358. "en": {}
  359. }
  360. },
  361. {
  362. "type": "layout",
  363. "items": [
  364. {
  365. "type": "layout",
  366. "items": [
  367. {
  368. "type": "layout",
  369. "title": "Seznam pracovních záznamů",
  370. "config": {
  371. "ownerId": "${$context.entity.id}",
  372. "ownerType": "Task",
  373. "profileId": "0198612d-2d2d-7059-93e2-66605d80f066",
  374. "listingType": "tsm-worklog-list",
  375. "worklogTypeCodes": [
  376. "Wfm.Task"
  377. ],
  378. "defaultWorklogType": "Wfm.Task"
  379. },
  380. "widget": {
  381. "type": "tsm-worklog-list",
  382. "validationMessages": {}
  383. },
  384. "localizationData": {
  385. "en": {
  386. "widget": {
  387. "tooltip": ""
  388. }
  389. }
  390. }
  391. }
  392. ],
  393. "widget": {
  394. "type": "dtl-fluent-card"
  395. }
  396. }
  397. ],
  398. "widget": {
  399. "type": "dtl-fluent-card"
  400. }
  401. },
  402. {
  403. "type": "layout",
  404. "items": [
  405. {
  406. "type": "layout",
  407. "config": {
  408. "code": "Ord.Wfm.Task.WorklogInformation",
  409. "context": "${$context}"
  410. },
  411. "widget": {
  412. "type": "tsm-characteristic"
  413. }
  414. }
  415. ],
  416. "config": {
  417. "header": "Dodatečné hodnoty časovače",
  418. "cardType": "primary",
  419. "disableMaximize": true,
  420. "disableMinimize": true,
  421. "headerIconClass": "tsm-icon-work-time text-primary-500",
  422. "headerAfterMinimize": "Dodatečné hodnoty časovače"
  423. },
  424. "widget": {
  425. "type": "dtl-fluent-card",
  426. "validationMessages": {}
  427. },
  428. "localizationData": {
  429. "en": {
  430. "config": {
  431. "header": "",
  432. "headerAfterMinimize": ""
  433. }
  434. }
  435. }
  436. },
  437. {
  438. "type": "layout",
  439. "items": [
  440. {
  441. "type": "layout",
  442. "items": [
  443. {
  444. "type": "layout",
  445. "title": "Aktivácie provisioning",
  446. "config": {
  447. "formCode": "Ord.Wfm.Task.ProvisioningDialog.Activation",
  448. "formTitle": "Spustenie aktivácie služby",
  449. "formAction": "script",
  450. "scriptCode": "Ord.Wfm.Task.Provisioning.ActivationMessage",
  451. "formContext": {
  452. "orderId": "${$context.order.id}"
  453. },
  454. "successActions": [
  455. {
  456. "action": "[Core] ShowMessage",
  457. "actionData": {
  458. "text": "Zkontrolujte aktivaci v provisioningu",
  459. "title": "ÚSPĚCH",
  460. "severity": "succes"
  461. },
  462. "passScriptDataToAction": false
  463. }
  464. ],
  465. "buttonAppearance": "p-button",
  466. "dialogButtonTitle": "Aktivácie provisioning"
  467. },
  468. "widget": {
  469. "type": "dtl-button",
  470. "hidden": "${evalScriptByCode(\"Ord.Wfm.Task.ProvisioningDialog.Activation\", {\"orderId\": $context.order.id}).data.activeButton}",
  471. "validationMessages": {}
  472. },
  473. "localizationData": {
  474. "en": {
  475. "title": "",
  476. "config": {
  477. "successMessage": "",
  478. "dialogButtonTitle": ""
  479. },
  480. "widget": {
  481. "tooltip": ""
  482. }
  483. }
  484. }
  485. },
  486. {
  487. "type": "layout",
  488. "title": "Ponuka OSZ",
  489. "config": {
  490. "formCode": "Ord.Wfm.Task.Detail.PonukaOsz.Ticket",
  491. "formAction": "script",
  492. "scriptCode": "Order.Wfm.PonukaOSZ.Ticket.New",
  493. "closeDialog": true,
  494. "formContext": "${$context}",
  495. "alwaysEnabled": true,
  496. "shouldValidate": true,
  497. "buttonAppearance": "p-button"
  498. },
  499. "widget": {
  500. "type": "dtl-button",
  501. "customCssClass": "m-2",
  502. "validationMessages": {}
  503. },
  504. "localizationData": {
  505. "en": {
  506. "title": "",
  507. "config": {
  508. "successMessage": "",
  509. "dialogButtonTitle": ""
  510. },
  511. "widget": {
  512. "tooltip": ""
  513. }
  514. }
  515. }
  516. },
  517. {
  518. "type": "layout",
  519. "title": "Pridať do objednávky",
  520. "config": {
  521. "formCode": "Ord.Wfm.Mytask.PridatDoObjednavky",
  522. "formAction": "script",
  523. "scriptCode": "Ord.Wfm.Mytask.FiltrSpecifikaceCeny",
  524. "closeDialog": true,
  525. "formContext": "${$context}",
  526. "buttonAppearance": "p-button"
  527. },
  528. "widget": {
  529. "type": "dtl-button",
  530. "disabled": "${dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
  531. "customCssClass": "m-2",
  532. "validationMessages": {}
  533. },
  534. "localizationData": {
  535. "en": {
  536. "title": "",
  537. "config": {
  538. "successMessage": "",
  539. "dialogButtonTitle": ""
  540. },
  541. "widget": {
  542. "tooltip": ""
  543. }
  544. }
  545. }
  546. },
  547. "form"
  548. ],
  549. "widget": {
  550. "type": "dtl-fluent-toolbar",
  551. "marginTop": "0rem",
  552. "marginLeft": "0rem",
  553. "paddingTop": "0rem",
  554. "marginRight": "0rem",
  555. "paddingLeft": "0rem",
  556. "marginBottom": "0rem",
  557. "paddingRight": "0rem",
  558. "paddingBottom": "0rem"
  559. }
  560. }
  561. ],
  562. "config": {
  563. "columns": [
  564. {
  565. "push": true,
  566. "fixed": true,
  567. "width": 12,
  568. "hidden": false,
  569. "offset": null,
  570. "content": [
  571. 0
  572. ],
  573. "divider": false,
  574. "flexible": false,
  575. "fieldHtmlClass": null
  576. }
  577. ],
  578. "stickyColumn": null,
  579. "innerPageLayout": false
  580. },
  581. "widget": {
  582. "type": "dtl-fluent-columns",
  583. "validationMessages": {}
  584. },
  585. "localizationData": {
  586. "en": {}
  587. }
  588. },
  589. {
  590. "type": "layout",
  591. "items": [
  592. {
  593. "type": "layout",
  594. "items": [
  595. {
  596. "type": "layout",
  597. "items": [
  598. {
  599. "type": "layout",
  600. "items": [
  601. {
  602. "type": "layout",
  603. "config": {
  604. "code": "Ord.Wfm.Mytask.Detail.Zmluva.OverenieKlienta",
  605. "context": "${$context}"
  606. },
  607. "widget": {
  608. "type": "tsm-characteristic"
  609. }
  610. }
  611. ],
  612. "config": {},
  613. "widget": {
  614. "type": "dtl-fluent-inplace",
  615. "readonly": "${$value.switchCard == true}",
  616. "validationMessages": {}
  617. },
  618. "localizationData": {
  619. "en": {}
  620. }
  621. }
  622. ],
  623. "config": {
  624. "header": "Overenie klienta",
  625. "cardType": "primary",
  626. "headerIconClass": "ui-icon-person text-primary-500",
  627. "headerAfterMinimize": "Overenie klienta"
  628. },
  629. "widget": {
  630. "type": "dtl-fluent-card",
  631. "validationMessages": {}
  632. },
  633. "localizationData": {
  634. "en": {
  635. "config": {
  636. "header": "",
  637. "headerAfterMinimize": ""
  638. }
  639. }
  640. }
  641. },
  642. "documentType",
  643. {
  644. "type": "layout",
  645. "items": [
  646. {
  647. "type": "layout",
  648. "items": [
  649. {
  650. "type": "layout",
  651. "config": {
  652. "code": "Ord.Wfm.Mytask.Detail.Zmluva.Zastupenie",
  653. "context": "${$value}"
  654. },
  655. "widget": {
  656. "type": "tsm-characteristic",
  657. "validationMessages": {}
  658. },
  659. "localizationData": {
  660. "en": {}
  661. }
  662. }
  663. ],
  664. "config": {},
  665. "widget": {
  666. "type": "dtl-fluent-inplace",
  667. "readonly": "${$value.switchCard == false}",
  668. "validationMessages": {}
  669. },
  670. "localizationData": {
  671. "en": {}
  672. }
  673. }
  674. ],
  675. "config": {
  676. "header": "Zastúpenie",
  677. "cardType": "primary",
  678. "headerIconClass": "p-icon-person-add text-primary-500",
  679. "headerAfterMinimize": "Zastúpenie"
  680. },
  681. "widget": {
  682. "type": "dtl-fluent-card",
  683. "validationMessages": {}
  684. },
  685. "localizationData": {
  686. "en": {
  687. "config": {
  688. "header": "",
  689. "headerAfterMinimize": ""
  690. }
  691. }
  692. }
  693. },
  694. "switchCard",
  695. {
  696. "type": "layout",
  697. "items": [
  698. {
  699. "type": "layout",
  700. "title": "Zkontrolovat informace",
  701. "config": {
  702. "payload": {
  703. "switch": "${$value.switchCard}",
  704. "taskId": "${$context.entity.id}",
  705. "customerId": "${$context.order.customerId}",
  706. "confirmationPersonIdentity": "${$context.entity.chars.personIdentityDocumentTask}",
  707. "representationPersonIdentity": "${$context.entity.chars.personIdentityDocumentTaskRepresentation}"
  708. },
  709. "buttonType": "request_button",
  710. "scriptCode": "Ord.Wfm.Mytask.Zmluva.DocumentDataValidation",
  711. "buttonSeverity": "p-button-success",
  712. "successActions": [
  713. {
  714. "action": "[Core] HardReload",
  715. "actionData": null,
  716. "passScriptDataToAction": false
  717. }
  718. ],
  719. "successMessage": "",
  720. "buttonAppearance": "p-button"
  721. },
  722. "widget": {
  723. "type": "dtl-button",
  724. "disabled": "${getFieldByObject($context.entity.chars,\"personIdentityDocumentTask\") == null && getFieldByObject($context.entity.chars,\"personIdentityDocumentTaskRepresentation\") == null}",
  725. "validationMessages": {}
  726. },
  727. "localizationData": {
  728. "en": {
  729. "title": "",
  730. "config": {
  731. "successMessage": "",
  732. "dialogButtonTitle": ""
  733. },
  734. "widget": {
  735. "tooltip": ""
  736. }
  737. }
  738. }
  739. },
  740. "generateDocument"
  741. ],
  742. "config": {
  743. "columns": [
  744. {
  745. "push": false,
  746. "fixed": false,
  747. "width": 6,
  748. "hidden": false,
  749. "offset": null,
  750. "content": [
  751. 1
  752. ],
  753. "divider": false,
  754. "flexible": false,
  755. "fieldHtmlClass": null
  756. },
  757. {
  758. "push": true,
  759. "fixed": true,
  760. "width": 6,
  761. "hidden": false,
  762. "offset": null,
  763. "content": [
  764. 0
  765. ],
  766. "divider": false,
  767. "flexible": false,
  768. "fieldHtmlClass": null
  769. }
  770. ],
  771. "stickyColumn": null,
  772. "innerPageLayout": false
  773. },
  774. "widget": {
  775. "type": "dtl-fluent-columns",
  776. "validationMessages": {}
  777. },
  778. "localizationData": {
  779. "en": {}
  780. }
  781. }
  782. ],
  783. "config": {
  784. "columns": [
  785. {
  786. "push": false,
  787. "fixed": true,
  788. "width": 6,
  789. "hidden": false,
  790. "offset": null,
  791. "content": [
  792. 3
  793. ],
  794. "divider": false,
  795. "flexible": false,
  796. "fieldHtmlClass": "flex mx-auto"
  797. },
  798. {
  799. "push": false,
  800. "fixed": false,
  801. "width": 12,
  802. "hidden": false,
  803. "offset": null,
  804. "content": [
  805. 0
  806. ],
  807. "divider": false,
  808. "flexible": false,
  809. "fieldHtmlClass": null
  810. },
  811. {
  812. "push": false,
  813. "fixed": false,
  814. "width": 12,
  815. "hidden": false,
  816. "offset": null,
  817. "content": [
  818. 2,
  819. 1,
  820. 4
  821. ],
  822. "divider": false,
  823. "flexible": false,
  824. "fieldHtmlClass": null
  825. }
  826. ],
  827. "stickyColumn": null,
  828. "innerPageLayout": false
  829. },
  830. "widget": {
  831. "type": "dtl-fluent-columns",
  832. "validationMessages": {}
  833. },
  834. "localizationData": {
  835. "en": {}
  836. }
  837. }
  838. ],
  839. "widget": {
  840. "type": "dtl-fluent-card"
  841. }
  842. },
  843. {
  844. "type": "layout",
  845. "items": [
  846. "documentType1"
  847. ],
  848. "config": {
  849. "columns": [
  850. {
  851. "push": false,
  852. "fixed": false,
  853. "width": 12,
  854. "hidden": false,
  855. "offset": null,
  856. "content": [
  857. 0
  858. ],
  859. "divider": false,
  860. "flexible": false,
  861. "fieldHtmlClass": "mx-auto"
  862. }
  863. ],
  864. "stickyColumn": null,
  865. "innerPageLayout": false
  866. },
  867. "widget": {
  868. "type": "dtl-fluent-columns",
  869. "validationMessages": {}
  870. },
  871. "localizationData": {
  872. "en": {}
  873. }
  874. },
  875. {
  876. "type": "layout",
  877. "widget": {
  878. "type": "dtl-fluent-html",
  879. "validationMessages": {}
  880. },
  881. "config": {
  882. "html": "<div class=\"test-hidden\">Najprv musíte podpísať zmluvu.</div>",
  883. "variables": [
  884. {
  885. "htmlMapping": "test-hidden",
  886. "htmlVariable": "{{!dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()}}"
  887. }
  888. ]
  889. },
  890. "localizationData": {
  891. "en": {}
  892. }
  893. }
  894. ],
  895. "config": {
  896. "tabs": [
  897. {
  898. "priv": null,
  899. "header": "Úkol",
  900. "hidden": false,
  901. "content": [
  902. 0,
  903. 1,
  904. 2,
  905. 3,
  906. 4,
  907. 12,
  908. 15,
  909. 14,
  910. 8
  911. ],
  912. "headerContent": []
  913. },
  914. {
  915. "priv": null,
  916. "header": "Komentáře",
  917. "hidden": false,
  918. "content": [
  919. 5
  920. ],
  921. "headerContent": []
  922. },
  923. {
  924. "priv": null,
  925. "header": "Přílohy",
  926. "hidden": false,
  927. "content": [
  928. 6
  929. ],
  930. "headerContent": []
  931. },
  932. {
  933. "priv": null,
  934. "header": "Notifikace",
  935. "hidden": false,
  936. "content": [
  937. 7
  938. ],
  939. "headerContent": []
  940. },
  941. {
  942. "priv": null,
  943. "header": "Protokol",
  944. "hidden": false,
  945. "content": [
  946. 9
  947. ],
  948. "headerContent": []
  949. },
  950. {
  951. "priv": null,
  952. "header": "Časovač",
  953. "hidden": false,
  954. "content": [
  955. 11,
  956. 10
  957. ],
  958. "headerContent": []
  959. },
  960. {
  961. "priv": null,
  962. "header": "Zmluva",
  963. "hidden": false,
  964. "content": [
  965. 13
  966. ],
  967. "headerContent": []
  968. }
  969. ]
  970. },
  971. "widget": {
  972. "type": "dtl-fluent-tab",
  973. "validationMessages": {}
  974. },
  975. "localizationData": {
  976. "en": {
  977. "config": {
  978. "tabs": [
  979. {
  980. "header": "Task"
  981. },
  982. {
  983. "header": "Comment"
  984. },
  985. {
  986. "header": "Attachment"
  987. },
  988. {
  989. "header": "Notification"
  990. },
  991. {
  992. "header": null
  993. },
  994. {
  995. "header": null
  996. },
  997. {
  998. "header": null
  999. }
  1000. ]
  1001. }
  1002. }
  1003. }
  1004. }
  1005. ],
  1006. "properties": {
  1007. "form": {
  1008. "type": "object",
  1009. "title": "Aktivace TV",
  1010. "config": {
  1011. "formCode": "Ord.Wfm.Task.ModernTvButton"
  1012. },
  1013. "widget": {
  1014. "type": "dtl-fluent-inner-form",
  1015. "notitle": true,
  1016. "validationMessages": {}
  1017. },
  1018. "localizationData": {
  1019. "en": {
  1020. "title": "",
  1021. "widget": {
  1022. "tooltip": ""
  1023. }
  1024. }
  1025. }
  1026. },
  1027. "form1": {
  1028. "type": "object",
  1029. "title": "Form",
  1030. "config": {
  1031. "formCode": "Ord.Wfm.Task.ModernTv"
  1032. },
  1033. "widget": {
  1034. "type": "dtl-fluent-inner-form",
  1035. "notitle": true,
  1036. "validationMessages": {}
  1037. },
  1038. "localizationData": {
  1039. "en": {
  1040. "title": "",
  1041. "widget": {
  1042. "tooltip": ""
  1043. }
  1044. }
  1045. }
  1046. },
  1047. "form2": {
  1048. "type": "object",
  1049. "title": "Form",
  1050. "config": {
  1051. "formCode": "Ord.Wfm.Task.ProvisioningOverview"
  1052. },
  1053. "widget": {
  1054. "type": "dtl-fluent-inner-form",
  1055. "notitle": true,
  1056. "validationMessages": {}
  1057. },
  1058. "localizationData": {
  1059. "en": {
  1060. "title": "",
  1061. "widget": {
  1062. "tooltip": ""
  1063. }
  1064. }
  1065. }
  1066. },
  1067. "switchCard": {
  1068. "type": "boolean",
  1069. "title": "Switch",
  1070. "config": {
  1071. "leftLabel": "Overenie klienta",
  1072. "rightLabel": "Zastúpenie"
  1073. },
  1074. "widget": {
  1075. "type": "switch",
  1076. "notitle": true,
  1077. "fieldHtmlClass": "text-xl flex ml-auto",
  1078. "validationMessages": {}
  1079. },
  1080. "default": false,
  1081. "localizationData": {
  1082. "en": {
  1083. "title": "",
  1084. "widget": {
  1085. "tooltip": ""
  1086. }
  1087. }
  1088. }
  1089. },
  1090. "documentType": {
  1091. "type": "string",
  1092. "title": "Typ dokladu",
  1093. "config": {},
  1094. "widget": {
  1095. "type": "text",
  1096. "hidden": "${getFieldByObject($context.entity.chars,\"documentValidation\") == null}",
  1097. "notitle": true,
  1098. "readonly": true,
  1099. "validationMessages": {}
  1100. },
  1101. "default": "${getFieldByObject($context.entity.chars,\"documentValidation\") == null ? null : $context.entity.chars.documentValidation.validationMessage}",
  1102. "localizationData": {
  1103. "en": {
  1104. "title": "",
  1105. "widget": {
  1106. "tooltip": "",
  1107. "placeholder": ""
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "documentType1": {
  1113. "type": "string",
  1114. "title": "Typ dokladu",
  1115. "config": {},
  1116. "widget": {
  1117. "type": "text",
  1118. "hidden": "${!dms.attachment.find({\"attachmentType\": \"Zmluva\", \"ownerId\":$context.order.id}).isNullOrEmpty()\r\n}",
  1119. "notitle": true,
  1120. "readonly": true,
  1121. "persistent": "Always",
  1122. "labelPosition": "top",
  1123. "fieldHtmlClass": "text-xl text-red-500 text-center font-medium",
  1124. "validationMessages": {}
  1125. },
  1126. "default": "Najprv musíte podpísať zmluvu.",
  1127. "localizationData": {
  1128. "en": {
  1129. "title": "",
  1130. "widget": {
  1131. "tooltip": "",
  1132. "placeholder": ""
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "formZariadenia": {
  1138. "type": "object",
  1139. "title": "Form",
  1140. "config": {
  1141. "formCode": "Ord.Wfm.Task.Zariadenia"
  1142. },
  1143. "widget": {
  1144. "type": "dtl-fluent-inner-form",
  1145. "notitle": true,
  1146. "validationMessages": {}
  1147. },
  1148. "localizationData": {
  1149. "en": {
  1150. "title": "",
  1151. "widget": {
  1152. "tooltip": ""
  1153. }
  1154. }
  1155. }
  1156. },
  1157. "generateDocument": {
  1158. "type": "object",
  1159. "title": "Vygenerovat smlouvu",
  1160. "config": {
  1161. "formId": "019a2594-04c2-77fc-a10b-88c23d12421b",
  1162. "ownerId": "${$context.order.id}",
  1163. "fileName": "${$context.entity.name.replace(\"[Predajca]Podpis/ Nahranie zmluvy - \", \"\").replace(\".pdf\",\"\") + \" podepsano\"}",
  1164. "formData": "${createObject(\r\n [\"orderId\", \"signaturePadCustomer\", \"signaturePadSales\"],\r\n [$context.order.id, $value.signaturePadCustomer, $value.signaturePadSales]\r\n);\r\n}",
  1165. "ownerType": "Order",
  1166. "scriptData": "${{\"orderId\": $context.order.id}\r\n}",
  1167. "spelScript": "Order.Aktivacia.Context.Zmluva2",
  1168. "attachmentType": "Zmluva",
  1169. "buttonAppearance": "p-button p-button-outlined",
  1170. "previewProtocolButton": "Zobrazit dokument k podpisu",
  1171. "refreshProtocolButton": "Podpisat",
  1172. "generateProtocolButton": "Vygenerovat smlouvu",
  1173. "formatterDocumentTemplate": "Pokusy.Zmluva.Test"
  1174. },
  1175. "widget": {
  1176. "type": "tsm-generate-protocol",
  1177. "notitle": true,
  1178. "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}",
  1179. "persistent": "Never",
  1180. "validationMessages": {}
  1181. },
  1182. "localizationData": {
  1183. "en": {
  1184. "title": "",
  1185. "widget": {
  1186. "tooltip": ""
  1187. }
  1188. }
  1189. }
  1190. },
  1191. "generatedProtocol": {
  1192. "type": "object",
  1193. "title": "Generování protokolu",
  1194. "config": {
  1195. "formId": "019817da-230b-73b9-8fb9-f99fb1a5e65f",
  1196. "ownerId": "${$context.order.id}",
  1197. "fileName": "${$context.entity.name.replace(\"Protokol / Prebirací k zmluve o poskytovaní VDEKSk zmluve VDEX\", \"\").replace(\".pdf\",\"\") + \" podepsano\"}",
  1198. "formData": "${createObject([\"signaturePadCustomer\", \"SignaturePadTechnician\",\"Zakaznik.DodaciaAdresa.Obec\"], [$value.signaturePadCustomer, $value.signaturePadTechnician, $context.entity.chars.taskAdress.city])\r\n}",
  1199. "ownerType": "Order",
  1200. "attachmentType": "PreberaciProtokol",
  1201. "previewProtocolButton": "Náhled protokolu",
  1202. "generateProtocolButton": "Podpisat",
  1203. "formatterDocumentTemplate": "Dokument.Retail.Order.Rs.Sv.021.OdovzdovaciAPrebiraciProtokolKZmluveVdeks"
  1204. },
  1205. "widget": {
  1206. "type": "tsm-generate-protocol",
  1207. "notitle": true,
  1208. "persistent": "Never",
  1209. "validationMessages": {}
  1210. },
  1211. "localizationData": {
  1212. "en": {
  1213. "title": "",
  1214. "widget": {
  1215. "tooltip": ""
  1216. }
  1217. }
  1218. }
  1219. }
  1220. }
  1221. }
Advertisement
Add Comment
Please, Sign In to add comment