odant-work 1.0.62 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/#system/package-manifest.json +141 -109
  2. package/$server/$folder/$class/$structure/handlers/pages/form/gantt/$handler/class.js +27 -0
  3. package/$server/$folder/$class/$structure/handlers/pages/form/gantt/$handler/gantt.js +293 -0
  4. package/$server/$folder/$class/$structure/handlers/pages/form/scheduler/$handler/class.js +27 -0
  5. package/$server/$folder/$class/$structure/handlers/pages/form/scheduler/$handler/scheduler.js +234 -0
  6. package/$server/$folder/$class/$structure/handlers/pages/form/staff/$handler/staff.js +119 -0
  7. package/$server/$folder/$class/handlers/pages/form/object/$handler/class.js +6 -1
  8. package/$server/$folder/$class/handlers/pages/form/objects/$handler/class.js +8 -2
  9. package/$server/$folder/handlers/pages/form/$handler/form.js +44 -1
  10. package/$server/$folder/lib/explorer/explorer.js +29 -0
  11. package/MODULES/Geo/$module/readme.md +6 -4
  12. package/MODULES/Geo//320/223/320/265/320/276/321/202/320/276/321/207/320/272/320/270/$catalog/class.js +12 -3
  13. package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/class.js +11 -0
  14. package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/class.js +25 -0
  15. package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/map.js +623 -0
  16. package/MODULES/Geo//320/232/320/276/320/276/321/200/320/264/320/270/320/275/320/260/321/202/321/213/$struct/class.js +1 -0
  17. package/MODULES/Geo//320/250/320/265/320/271/320/277/$struct/class.js +17 -0
  18. package/MODULES/KLADR/$module/$folder/$class/$catalog/class.js +12 -0
  19. package/MODULES/KLADR/$module/class.js +4 -0
  20. package/MODULES/KLADR/$module/handlers/pages/form/kladr/$handler/class.js +7 -0
  21. package/MODULES/KLADR/$module/handlers/pages/form/kladr/$handler/kladr.js +134 -0
  22. package/MODULES/KLADR/$module/readme.md +10 -0
  23. package/MODULES/KLADR//320/235/320/260/321/201/320/265/320/273/321/221/320/275/320/275/321/213/320/265 /320/277/321/203/320/275/320/272/321/202/321/213/$catalog/class.js" +14 -0
  24. package/MODULES/KLADR//320/237/320/276/320/264/321/200/320/260/320/267/320/264/320/265/320/273/320/265/320/275/320/270/321/217 /320/234/320/222/320/224/$catalog/class.js" +13 -0
  25. package/MODULES/KLADR//320/240/320/265/320/263/320/270/320/276/320/275/321/213/$catalog/class.js +14 -0
  26. package/MODULES/KLADR//320/243/320/273/320/270/321/206/321/213/$catalog/class.js +13 -0
  27. package/MODULES/Process/$module/$folder/$class/$catalog/class.js +7 -0
  28. package/MODULES/Process/$module/class.js +4 -0
  29. package/MODULES/Process/$module/readme.md +7 -0
  30. package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/class.js" +29 -0
  31. package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/gantt/$handler/class.js" +7 -0
  32. package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/gantt/$handler/gantt.js" +1 -0
  33. package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/scheduler/$handler/class.js" +7 -0
  34. package/MODULES/Process//320/227/320/260/320/264/320/260/321/207/320/270 /320/270 /321/215/321/202/320/260/320/277/321/213/$catalog/handlers/pages/form/scheduler/$handler/scheduler.js" +1 -0
  35. package/MODULES/Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/class.js" +18 -0
  36. package/MODULES/Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/handlers/pages/form/bpmn/$handler/bpmn.js" +406 -0
  37. package/MODULES/Process//320/241/321/205/320/265/320/274/321/213 /320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/320/262/$catalog/handlers/pages/form/bpmn/$handler/class.js" +19 -0
  38. package/MODULES/Register/$module/readme.md +3 -3
  39. package/MODULES/Register/CATALOGS/$catalog/class.js +1 -6
  40. package/MODULES/Register/CATALOGS/$catalog/readme.md +1 -1
  41. package/MODULES/Register/CATALOGS//320/222/320/270/320/264/321/213 /320/275/320/276/321/200/320/274/320/260/321/202/320/270/320/262/320/276/320/262/$catalog/class.js" +11 -4
  42. package/MODULES/Register/CATALOGS//320/224/320/276/320/263/320/276/320/262/320/276/321/200/321/213/$catalog/class.js +21 -19
  43. package/MODULES/Register/CATALOGS//320/224/320/276/320/273/320/266/320/275/320/276/321/201/321/202/320/270/$catalog/class.js +1 -1
  44. package/MODULES/Register/CATALOGS//320/232/320/273/320/270/320/265/320/275/321/202/321/213/$virtual/class.js +11 -10
  45. package/MODULES/Register/CATALOGS//320/235/320/276/320/274/320/265/320/275/320/272/320/273/320/260/321/202/321/203/321/200/320/260/$catalog/class.js +24 -13
  46. package/MODULES/Register/CATALOGS//320/237/320/260/321/200/321/202/320/270/320/270/$catalog/class.js +13 -13
  47. package/MODULES/Register/CATALOGS//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/270/$virtual/class.js +9 -8
  48. package/MODULES/Register/CATALOGS//320/241/320/272/320/273/320/260/320/264/321/213/$catalog/class.js +17 -0
  49. package/MODULES/Register/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270/$virtual/class.js +11 -9
  50. package/MODULES/Register/CATALOGS//320/241/320/276/321/202/321/200/321/203/320/264/320/275/320/270/320/272/320/270//320/222 /320/276/321/202/320/277/321/203/321/201/320/272/320/265/$virtual/class.js" +1 -1
  51. package/MODULES/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213/$catalog/class.js +13 -11
  52. package/MODULES/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/230/320/237/$catalog/class.js +4 -6
  53. package/MODULES/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/244/320/270/320/267. /320/273/320/270/321/206/320/260/$catalog/class.js" +12 -11
  54. package/MODULES/Register/CATALOGS//320/241/321/203/320/261/321/212/320/265/320/272/321/202/321/213//320/256/321/200. /320/273/320/270/321/206/320/260/$catalog/class.js" +15 -14
  55. package/MODULES/Register/CATALOGS//320/242/321/200/320/260/320/275/321/201/320/277/320/276/321/200/321/202/$catalog/class.js +19 -18
  56. package/MODULES/Register/OPERATIONS/$operation/class.js +1 -1
  57. package/MODULES/Register/OPERATIONS/$operation/readme.md +1 -1
  58. package/MODULES/Register/OPERATIONS//320/224/320/276/321/201/321/202/320/260/320/262/320/272/320/260/$operation/class.js +22 -21
  59. package/MODULES/Register/OPERATIONS//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js +48 -47
  60. package/MODULES/Register/OPERATIONS//320/230/320/275/320/262/320/265/320/275/321/202/320/260/321/200/320/270/320/267/320/260/321/206/320/270/321/217/$operation/class.js +46 -45
  61. package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213/$operation/class.js +1 -1
  62. package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/236/321/202/320/277/321/200/320/260/320/262/320/270/321/202/321/214 /320/262 /320/276/321/202/320/277/321/203/321/201/320/272/$operation/class.js" +1 -1
  63. package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213//320/237/321/200/320/270/321/221/320/274 /320/275/320/260 /321/200/320/260/320/261/320/276/321/202/321/203/$operation/class.js" +18 -14
  64. package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260/$operation/class.js +1 -1
  65. package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/220/320/262/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /320/276/321/202/321/207/321/221/321/202/$operation/class.js" +1 -1
  66. package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/237/320/232/320/236/$operation/class.js +3 -3
  67. package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260//320/240/320/232/320/236/$operation/class.js +1 -1
  68. package/MODULES/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$operation/class.js +1 -1
  69. package/MODULES/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/227/320/262/320/276/320/275/320/276/320/272/$operation/class.js +2 -2
  70. package/MODULES/Register/OPERATIONS//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270//320/237/320/270/321/201/321/214/320/274/320/276/$operation/class.js +1 -1
  71. package/MODULES/Register/OPERATIONS//320/{244/320/260/321/201/320/276/320/262/320/272/320/260 → 232/320/276/320/274/320/277/320/273/320/265/320/272/321/202/320/260/321/206/320/270/321/217}/$operation/class.js +52 -57
  72. package/MODULES/Register/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/235/320/260/321/207/320/270/321/201/320/273/320/265/320/275/320/270/320/265 /320/260/320/274/320/276/321/200/321/202/320/270/320/267/320/260/321/206/320/270/320/270/$operation/class.js" +2 -2
  73. package/MODULES/Register/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/320/265 /320/236/320/241/$operation/class.js" +7 -6
  74. package/MODULES/Register/OPERATIONS//320/236/321/201/320/275/320/276/320/262/320/275/321/213/320/265 /321/201/321/200/320/265/320/264/321/201/321/202/320/262/320/260//320/237/321/200/320/270/320/275/321/217/321/202/320/270/320/265 /320/272 /321/203/321/207/321/221/321/202/321/203 /320/236/320/241/$operation/class.js" +2 -2
  75. package/MODULES/Register/OPERATIONS//320/237/320/265/321/200/320/265/320/274/320/265/321/211/320/265/320/275/320/270/320/265/$operation/class.js +41 -40
  76. package/MODULES/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260/$operation/class.js" +1 -1
  77. package/MODULES/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/227/320/260/321/200/320/277/320/273/320/260/321/202/320/260/$operation/class.js" +1 -1
  78. package/MODULES/Register/OPERATIONS//320/237/320/273/320/260/321/202/320/265/320/266/320/270 /321/201 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/320/276/320/263/320/276 /321/201/321/207/321/221/321/202/320/260//320/237/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/321/203/$operation/class.js" +11 -10
  79. package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/320/265 /321/202/320/276/320/262/320/260/321/200/320/260/$operation/class.js" +45 -46
  80. package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202/$operation/class.js" +1 -1
  81. package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/321/201/321/202/320/260/320/262/321/211/320/270/320/272/320/260/$operation/class.js" +11 -10
  82. package/MODULES/Register/OPERATIONS//320/237/320/276/321/201/321/202/321/203/320/277/320/273/320/265/320/275/320/270/321/217 /320/275/320/260 /321/200/320/260/321/201/321/207/321/221/321/202/320/275/321/213/320/271 /321/201/321/207/321/221/321/202//320/236/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +11 -10
  83. package/MODULES/Register/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/222/321/213/320/277/321/203/321/201/320/272 /320/263/320/276/321/202/320/276/320/262/320/276/320/271 /320/277/321/200/320/276/320/264/321/203/320/272/321/206/320/270/320/270/$operation/class.js" +4 -4
  84. package/MODULES/Register/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/237/320/265/321/200/320/265/320/264/320/260/321/207/320/260 /320/274/320/260/321/202/320/265/321/200/320/270/320/260/320/273/320/276/320/262 /320/262 /320/277/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276/$operation/class.js" +5 -4
  85. package/MODULES/Register/OPERATIONS//320/237/321/200/320/276/320/270/320/267/320/262/320/276/320/264/321/201/321/202/320/262/320/276//320/241/320/277/320/270/321/201/320/260/320/275/320/270/320/265 /320/276/320/261/321/211/320/265/321/205/320/276/320/267/321/217/320/271/321/201/321/202/320/262/320/265/320/275/320/275/321/213/321/205 /320/267/320/260/321/202/321/200/320/260/321/202/$operation/class.js" +6 -6
  86. package/MODULES/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217/$operation/class.js +26 -25
  87. package/MODULES/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/222/320/276/320/267/320/262/321/200/320/260/321/202 /320/276/321/202 /320/277/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/217/$operation/class.js" +32 -31
  88. package/MODULES/Register/OPERATIONS//320/240/320/265/320/260/320/273/320/270/320/267/320/260/321/206/320/270/321/217//320/237/320/276/320/272/321/203/320/277/320/260/321/202/320/265/320/273/321/216/$operation/class.js +32 -31
  89. package/MODULES/Register/OPERATIONS//320/241/320/277/320/270/321/201/320/260/320/275/320/270/320/265 /320/242/320/234/320/246/$operation/class.js" +28 -0
  90. package/MODULES/Register/OPERATIONS//320/243/321/201/321/202/320/260/320/275/320/276/320/262/320/272/320/260 /320/275/320/276/321/200/320/274/320/260/321/202/320/270/320/262/320/260/$operation/class.js" +3 -3
  91. package/MODULES/Register/OPERATIONS//320/244/320/270/320/275/320/260/320/275/321/201/320/276/320/262/321/213/320/271 /321/200/320/265/320/267/321/203/320/273/321/214/321/202/320/260/321/202//320/227/320/260/320/272/321/200/321/213/321/202/320/270/320/265 /320/274/320/265/321/201/321/217/321/206/320/260/$operation/class.js" +1 -1
  92. package/MODULES/Register/REGISTER/$register/$folder/$class/$account/class.js +1 -1
  93. package/MODULES/Register/REGISTER/$register/$folder/$class/$account/readme.md +1 -1
  94. package/MODULES/Register/REGISTER/$register/readme.md +1 -1
  95. package/MODULES/Register/REGISTER/01/$account/class.js +1 -1
  96. package/MODULES/Register/REGISTER/02/$account/class.js +1 -1
  97. package/MODULES/Register/REGISTER/04/$account/class.js +1 -1
  98. package/MODULES/Register/REGISTER/08/$account/class.js +1 -1
  99. package/MODULES/Register/REGISTER/10/$account/class.js +23 -1
  100. package/MODULES/Register/REGISTER/10/01/$account/class.js +1 -1
  101. package/MODULES/Register/REGISTER/10/05/$account/class.js +1 -1
  102. package/MODULES/Register/REGISTER/41/$account/class.js +25 -24
  103. package/MODULES/Register/REGISTER/43/$account/class.js +2 -2
  104. package/MODULES/Register/REGISTER/44/$account/class.js +1 -1
  105. package/MODULES/Register/REGISTER/60/$account/class.js +24 -15
  106. package/MODULES/Register/REGISTER/62/$account/class.js +24 -15
  107. package/MODULES/Register/REGISTER/67/$account/class.js +1 -0
  108. package/MODULES/Register/REGISTER/70/$account/class.js +1 -1
  109. package/MODULES/Register/REGISTER/71/$account/class.js +1 -1
  110. package/MODULES/Register/REGISTER/73/$account/class.js +1 -1
  111. package/MODULES/Register/REGISTER/76/$account/class.js +1 -1
  112. package/MODULES/Register/REGISTER/90/01/$account/class.js +1 -1
  113. package/MODULES/Register/REGISTER/90/02/$account/class.js +1 -1
  114. package/MODULES/Register/REGISTER/90/03/$account/class.js +1 -1
  115. package/MODULES/Register/REGISTER/91/$account/class.js +1 -1
  116. package/MODULES/Register/REGISTER/94/$account/class.js +24 -23
  117. package/MODULES/Register/REGISTER//320/232/320/260/320/264/321/200/321/213/$account/class.js +1 -1
  118. package/MODULES/Register/REGISTER//320/232/320/276/320/274/320/274/321/203/320/275/320/270/320/272/320/260/321/206/320/270/320/270/$account/class.js +1 -1
  119. package/MODULES/Register/REGISTER//320/235/320/276/321/200/320/274/320/260/321/202/320/270/320/262/321/213/$account/class.js +2 -2
  120. package/MODULES/Register/STRUCTS//320/220/320/264/321/200/320/265/321/201/$struct/class.js +14 -11
  121. package/MODULES/Register/STRUCTS//320/225/320/264/320/270/320/275/320/270/321/206/320/260 /320/270/320/267/320/274/320/265/321/200/320/265/320/275/320/270/321/217/$struct/class.js" +11 -11
  122. package/MODULES/Register/STRUCTS//320/237/320/260/321/201/320/277/320/276/321/200/321/202/$struct/class.js +14 -11
  123. package/MODULES/Register/STRUCTS//320/244/320/230/320/236/$struct/class.js +16 -0
  124. package/package.json +1 -1
  125. package/scripts/check-ignored-code.mjs +1 -1
  126. package/scripts/demo-seed.mjs +7 -5
  127. package/sources/client.js +6 -1
  128. package/sources/data/fio.js +355 -0
  129. package/sources/data/objects.js +11 -1
  130. package/sources/data/print.js +29 -3
  131. package/sources/data/schema.js +16 -4
  132. package/sources/host/auth-methods.js +34 -2
  133. package/sources/modules/kladr/index.js +336 -0
  134. package/sources/modules/user-profile/user-profile.js +40 -2
  135. package/sources/server/access/gateway.js +6 -0
  136. package/sources/server/access/invites.js +416 -0
  137. package/sources/server/class/base-template.js +94 -61
  138. package/sources/server/class.js +22 -0
  139. package/sources/server/folder.js +72 -6
  140. package/$server/$folder/$class/$structure/$server/handlers/methods/npm/$handler/class.js +0 -16
  141. package/$server/$folder/$class/ai/progress.md +0 -33
  142. package/$server/$folder/$file/$task/progress.md +0 -20
  143. package/$server/$folder/handlers/methods/create/progress.md +0 -15
  144. package/$server/$folder/lib/dot/progress.md +0 -15
  145. package/$server/$folder/lib/menu/progress.md +0 -13
  146. package/$server/$folder/lib/node/progress.md +0 -13
  147. package/$server/$folder/lib/prompt-bar/progress.md +0 -13
  148. package/$server/$folder/lib/tree/progress.md +0 -16
  149. package/.cursor/rules/work.mdc +0 -8
  150. package/.cursorrules +0 -2
  151. package/MODULES/Register/CATALOGS//320/241/320/272/320/273/320/260/320/264/321/213 /320/270 /321/200/320/265/320/267/320/265/321/200/320/262/321/203/320/260/321/200/321/213/$catalog/class.js" +0 -17
  152. package/MODULES/Register/OPERATIONS//320/225/321/201/321/202/320/265/321/201/321/202/320/262/320/265/320/275/320/275/320/260/321/217 /321/203/320/261/321/213/320/273/321/214/$operation/class.js" +0 -21
  153. package/NODES/teewtew/$node/class.js +0 -3
  154. package/NODES/work.odant.org/$node/class.js +0 -4
  155. package/config.json +0 -1
  156. package/eslint.config.js +0 -51
  157. package/jsconfig.json +0 -37
  158. package/oda/components/packets/progress.md +0 -29
  159. package/oda/progress.md +0 -29
  160. package/opencode.json +0 -9
  161. package/progress.md +0 -13
  162. package/publish.cmd +0 -2
  163. package/sources/data/progress.md +0 -792
  164. package/sources/host/progress.md +0 -14
