odant-work 1.0.62 → 1.0.63
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.
- package/#system/package-manifest.json +138 -105
- package/$server/$folder/$class/$structure/handlers/pages/form/gantt/$handler/class.js +27 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/gantt/$handler/gantt.js +293 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/scheduler/$handler/class.js +27 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/scheduler/$handler/scheduler.js +234 -0
- package/$server/$folder/$class/$structure/handlers/pages/form/staff/$handler/staff.js +119 -0
- package/$server/$folder/lib/explorer/explorer.js +29 -0
- package/MODULES/Geo/$module/readme.md +6 -4
- package/MODULES/Geo//320/223/320/265/320/276/321/202/320/276/321/207/320/272/320/270/$catalog/class.js +9 -3
- package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/class.js +10 -0
- package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/class.js +21 -0
- package/MODULES/Geo//320/232/320/260/321/200/321/202/320/260/$catalog/handlers/pages/form/map/$handler/map.js +623 -0
- 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
- package/MODULES/Geo//320/250/320/265/320/271/320/277/$struct/class.js +17 -0
- package/MODULES/KLADR/$module/$folder/$class/$catalog/class.js +9 -0
- package/MODULES/KLADR/$module/class.js +4 -0
- package/MODULES/KLADR/$module/handlers/pages/form/kladr/$handler/class.js +7 -0
- package/MODULES/KLADR/$module/handlers/pages/form/kladr/$handler/kladr.js +134 -0
- package/MODULES/KLADR/$module/readme.md +10 -0
- 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
- 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
- package/MODULES/KLADR//320/240/320/265/320/263/320/270/320/276/320/275/321/213/$catalog/class.js +14 -0
- package/MODULES/KLADR//320/243/320/273/320/270/321/206/321/213/$catalog/class.js +13 -0
- package/MODULES/Process/$module/$folder/$class/$catalog/class.js +4 -0
- package/MODULES/Process/$module/class.js +4 -0
- package/MODULES/Process/$module/readme.md +7 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/MODULES/Register/$module/readme.md +3 -3
- package/MODULES/Register/CATALOGS/$catalog/class.js +1 -6
- package/MODULES/Register/CATALOGS/$catalog/readme.md +1 -1
- 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
- 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
- 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
- package/MODULES/Register/CATALOGS//320/232/320/273/320/270/320/265/320/275/321/202/321/213/$virtual/class.js +11 -10
- 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
- package/MODULES/Register/CATALOGS//320/237/320/260/321/200/321/202/320/270/320/270/$catalog/class.js +13 -13
- 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
- package/MODULES/Register/CATALOGS//320/241/320/272/320/273/320/260/320/264/321/213/$catalog/class.js +17 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/MODULES/Register/OPERATIONS/$operation/class.js +1 -1
- package/MODULES/Register/OPERATIONS/$operation/readme.md +1 -1
- 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
- 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
- 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
- package/MODULES/Register/OPERATIONS//320/232/320/260/320/264/321/200/321/213/$operation/class.js +1 -1
- 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
- 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
- package/MODULES/Register/OPERATIONS//320/232/320/260/321/201/321/201/320/260/$operation/class.js +1 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/MODULES/Register/REGISTER/$register/$folder/$class/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/$register/$folder/$class/$account/readme.md +1 -1
- package/MODULES/Register/REGISTER/$register/readme.md +1 -1
- package/MODULES/Register/REGISTER/01/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/02/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/04/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/08/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/10/$account/class.js +23 -1
- package/MODULES/Register/REGISTER/10/01/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/10/05/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/41/$account/class.js +25 -24
- package/MODULES/Register/REGISTER/43/$account/class.js +2 -2
- package/MODULES/Register/REGISTER/44/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/60/$account/class.js +24 -15
- package/MODULES/Register/REGISTER/62/$account/class.js +24 -15
- package/MODULES/Register/REGISTER/67/$account/class.js +1 -0
- package/MODULES/Register/REGISTER/70/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/71/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/73/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/76/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/90/01/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/90/02/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/90/03/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/91/$account/class.js +1 -1
- package/MODULES/Register/REGISTER/94/$account/class.js +24 -23
- package/MODULES/Register/REGISTER//320/232/320/260/320/264/321/200/321/213/$account/class.js +1 -1
- 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
- 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
- package/MODULES/Register/STRUCTS//320/220/320/264/321/200/320/265/321/201/$struct/class.js +14 -11
- 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
- package/MODULES/Register/STRUCTS//320/237/320/260/321/201/320/277/320/276/321/200/321/202/$struct/class.js +14 -11
- package/MODULES/Register/STRUCTS//320/244/320/230/320/236/$struct/class.js +16 -0
- package/package.json +1 -1
- package/scripts/check-ignored-code.mjs +1 -1
- package/scripts/demo-seed.mjs +7 -5
- package/sources/client.js +6 -1
- package/sources/data/fio.js +355 -0
- package/sources/data/objects.js +11 -1
- package/sources/data/print.js +29 -3
- package/sources/data/schema.js +15 -4
- package/sources/host/auth-methods.js +34 -2
- package/sources/modules/kladr/index.js +336 -0
- package/sources/modules/user-profile/user-profile.js +40 -2
- package/sources/server/access/gateway.js +6 -0
- package/sources/server/access/invites.js +416 -0
- package/sources/server/class/base-template.js +94 -61
- package/sources/server/class.js +22 -0
- package/sources/server/folder.js +72 -6
- package/$server/$folder/$class/ai/progress.md +0 -33
- package/$server/$folder/$file/$task/progress.md +0 -20
- package/$server/$folder/handlers/methods/create/progress.md +0 -15
- package/$server/$folder/lib/dot/progress.md +0 -15
- package/$server/$folder/lib/menu/progress.md +0 -13
- package/$server/$folder/lib/node/progress.md +0 -13
- package/$server/$folder/lib/prompt-bar/progress.md +0 -13
- package/$server/$folder/lib/tree/progress.md +0 -16
- package/.cursor/rules/work.mdc +0 -8
- package/.cursorrules +0 -2
- 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
- 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
- package/NODES/teewtew/$node/class.js +0 -3
- package/NODES/work.odant.org/$node/class.js +0 -4
- package/config.json +0 -1
- package/eslint.config.js +0 -51
- package/jsconfig.json +0 -37
- package/oda/components/packets/progress.md +0 -29
- package/oda/progress.md +0 -29
- package/opencode.json +0 -9
- package/progress.md +0 -13
- package/publish.cmd +0 -2
- package/sources/data/progress.md +0 -792
- package/sources/host/progress.md +0 -14
|
@@ -6,11 +6,11 @@ export default {
|
|
|
6
6
|
label: 'Звонок',
|
|
7
7
|
{
|
|
8
8
|
id: 'direction',
|
|
9
9
|
label: 'Направление',
|
|
10
|
-
type: '
|
|
10
|
+
type: 'enum',
|
|
11
11
|
values: ['Входящий', 'Исходящий'],
|
|
12
12
|
required: true,
|
|
13
13
|
},
|
|
14
|
-
{ id: 'minutes', label: 'Длительность, мин', type: '
|
|
14
|
+
{ id: 'minutes', label: 'Длительность, мин', type: 'number', required: true },
|
|
15
15
|
],
|
|
16
16
|
POSTINGS: [
|
|
17
17
|
{
|
|
@@ -1,57 +1,52 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'Фасовка',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
}
|
|
2
|
+
export default {
|
|
3
|
+
label: 'Комплектация / Фасовка',
|
|
4
|
+
icon: 'carbon:tool-box',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'item', label: 'Продукт / Комплект', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
8
|
+
{ id: 'batch', label: 'Партия', type: 'link', target: '/MODULES/Register/CATALOGS/Партии' },
|
|
9
|
+
{ id: 'from_storage', label: 'Со склада', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
10
|
+
{ id: 'to_storage', label: 'На склад', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
11
|
+
{ id: 'price', label: 'Учётная цена за базовую единицу (пусто — по средней)', type: 'money' },
|
|
12
|
+
{
|
|
13
|
+
id: 'lines',
|
|
14
|
+
label: 'Состав / Тара',
|
|
15
|
+
table: true,
|
|
16
|
+
required: true,
|
|
17
|
+
FIELDS: [
|
|
18
|
+
{ id: 'unit', label: 'Единица выпуска', type: 'string', required: true },
|
|
19
|
+
{ id: 'qty', label: 'Количество', type: 'number', required: true },
|
|
20
|
+
{ id: 'container', label: 'Комплектующее / Тара', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
21
|
+
{ id: 'container_cost', label: 'Цена комплектующего (пусто — по средней)', type: 'money' },
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
POSTINGS: [
|
|
26
|
+
{
|
|
27
|
+
id: 'product',
|
|
28
|
+
each: 'lines',
|
|
29
|
+
amount: "round(row.qty * coef(item, row.unit) * if(price, price, unit_cost('/MODULES/Register/REGISTER/41', item, from_storage, batch)), 2)",
|
|
30
|
+
qty: 'row.qty',
|
|
31
|
+
unit: 'row.unit',
|
|
32
|
+
item: 'item',
|
|
33
|
+
debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'item', storage: 'to_storage', batch: 'batch' } },
|
|
34
|
+
credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'item', storage: 'from_storage', batch: 'batch' } },
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: 'tare_in',
|
|
38
|
+
each: 'lines',
|
|
39
|
+
amount: "row.qty * if(row.container_cost, row.container_cost, unit_cost('/MODULES/Register/REGISTER/41', row.container, to_storage))",
|
|
40
|
+
qty: 'row.qty',
|
|
41
|
+
debit: { account: '/MODULES/Register/REGISTER/20' },
|
|
42
|
+
credit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.container', storage: 'to_storage', batch: "''" } },
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'tare_out',
|
|
46
|
+
each: 'lines',
|
|
47
|
+
amount: "row.qty * if(row.container_cost, row.container_cost, unit_cost('/MODULES/Register/REGISTER/41', row.container, to_storage))",
|
|
48
|
+
debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'item', storage: 'to_storage', batch: 'batch' } },
|
|
49
|
+
credit: { account: '/MODULES/Register/REGISTER/20' },
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
}
|
|
@@ -3,8 +3,8 @@ export default {
|
|
|
3
3
|
icon: 'carbon:chart-line-data',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'asset', label: 'Объект ОС', type: '
|
|
7
|
-
{ id: 'sum', label: 'Сумма амортизации за месяц', type: '
|
|
6
|
+
{ id: 'asset', label: 'Объект ОС', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
7
|
+
{ id: 'sum', label: 'Сумма амортизации за месяц', type: 'money', required: true },
|
|
8
8
|
],
|
|
9
9
|
POSTINGS: [
|
|
10
10
|
{
|
|
@@ -3,10 +3,11 @@ export default {
|
|
|
3
3
|
icon: 'carbon:building-insights-1',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'supplier', label: 'Поставщик', type: '
|
|
7
|
-
{ id: '
|
|
8
|
-
{ id: '
|
|
9
|
-
{ id: '
|
|
6
|
+
{ id: 'supplier', label: 'Поставщик', type: 'link', target: '/MODULES/Register/CATALOGS/Поставщики', required: true },
|
|
7
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
8
|
+
{ id: 'asset', label: 'Объект ОС', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
9
|
+
{ id: 'sum', label: 'Стоимость без НДС', type: 'money', required: true },
|
|
10
|
+
{ id: 'vat_sum', label: 'НДС', type: 'money' },
|
|
10
11
|
],
|
|
11
12
|
POSTINGS: [
|
|
12
13
|
{
|
|
@@ -15,14 +16,14 @@ export default {
|
|
|
15
16
|
qty: '1',
|
|
16
17
|
item: 'asset',
|
|
17
18
|
debit: { account: '/MODULES/Register/REGISTER/08', analytics: { asset: 'asset' } },
|
|
18
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
19
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
id: 'vat',
|
|
22
23
|
when: 'vat_sum > 0',
|
|
23
24
|
amount: 'vat_sum',
|
|
24
25
|
debit: { account: '/MODULES/Register/REGISTER/19' },
|
|
25
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
26
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
26
27
|
},
|
|
27
28
|
],
|
|
28
29
|
},
|
|
@@ -3,8 +3,8 @@ export default {
|
|
|
3
3
|
icon: 'carbon:building-insights-1',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'asset', label: 'Объект ОС', type: '
|
|
7
|
-
{ id: 'sum', label: 'Первоначальная стоимость', type: '
|
|
6
|
+
{ id: 'asset', label: 'Объект ОС', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
7
|
+
{ id: 'sum', label: 'Первоначальная стоимость', type: 'money', required: true },
|
|
8
8
|
],
|
|
9
9
|
POSTINGS: [
|
|
10
10
|
{
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'Перемещение',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{ id: '
|
|
17
|
-
{ id: '
|
|
18
|
-
{ id: '
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
export default {
|
|
3
|
+
label: 'Перемещение',
|
|
4
|
+
icon: 'carbon:arrows-horizontal',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'from_storage', label: 'Откуда', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
8
|
+
{ id: 'to_storage', label: 'Куда', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
9
|
+
{
|
|
10
|
+
id: 'lines',
|
|
11
|
+
label: 'Товары',
|
|
12
|
+
table: true,
|
|
13
|
+
required: true,
|
|
14
|
+
FIELDS: [
|
|
15
|
+
{ id: 'item', label: 'Номенклатура', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
16
|
+
{ id: 'unit', label: 'Единица', type: 'string', required: true },
|
|
17
|
+
{ id: 'qty', label: 'Количество', type: 'number', required: true },
|
|
18
|
+
{ id: 'price', label: 'Учётная цена за единицу (пусто — по средней)', type: 'money' },
|
|
19
|
+
{ id: 'batch', label: 'Партия', type: 'link', target: '/MODULES/Register/CATALOGS/Партии' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
POSTINGS: [
|
|
24
|
+
{
|
|
25
|
+
id: 'move',
|
|
26
|
+
each: 'lines',
|
|
27
|
+
amount: "row.qty * if(row.price, row.price, coef(row.item, row.unit) * unit_cost('/MODULES/Register/REGISTER/41', row.item, from_storage, row.batch))",
|
|
28
|
+
qty: 'row.qty',
|
|
29
|
+
unit: 'row.unit',
|
|
30
|
+
item: 'row.item',
|
|
31
|
+
debit: {
|
|
32
|
+
account: '/MODULES/Register/REGISTER/41',
|
|
33
|
+
analytics: { item: 'row.item', storage: 'to_storage', batch: 'row.batch' },
|
|
34
|
+
},
|
|
35
|
+
credit: {
|
|
36
|
+
account: '/MODULES/Register/REGISTER/41',
|
|
37
|
+
analytics: { item: 'row.item', storage: 'from_storage', batch: 'row.batch' },
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
}
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
label: 'Платежи с расчётного счёта',
|
|
3
3
|
icon: 'carbon:money',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'sum', label: 'Сумма', type: '
|
|
6
|
+
{ id: 'sum', label: 'Сумма', type: 'money', required: true },
|
|
7
7
|
{ id: 'purpose', label: 'Назначение' },
|
|
8
8
|
{ id: 'doc_number', label: 'Номер документа' },
|
|
9
9
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
label: 'Выплата зарплаты',
|
|
3
3
|
icon: 'carbon:money',
|
|
4
4
|
METADATA: {
|
|
5
|
-
FIELDS: [{ id: 'employee', label: 'Сотрудник', type: '
|
|
5
|
+
FIELDS: [{ id: 'employee', label: 'Сотрудник', type: 'link', target: '/MODULES/Register/CATALOGS/Сотрудники', required: true }],
|
|
6
6
|
POSTINGS: [{ id: 'main', debit: { account: '/MODULES/Register/REGISTER/70', analytics: { employee: 'employee' } } }],
|
|
7
7
|
},
|
|
8
8
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'Поставщику',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
2
|
+
export default {
|
|
3
|
+
label: 'Поставщику',
|
|
4
|
+
icon: 'carbon:money',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'counterparty', label: 'Поставщик', type: 'link', target: '/MODULES/Register/CATALOGS/Поставщики', required: true },
|
|
8
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
9
|
+
],
|
|
10
|
+
POSTINGS: [{ id: 'main', debit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'counterparty', contract: 'contract' } } }],
|
|
11
|
+
},
|
|
12
|
+
}
|
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'Поступление товара',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{ id: '
|
|
9
|
-
{ id: '
|
|
10
|
-
{ id: '
|
|
11
|
-
{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{ id: '
|
|
20
|
-
{ id: '
|
|
21
|
-
{ id: '
|
|
22
|
-
{ id: '
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
|
|
36
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'vat',
|
|
40
|
-
when: 'vat_sum > 0',
|
|
41
|
-
amount: 'vat_sum',
|
|
42
|
-
debit: { account: '/MODULES/Register/REGISTER/19' },
|
|
43
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
}
|
|
2
|
+
export default {
|
|
3
|
+
label: 'Поступление товара',
|
|
4
|
+
icon: 'carbon:delivery-truck',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'supplier', label: 'Поставщик', type: 'link', target: '/MODULES/Register/CATALOGS/Поставщики', required: true },
|
|
8
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
9
|
+
{ id: 'storage', label: 'Склад', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
10
|
+
{ id: 'doc_number', label: 'Номер документа', type: 'string' },
|
|
11
|
+
{ id: 'vat_sum', label: 'НДС', type: 'money' },
|
|
12
|
+
{
|
|
13
|
+
id: 'lines',
|
|
14
|
+
label: 'Товары',
|
|
15
|
+
table: true,
|
|
16
|
+
required: true,
|
|
17
|
+
FIELDS: [
|
|
18
|
+
{ id: 'item', label: 'Номенклатура', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
19
|
+
{ id: 'unit', label: 'Единица', type: 'string', required: true },
|
|
20
|
+
{ id: 'qty', label: 'Количество', type: 'number', required: true },
|
|
21
|
+
{ id: 'price', label: 'Цена за единицу', type: 'money', required: true },
|
|
22
|
+
{ id: 'batch', label: 'Партия', type: 'link', target: '/MODULES/Register/CATALOGS/Партии' },
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
POSTINGS: [
|
|
27
|
+
{
|
|
28
|
+
id: 'lines',
|
|
29
|
+
each: 'lines',
|
|
30
|
+
amount: 'row.qty * row.price',
|
|
31
|
+
qty: 'row.qty',
|
|
32
|
+
unit: 'row.unit',
|
|
33
|
+
item: 'row.item',
|
|
34
|
+
debit: { account: '/MODULES/Register/REGISTER/41', analytics: { item: 'row.item', storage: 'storage', batch: 'row.batch' } },
|
|
35
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: 'vat',
|
|
39
|
+
when: 'vat_sum > 0',
|
|
40
|
+
amount: 'vat_sum',
|
|
41
|
+
debit: { account: '/MODULES/Register/REGISTER/19' },
|
|
42
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
}
|
|
@@ -2,7 +2,7 @@ export default {
|
|
|
2
2
|
label: 'Поступления на расчётный сч
|
|
3
3
|
icon: 'carbon:money',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'sum', label: 'Сумма', type: '
|
|
6
|
+
{ id: 'sum', label: 'Сумма', type: 'money', required: true },
|
|
7
7
|
{ id: 'purpose', label: 'Назначение' },
|
|
8
8
|
{ id: 'doc_number', label: 'Номер документа' },
|
|
9
9
|
],
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'Возврат от поставщика',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
2
|
+
export default {
|
|
3
|
+
label: 'Возврат от поставщика',
|
|
4
|
+
icon: 'carbon:money',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'counterparty', label: 'Поставщик', type: 'link', target: '/MODULES/Register/CATALOGS/Поставщики', required: true },
|
|
8
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
9
|
+
],
|
|
10
|
+
POSTINGS: [{ id: 'main', credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'counterparty', contract: 'contract' } } }],
|
|
11
|
+
},
|
|
12
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export default {
|
|
2
1
|
label: 'От покупателя',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
2
|
+
export default {
|
|
3
|
+
label: 'От покупателя',
|
|
4
|
+
icon: 'carbon:money',
|
|
5
|
+
METADATA: {
|
|
6
|
+
FIELDS: [
|
|
7
|
+
{ id: 'counterparty', label: 'Покупатель', type: 'link', target: '/MODULES/Register/CATALOGS/Клиенты', required: true },
|
|
8
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
9
|
+
],
|
|
10
|
+
POSTINGS: [{ id: 'main', credit: { account: '/MODULES/Register/REGISTER/62', analytics: { counterparty: 'counterparty', contract: 'contract' } } }],
|
|
11
|
+
},
|
|
12
|
+
}
|
|
@@ -3,10 +3,10 @@ export default {
|
|
|
3
3
|
icon: 'carbon:product',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'storage', label: 'Склад готовой продукции', type: '
|
|
7
|
-
{ id: 'item', label: 'Продукция', type: '
|
|
8
|
-
{ id: 'qty', label: 'Количество', type: '
|
|
9
|
-
{ id: 'sum', label: 'Плановая / фактическая себестоимость', type: '
|
|
6
|
+
{ id: 'storage', label: 'Склад готовой продукции', type: 'link', target: '/MODULES/Register/CATALOGS/Склады', required: true },
|
|
7
|
+
{ id: 'item', label: 'Продукция', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
8
|
+
{ id: 'qty', label: 'Количество', type: 'number', required: true },
|
|
9
|
+
{ id: 'sum', label: 'Плановая / фактическая себестоимость', type: 'money', required: true },
|
|
10
10
|
],
|
|
11
11
|
POSTINGS: [
|
|
12
12
|
{
|
|
@@ -3,9 +3,10 @@ export default {
|
|
|
3
3
|
icon: 'carbon:industry',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: '
|
|
7
|
-
{ id: '
|
|
8
|
-
{ id: '
|
|
6
|
+
{ id: 'storage', label: 'Склад материалов', type: 'link', target: '/MODULES/Register/CATALOGS/Склады' },
|
|
7
|
+
{ id: 'item', label: 'Материал', type: 'link', target: '/MODULES/Register/CATALOGS/Номенклатура', required: true },
|
|
8
|
+
{ id: 'qty', label: 'Количество', type: 'number', required: true },
|
|
9
|
+
{ id: 'sum', label: 'Сумма списания', type: 'money', required: true },
|
|
9
10
|
],
|
|
10
11
|
POSTINGS: [
|
|
11
12
|
{
|
|
@@ -14,7 +15,7 @@ export default {
|
|
|
14
15
|
qty: 'qty',
|
|
15
16
|
item: 'item',
|
|
16
17
|
debit: { account: '/MODULES/Register/REGISTER/20' },
|
|
17
|
-
credit: { account: '/MODULES/Register/REGISTER/10/01', analytics: { item: 'item' } },
|
|
18
|
+
credit: { account: '/MODULES/Register/REGISTER/10/01', analytics: { item: 'item', storage: 'storage' } },
|
|
18
19
|
},
|
|
19
20
|
],
|
|
20
21
|
},
|
|
@@ -3,10 +3,10 @@ export default {
|
|
|
3
3
|
icon: 'carbon:document-subtract',
|
|
4
4
|
METADATA: {
|
|
5
5
|
FIELDS: [
|
|
6
|
-
{ id: 'supplier', label: 'Поставщик услуг / подрядчик', type: '
|
|
7
|
-
{ id: 'contract', label: 'Договор', type: '
|
|
8
|
-
{ id: 'sum', label: 'Сумма без НДС', type: '
|
|
9
|
-
{ id: 'vat_sum', label: 'НДС', type: '
|
|
6
|
+
{ id: 'supplier', label: 'Поставщик услуг / подрядчик', type: 'link', target: '/MODULES/Register/CATALOGS/Поставщики', required: true },
|
|
7
|
+
{ id: 'contract', label: 'Договор', type: 'link', target: '/MODULES/Register/CATALOGS/Договоры' },
|
|
8
|
+
{ id: 'sum', label: 'Сумма без НДС', type: 'money', required: true },
|
|
9
|
+
{ id: 'vat_sum', label: 'НДС', type: 'money' },
|
|
10
10
|
{ id: 'purpose', label: 'Содержание услуги / расхода' },
|
|
11
11
|
],
|
|
12
12
|
POSTINGS: [
|
|
@@ -14,14 +14,14 @@ export default {
|
|
|
14
14
|
id: 'expense',
|
|
15
15
|
amount: 'sum',
|
|
16
16
|
debit: { account: '/MODULES/Register/REGISTER/26' },
|
|
17
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
17
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
id: 'vat',
|
|
21
21
|
when: 'vat_sum > 0',
|
|
22
22
|
amount: 'vat_sum',
|
|
23
23
|
debit: { account: '/MODULES/Register/REGISTER/19' },
|
|
24
|
-
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier' } },
|
|
24
|
+
credit: { account: '/MODULES/Register/REGISTER/60', analytics: { counterparty: 'supplier', contract: 'contract' } },
|
|
25
25
|
},
|
|
26
26
|
],
|
|
27
27
|
},
|