@@ -1,8 +1,9 @@
1
- export default {
2
1
  label: 'Поставщики',
3
- icon: 'carbon:delivery-truck',
4
- SOURCE: { registry: '/MODULES/Register/CATALOGS/Субъекты', account: '/MODULES/Register/REGISTER/60', slot: 'counterparty' },
5
- OVERLAY: [
6
- { id: 'payment_days', label: 'Отсрочка платежа, дней', type: 'Integer' },
7
- { id: 'comment', label: 'Комментарий', type: 'Text' },
8
- ],
9
- }
2
+ export default {
3
+ label: 'Поставщики',
4
+ icon: 'carbon:delivery-truck',
5
+ SOURCE: { registry: '/MODULES/Register/CATALOGS/Субъекты', account: '/MODULES/Register/REGISTER/60', slot: 'counterparty' },
6
+ OVERLAY: [
7
+ { id: 'payment_days', label: 'Отсрочка платежа, дней', type: 'integer' },
8
+ { id: 'comment', label: 'Комментарий', type: 'text' },
9
+ ],
10
+ }
@@ -0,0 +1,17 @@
1
+ export default {
2
+ label: 'Склады',
3
+ icon: 'carbon:store',
4
+ types: ['/MODULES/Geo/Карта'],
5
+ METADATA: {
6
+ FIELDS: [
7
+ {
8
+ id: 'kind',
9
+ label: 'Вид',
10
+ type: 'enum',
11
+ values: ['Склад', 'Офис', 'Магазин', 'Производство', 'Площадка'],
12
+ required: true,
13
+ },
14
+ { id: 'address', label: 'Адрес', type: '/MODULES/Register/STRUCTS/Адрес' },
15
+ ],
16
+ },
17
+ }
@@ -1,9 +1,11 @@
1
- export default {
2
1
  label: 'Сотрудники',
3
- icon: 'carbon:user-role',
4
- SOURCE: { registry: '/MODULES/Register/CATALOGS/Субъекты/Физ. лица', account: '/MODULES/Register/REGISTER/Кадры', slot: 'person' },
5
- OVERLAY: [
6
- { id: 'position', label: 'Должность' },
7
- { id: 'salary', label: 'Оклад', type: 'Money' },
8
- { id: 'personnel_number', label: 'Табельный номер' },
9
- ],
10
- }
2
+ export default {
3
+ label: 'Сотрудники',
4
+ icon: 'carbon:user-role',
5
+ SOURCE: { registry: '/MODULES/Register/CATALOGS/Субъекты/Физ. лица', account: '/MODULES/Register/REGISTER/Кадры', slot: 'person' },
6
+ OVERLAY: [
7
+ { id: 'position', label: 'Должность', type: 'link', target: '/MODULES/Register/CATALOGS/Должности' },
8
+ { id: 'salary', label: 'Оклад', type: 'money' },
9
+ { id: 'personnel_number', label: 'Табельный номер', type: 'string' },
10
+ { id: 'hire_date', label: 'Дата приёма', type: 'date' },
11
+ ],
12
+ }
@@ -2,5 +2,5 @@ export default {
2
2
  label: 'В отпуске',
3
3
  icon: 'carbon:user-activity',
4
4
  SOURCE: { account: '/MODULES/Register/REGISTER/Кадры/В отпуске' },
5
- OVERLAY: [{ id: 'until', label: 'Отпуск до', type: 'Date' }],
5
+ OVERLAY: [{ id: 'until', label: 'Отпуск до', type: 'date' }],
6
6
  }
@@ -1,11 +1,13 @@
1
- export default {
2
1
  label: 'Субъекты',
3
- icon: 'carbon:user-multiple',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'phone', label: 'Телефон' },
7
- { id: 'email', label: 'E-mail' },
8
- { id: 'address', label: 'Адрес', type: 'Text' },
9
- { id: 'comment', label: 'Комментарий', type: 'Text' },
10
- ],
11
- },
12
- }
2
+ export default {
3
+ label: 'Субъекты',
4
+ icon: 'carbon:user-multiple',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'phone', label: 'Телефон', type: 'string' },
8
+ { id: 'email', label: 'E-mail', type: 'string' },
9
+ { id: 'legal_address', label: 'Юридический адрес / Адрес регистрации', type: '/MODULES/Register/STRUCTS/Адрес' },
10
+ { id: 'actual_address', label: 'Фактический адрес', type: '/MODULES/Register/STRUCTS/Адрес' },
11
+ { id: 'comment', label: 'Комментарий', type: 'text' },
12
+ ],
13
+ },
14
+ }
@@ -3,12 +3,10 @@ export default {
3
3
  icon: 'carbon:user-avatar',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'inn', label: 'ИНН', required: true },
7
- { id: 'ogrnip', label: 'ОГРНИП' },
8
- { id: 'bank', label: 'Банк' },
9
- { id: 'bik', label: 'БИК' },
10
- { id: 'account', label: 'Р/с' },
11
- { id: 'corr', label: 'К/с' },
6
+ { id: 'fio', label: 'ФИО предпринимателя', type: '/MODULES/Register/STRUCTS/ФИО' },
7
+ { id: 'inn', label: 'ИНН', type: 'string', required: true },
8
+ { id: 'ogrnip', label: 'ОГРНИП', type: 'string' },
9
+ { id: 'bank_accounts', label: 'Банковские счета', type: '/MODULES/Register/STRUCTS/Банковский счёт', table: true },
12
10
  ],
13
11
  },
14
12
  }
@@ -1,11 +1,12 @@
1
- export default {
2
- label: 'Физ. лица',
3
- icon: 'carbon:user',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'snils', label: 'СНИЛС', type: 'string' },
7
- { id: 'position', label: 'Должность', type: 'string' },
8
- { id: 'passport', label: 'Паспорт', type: '/MODULES/Register/STRUCTS/Паспорт' },
9
- ],
10
- },
11
- }
1
+ export default {
2
+ label: 'Физ. лица',
3
+ icon: 'carbon:user',
4
+ METADATA: {
5
+ FIELDS: [
6
+ { id: 'fio', label: 'ФИО', type: '/MODULES/Register/STRUCTS/ФИО' },
7
+ { id: 'snils', label: 'СНИЛС', type: 'string' },
8
+ { id: 'inn', label: 'ИНН', type: 'string' },
9
+ { id: 'passport', label: 'Паспорт', type: '/MODULES/Register/STRUCTS/Паспорт' },
10
+ ],
11
+ },
12
+ }
@@ -1,14 +1,15 @@
1
- export default {
2
1
  label: 'Юр. лица',
3
- icon: 'carbon:building',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'inn', label: 'ИНН', required: true },
7
- { id: 'kpp', label: 'КПП' },
8
- { id: 'ogrn', label: 'ОГРН' },
9
- { id: 'bank', label: 'Банк' },
10
- { id: 'bik', label: 'БИК' },
11
- { id: 'account', label: 'Р/с' },
12
- { id: 'corr', label: 'К/с' },
13
- ],
14
- },
15
- }
2
+ export default {
3
+ label: 'Юр. лица',
4
+ icon: 'carbon:building',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'full_name', label: 'Полное наименование', type: 'string' },
8
+ { id: 'inn', label: 'ИНН', type: 'string', required: true },
9
+ { id: 'kpp', label: 'КПП', type: 'string' },
10
+ { id: 'ogrn', label: 'ОГРН', type: 'string' },
11
+ { id: 'okpo', label: 'ОКПО', type: 'string' },
12
+ { id: 'ceo', label: 'Руководитель', type: '/MODULES/Register/STRUCTS/ФИО' },
13
+ { id: 'bank_accounts', label: 'Банковские счета', type: '/MODULES/Register/STRUCTS/Банковский счёт', table: true },
14
+ ],
15
+ },
16
+ }
@@ -1,18 +1,19 @@
1
- export default {
2
1
  label: 'Транспорт',
3
- icon: 'carbon:delivery',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'plate', label: 'Госномер', required: true },
7
- {
8
- id: 'kind',
9
- label: 'Вид',
10
- type: 'Enum',
11
- values: ['Бензовоз', 'Фургон', 'Легковой'],
12
- required: true,
13
- },
14
- { id: 'capacity', label: 'Грузоподъёмность, л', type: 'Number' },
15
- { id: 'driver', label: 'Водитель', type: 'Link', target: '/MODULES/Register/CATALOGS/Сотрудники' },
16
- { id: 'fuel', label: 'Топливо', type: 'Link', target: '/MODULES/Register/CATALOGS/Номенклатура' },
17
- ],
18
- },
19
- }
2
+ export default {
3
+ label: 'Транспорт',
4
+ icon: 'carbon:delivery',
5
+ types: ['/MODULES/Geo/Карта'],
6
+ METADATA: {
7
+ FIELDS: [
8
+ { id: 'plate', label: 'Госномер', type: 'string', required: true },
9
+ {
10
+ id: 'kind',
11
+ label: 'Вид',
12
+ type: 'enum',
13
+ values: ['Легковой', 'Фургон', 'Грузовой', 'Спецтехника'],
14
+ required: true,
15
+ },
16
+ { id: 'payload_kg', label: 'Грузоподъёмность, кг', type: 'number' },
17
+ { id: 'driver', label: 'Водитель', type: 'link', target: '/MODULES/Register/CATALOGS/Сотрудники' },
18
+ ],
19
+ },
20
+ }
@@ -11,6 +11,6 @@ export default {
11
11
  prefix: '',
12
12
  },
13
13
  METADATA: {
14
- FIELDS: [{ id: 'comment', label: 'Комментарий', type: 'Text' }]
14
+ FIELDS: [{ id: 'comment', label: 'Комментарий', type: 'text' }]
15
15
  }
16
16
  }
@@ -11,7 +11,7 @@
11
11
  ## 3. Как это работает
12
12
 
13
13
  1. Корень `OPERATIONS` — базовый класс `$operation`; дочерние классы образуют иерархию видов операций (например `Платежи/С расчётного счёта/Оплата поставщику`, `Реализация/Покупателю`, `Складские/Поступление товара`).
14
- 2. **Поля (`METADATA.FIELDS`):** наследуются сверху вниз по дереву операций. Ссылки на справочники — `type: 'Link'`, `catalog: '<путь к $catalog или $virtual>'`; составные структуры — ссылка на `$struct`; табличные части — признак `table: true` (например строки накладной).
14
+ 2. **Поля (`METADATA.FIELDS`):** наследуются сверху вниз по дереву операций. Ссылки на справочники — `type: 'link'`, `target: '<путь к $catalog или $virtual>'`; составные структуры — ссылка на `$struct`; табличные части — признак `table: true` (например строки накладной).
15
15
  3. **Правила проводок (`METADATA.POSTINGS`):** наследуются и уточняются по `id` от корня к листу. Конечный класс-лист обязан определить оба счёта (`debit.account` и `credit.account` — конечные счета-листья `$account`) каждого правила.
16
16
  - Ключи правила: `each` (имя табличной части для построчного проведения, в формулах доступна переменная `row`), `when` (условие срабатывания), `amount` (формула суммы в рублях), `qty`/`unit`/`item` (количество с автопересчётом в базовую единицу номенклатуры), `qty2`, `debit: { account, analytics }`, `credit: { account, analytics }`.
17
17
  - В формулах доступны функции `norm(вид, объект?, поУмолчанию?)`, `coef(номенклатура, единица)` и `unit_cost(счёт, номенклатура, склад?, партия?, поУмолчанию?)` (себестоимость по скользящей средней).
@@ -1,21 +1,22 @@
1
- export default {
2
1
  label: 'Доставка',
3
- icon: 'carbon:delivery',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'client', label: 'Покупатель', type: 'Link', target: '/MODULES/Register/CATALOGS/Клиенты', required: true },
7
- { id: 'vehicle', label: 'Транспорт', type: 'Link', target: '/MODULES/Register/CATALOGS/Транспорт', required: true },
8
- { id: 'distance', label: 'Пробег, км', type: 'Number', required: true },
9
- { id: 'fuel', label: 'Топливо', type: 'Link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
10
- { id: 'fuel_storage', label: 'Склад ГСМ', type: 'Link', target: '/MODULES/Register/CATALOGS/Склады и резервуары', required: true },
11
- ],
12
- POSTINGS: [
13
- {
14
- id: 'fuel',
15
- amount: "round(distance * norm('Расход топлива, л/км', vehicle) * unit_cost('/MODULES/Register/REGISTER/41', fuel, fuel_storage, '', norm('Учётная цена топлива', fuel)), 2)",
16
- qty: "round(distance * norm('Расход топлива, л/км', vehicle), 3)",
17
- debit: { account: '/MODULES/Register/REGISTER/44', analytics: { vehicle: 'vehicle' } },
18
- credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'fuel', storage: 'fuel_storage', batch: "''" } },
19
- },
20
- ],
21
- },
22
- }
2
+ export default {
3
+ label: 'Доставка / Путевой лист',
4
+ icon: 'carbon:delivery',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'client', label: 'Покупатель / Получатель', type: 'link', target: '/MODULES/Register/CATALOGS/Клиенты', required: true },
8
+ { id: 'vehicle', label: 'Транспорт', type: 'link', target: '/MODULES/Register/CATALOGS/Транспорт', required: true },
9
+ { id: 'distance', label: 'Пробег, км', type: 'number', required: true },
10
+ { id: 'fuel', label: 'Топливо', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
11
+ { id: 'fuel_storage', label: 'Склад списания', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
12
+ ],
13
+ POSTINGS: [
14
+ {
15
+ id: 'fuel',
16
+ amount: "round(distance * norm('Расход топлива, л/км', vehicle) * unit_cost('/MODULES/Register/REGISTER/41', fuel, fuel_storage, '', norm('Учётная цена топлива', fuel)), 2)",
17
+ qty: "round(distance * norm('Расход топлива, л/км', vehicle), 3)",
18
+ debit: { account: '/MODULES/Register/REGISTER/44', analytics: { vehicle: 'vehicle' } },
19
+ credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'fuel', storage: 'fuel_storage', batch: "''" } },
20
+ },
21
+ ],
22
+ },
23
+ }
@@ -1,47 +1,48 @@
1
- export default {
2
1
  label: 'Начисление зарплаты',
3
- icon: 'carbon:calculator',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'period', label: 'За месяц', type: 'Date' },
7
- {
8
- id: 'staff',
9
- label: 'Сотрудники',
10
- type: 'Table',
11
- required: true,
12
- FIELDS: [
13
- {
14
- id: 'employee',
15
- label: 'Сотрудник',
16
- type: 'Link',
17
- target: '/MODULES/Register/CATALOGS/Сотрудники',
18
- required: true,
19
- },
20
- { id: 'sum', label: 'Начислено', type: 'Money', required: true },
21
- ],
22
- },
23
- ],
24
- POSTINGS: [
25
- {
26
- id: 'accrual',
27
- each: 'staff',
28
- amount: 'row.sum',
29
- debit: { account: '/MODULES/Register/REGISTER/26' },
30
- credit: { account: '/MODULES/Register/REGISTER/70', analytics: { employee: 'row.employee' } },
31
- },
32
- {
33
- id: 'contributions',
34
- each: 'staff',
35
- amount: "round(row.sum * norm('Ставка страховых взносов'), 2)",
36
- debit: { account: '/MODULES/Register/REGISTER/26' },
37
- credit: { account: '/MODULES/Register/REGISTER/69' },
38
- },
39
- {
40
- id: 'ndfl',
41
- each: 'staff',
42
- amount: "round(row.sum * norm('Ставка НДФЛ'), 2)",
43
- debit: { account: '/MODULES/Register/REGISTER/70', analytics: { employee: 'row.employee' } },
44
- credit: { account: '/MODULES/Register/REGISTER/68/01' },
45
- },
46
- ],
47
- },
48
- }
2
+ export default {
3
+ label: 'Начисление зарплаты',
4
+ icon: 'carbon:calculator',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'period', label: 'За месяц', type: 'date' },
8
+ {
9
+ id: 'staff',
10
+ label: 'Сотрудники',
11
+ table: true,
12
+ required: true,
13
+ FIELDS: [
14
+ {
15
+ id: 'employee',
16
+ label: 'Сотрудник',
17
+ type: 'link',
18
+ target: '/MODULES/Register/CATALOGS/Сотрудники',
19
+ required: true,
20
+ },
21
+ { id: 'sum', label: 'Начислено', type: 'money', required: true },
22
+ ],
23
+ },
24
+ ],
25
+ POSTINGS: [
26
+ {
27
+ id: 'accrual',
28
+ each: 'staff',
29
+ amount: 'row.sum',
30
+ debit: { account: '/MODULES/Register/REGISTER/26' },
31
+ credit: { account: '/MODULES/Register/REGISTER/70', analytics: { employee: 'row.employee' } },
32
+ },
33
+ {
34
+ id: 'contributions',
35
+ each: 'staff',
36
+ amount: "round(row.sum * norm('Ставка страховых взносов'), 2)",
37
+ debit: { account: '/MODULES/Register/REGISTER/26' },
38
+ credit: { account: '/MODULES/Register/REGISTER/69' },
39
+ },
40
+ {
41
+ id: 'ndfl',
42
+ each: 'staff',
43
+ amount: "round(row.sum * norm('Ставка НДФЛ'), 2)",
44
+ debit: { account: '/MODULES/Register/REGISTER/70', analytics: { employee: 'row.employee' } },
45
+ credit: { account: '/MODULES/Register/REGISTER/68/01' },
46
+ },
47
+ ],
48
+ },
49
+ }
@@ -1,45 +1,46 @@
1
- export default {
2
1
  label: 'Инвентаризация',
3
- icon: 'carbon:task',
4
- METADATA: {
5
- FIELDS: [
6
- { id: 'storage', label: 'Склад', type: 'Link', target: '/MODULES/Register/CATALOGS/Склады и резервуары', required: true },
7
- {
8
- id: 'lines',
9
- label: 'Расхождения',
10
- type: 'Table',
11
- required: true,
12
- FIELDS: [
13
- { id: 'item', label: 'Номенклатура', type: 'Link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
14
- { id: 'unit', label: 'Единица', required: true },
15
- { id: 'delta', label: 'Излишек (+) / недостача (−)', type: 'Number', required: true },
16
- { id: 'cost', label: 'Учётная цена за единицу (пусто — по средней)', type: 'Money' },
17
- { id: 'batch', label: 'Партия', type: 'Link', target: '/MODULES/Register/CATALOGS/Партии' },
18
- ],
19
- },
20
- ],
21
- POSTINGS: [
22
- {
23
- id: 'surplus',
24
- each: 'lines',
25
- when: 'row.delta > 0',
26
- amount: "row.delta * if(row.cost, row.cost, coef(row.item, row.unit) * unit_cost('/MODULES/Register/REGISTER/41', row.item, storage, row.batch, 0))",
27
- qty: 'row.delta',
28
- unit: 'row.unit',
29
- item: 'row.item',
30
- debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
31
- credit: { account: '/MODULES/Register/REGISTER/91', analytics: { item: 'row.item' } },
32
- },
33
- {
34
- id: 'shortage',
35
- each: 'lines',
36
- when: 'row.delta < 0',
37
- amount: "abs(row.delta) * if(row.cost, row.cost, coef(row.item, row.unit) * unit_cost('/MODULES/Register/REGISTER/41', row.item, storage, row.batch))",
38
- qty: 'abs(row.delta)',
39
- unit: 'row.unit',
40
- item: 'row.item',
41
- debit: { account: '/MODULES/Register/REGISTER/94', analytics: { item: 'row.item', storage: 'storage' } },
42
- credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
43
- },
44
- ],
45
- },
46
- }
2
+ export default {
3
+ label: 'Инвентаризация',
4
+ icon: 'carbon:task',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'storage', label: 'Склад', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
8
+ {
9
+ id: 'lines',
10
+ label: 'Расхождения',
11
+ table: true,
12
+ required: true,
13
+ FIELDS: [
14
+ { id: 'item', label: 'Номенклатура', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
15
+ { id: 'unit', label: 'Единица', type: 'string', required: true },
16
+ { id: 'delta', label: 'Излишек (+) / недостача (−)', type: 'number', required: true },
17
+ { id: 'cost', label: 'Учётная цена за единицу (пусто — по средней)', type: 'money' },
18
+ { id: 'batch', label: 'Партия', type: 'link', target: '/MODULES/Register/CATALOGS/Партии' },
19
+ ],
20
+ },
21
+ ],
22
+ POSTINGS: [
23
+ {
24
+ id: 'surplus',
25
+ each: 'lines',
26
+ when: 'row.delta > 0',
27
+ amount: "row.delta * if(row.cost, row.cost, coef(row.item, row.unit) * unit_cost('/MODULES/Register/REGISTER/41', row.item, storage, row.batch, 0))",
28
+ qty: 'row.delta',
29
+ unit: 'row.unit',
30
+ item: 'row.item',
31
+ debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
32
+ credit: { account: '/MODULES/Register/REGISTER/91', analytics: { item: 'row.item' } },
33
+ },
34
+ {
35
+ id: 'shortage',
36
+ each: 'lines',
37
+ when: 'row.delta < 0',
38
+ amount: "abs(row.delta) * if(row.cost, row.cost, coef(row.item, row.unit) * unit_cost('/MODULES/Register/REGISTER/41', row.item, storage, row.batch))",
39
+ qty: 'abs(row.delta)',
40
+ unit: 'row.unit',
41
+ item: 'row.item',
42
+ debit: { account: '/MODULES/Register/REGISTER/94', analytics: { item: 'row.item', storage: 'storage' } },
43
+ credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
44
+ },
45
+ ],
46
+ },
47
+ }
@@ -2,7 +2,7 @@ export default {
2
2
  label: 'Кадры',
3
3
  icon: 'carbon:user-role',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'person', label: 'Сотрудник', type: 'Link', target: '/MODULES/Register/CATALOGS/Субъекты/Физ. лица', required: true },
6
+ { id: 'person', label: 'Сотрудник', type: 'link', target: '/MODULES/Register/CATALOGS/Субъекты/Физ. лица', required: true },
7
7
  { id: 'order_number', label: 'Номер приказа' },
8
8
  ],
9
9
  },
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  label: 'Отправить в отпуск',
3
3
  icon: 'carbon:user',
4
4
  METADATA: {
5
- FIELDS: [{ id: 'until', label: 'Отпуск до', type: 'Date' }],
5
+ FIELDS: [{ id: 'until', label: 'Отпуск до', type: 'date' }],
6
6
  POSTINGS: [
7
7
  {
8
8
  id: 'main',
@@ -1,14 +1,18 @@
1
- export default {
2
1
  label: 'Приём на работу',
3
- icon: 'carbon:user-follow',
4
- METADATA: {
5
- FIELDS: [{ id: 'position', label: 'Должность' }, { id: 'salary', label: 'Оклад', type: 'Money' }],
6
- POSTINGS: [
7
- {
8
- id: 'main',
9
- qty: '1',
10
- debit: { account: '/MODULES/Register/REGISTER/Кадры/Работают', analytics: { person: 'person' } },
11
- credit: { account: '/MODULES/Register/REGISTER/Кадровый резерв' },
12
- },
13
- ],
14
- },
15
- }
2
+ export default {
3
+ label: 'Приём на работу',
4
+ icon: 'carbon:user-follow',
5
+ METADATA: {
6
+ FIELDS: [
7
+ { id: 'position', label: 'Должность', type: 'link', target: '/MODULES/Register/CATALOGS/Должности' },
8
+ { id: 'salary', label: 'Оклад', type: 'money' },
9
+ ],
10
+ POSTINGS: [
11
+ {
12
+ id: 'main',
13
+ qty: '1',
14
+ debit: { account: '/MODULES/Register/REGISTER/Кадры/Работают', analytics: { person: 'person' } },
15
+ credit: { account: '/MODULES/Register/REGISTER/Кадровый резерв' },
16
+ },
17
+ ],
18
+ },
19
+ }
@@ -3,7 +3,7 @@ export default {
3
3
  icon: 'carbon:money',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'sum', label: 'Сумма', type: 'Money', required: true },
6
+ { id: 'sum', label: 'Сумма', type: 'money', required: true },
7
7
  { id: 'purpose', label: 'Основание / назначение' },
8
8
  ],
9
9
  },
@@ -3,7 +3,7 @@ export default {
3
3
  icon: 'carbon:receipt',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'employee', label: 'Подотчётное лицо', type: 'Link', target: '/MODULES/Register/CATALOGS/Сотрудники', required: true },
6
+ { id: 'employee', label: 'Подотчётное лицо', type: 'link', target: '/MODULES/Register/CATALOGS/Сотрудники', required: true },
7
7
  ],
8
8
  POSTINGS: [
9
9
  {
@@ -3,15 +3,15 @@ export default {
3
3
  icon: 'carbon:money',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'counterparty', label: 'Принято от', type: 'Link', target: '/MODULES/Register/CATALOGS/Субъекты', required: true },
7
- { id: 'contract', label: 'Договор', type: 'Link', target: '/MODULES/Register/CATALOGS/Договоры' },
6
+ { id: 'counterparty', label: 'Принято от', type: 'link', target: '/MODULES/Register/CATALOGS/Субъекты', required: true },
7
+ { id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
8
8
  ],
9
9
  POSTINGS: [
10
10
  {
11
11
  id: 'main',
12
12
  amount: 'sum',
13
13
  debit: { account: '/MODULES/Register/REGISTER/50' },
14
- credit: { account: '/MODULES/Register/REGISTER/62', analytics: { counterparty: 'counterparty' } },
14
+ credit: { account: '/MODULES/Register/REGISTER/62', analytics: { counterparty: 'counterparty', contract: 'contract' } },
15
15
  },
16
16
  ],
17
17
  },
@@ -3,7 +3,7 @@ export default {
3
3
  icon: 'carbon:money',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'employee', label: 'Выдать сотруднику (под отчёт)', type: 'Link', target: '/MODULES/Register/CATALOGS/Сотрудники', required: true },
6
+ { id: 'employee', label: 'Выдать сотруднику (под отчёт)', type: 'link', target: '/MODULES/Register/CATALOGS/Сотрудники', required: true },
7
7
  ],
8
8
  POSTINGS: [
9
9
  {
@@ -2,7 +2,7 @@ export default {
2
2
  label: 'Коммуникации',
3
3
  icon: 'carbon:chat',
4
4
  METADATA: {
5
5
  FIELDS: [
6
- { id: 'counterparty', label: 'Контрагент', type: 'Link', target: '/MODULES/Register/CATALOGS/Субъекты', required: true },
6
+ { id: 'counterparty', label: 'Контрагент', type: 'link', target: '/MODULES/Register/CATALOGS/Субъекты', required: true },
7
7
  { id: 'subject', label: 'Тема' },
8
8
  ],
9
9
  },