#998 worker.index
This commit is contained in:
parent
c02164d884
commit
3e40c651af
|
@ -1,8 +1,8 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'salixfont';
|
font-family: 'salixfont';
|
||||||
src: url('./salixfont.ttf?wiyr0v') format('truetype'),
|
src: url('./salixfont.ttf?1qesj4') format('truetype'),
|
||||||
url('./salixfont.woff?wiyr0v') format('woff'),
|
url('./salixfont.woff?1qesj4') format('woff'),
|
||||||
url('./salixfont.svg?wiyr0v#salixfont') format('svg');
|
url('./salixfont.svg?1qesj4#salixfont') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,27 @@
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-columndelete:before {
|
||||||
|
content: "\e90f";
|
||||||
|
}
|
||||||
|
.icon-columnadd:before {
|
||||||
|
content: "\e944";
|
||||||
|
}
|
||||||
|
.icon-linesplit:before {
|
||||||
|
content: "\e945";
|
||||||
|
}
|
||||||
|
.icon-linedelete:before {
|
||||||
|
content: "\e946";
|
||||||
|
}
|
||||||
|
.icon-item:before {
|
||||||
|
content: "\e941";
|
||||||
|
}
|
||||||
|
.icon-basket:before {
|
||||||
|
content: "\e942";
|
||||||
|
}
|
||||||
|
.icon-worker:before {
|
||||||
|
content: "\e943";
|
||||||
|
}
|
||||||
.icon-reserve:before {
|
.icon-reserve:before {
|
||||||
content: "\e92f";
|
content: "\e92f";
|
||||||
}
|
}
|
||||||
|
@ -76,9 +97,6 @@
|
||||||
.icon-credit:before {
|
.icon-credit:before {
|
||||||
content: "\e90e";
|
content: "\e90e";
|
||||||
}
|
}
|
||||||
.icon-deleteline:before {
|
|
||||||
content: "\e90f";
|
|
||||||
}
|
|
||||||
.icon-delivery:before {
|
.icon-delivery:before {
|
||||||
content: "\e910";
|
content: "\e910";
|
||||||
}
|
}
|
||||||
|
@ -163,7 +181,7 @@
|
||||||
.icon-plant:before {
|
.icon-plant:before {
|
||||||
content: "\e92b";
|
content: "\e92b";
|
||||||
}
|
}
|
||||||
.icon-polizon:before {
|
.icon-stowaway:before {
|
||||||
content: "\e92c";
|
content: "\e92c";
|
||||||
}
|
}
|
||||||
.icon-recovery:before {
|
.icon-recovery:before {
|
||||||
|
@ -172,9 +190,6 @@
|
||||||
.icon-regentry:before {
|
.icon-regentry:before {
|
||||||
content: "\e92e";
|
content: "\e92e";
|
||||||
}
|
}
|
||||||
.icon-reserved:before {
|
|
||||||
content: "\e92f";
|
|
||||||
}
|
|
||||||
.icon-risk:before {
|
.icon-risk:before {
|
||||||
content: "\e930";
|
content: "\e930";
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -22,7 +22,7 @@
|
||||||
<glyph unicode="" glyph-name="handmade" d="M537.6 681.6c44.8 54.4 99.2 83.2 163.2 89.6 51.2 6.4 99.2 0 144-16 64-19.2 121.6-57.6 176-99.2-60.8-51.2-128-89.6-214.4-105.6 105.6-60.8 163.2-150.4 204.8-256-153.6-32-278.4 19.2-400 112-6.4-41.6-12.8-76.8-16-112-12.8-80-22.4-160-35.2-236.8-3.2-28.8-19.2-44.8-41.6-54.4-76.8-28.8-153.6-28.8-227.2 0-25.6 9.6-41.6 28.8-44.8 57.6-12.8 99.2-28.8 201.6-44.8 300.8-3.2 12.8-6.4 22.4-19.2 28.8-38.4 16-57.6 41.6-70.4 80-3.2 6.4-9.6 16-16 16-89.6 22.4-128 134.4-64 201.6 9.6 9.6 12.8 19.2 9.6 35.2-19.2 99.2 54.4 166.4 156.8 147.2 6.4-3.2 12.8 3.2 19.2 6.4 73.6 67.2 176 41.6 208-51.2 3.2-9.6 9.6-16 16-19.2 60.8-16 89.6-57.6 96-124.8zM227.2 790.4c-60.8 38.4-86.4 38.4-115.2 9.6-38.4-41.6-16-80 16-118.4-44.8-16-83.2-41.6-70.4-92.8 16-54.4 60.8-57.6 108.8-44.8 0-12.8-3.2-22.4-3.2-32-3.2-38.4 19.2-67.2 54.4-76.8 28.8-6.4 64 12.8 80 44.8 3.2 9.6 9.6 16 12.8 25.6 57.6-38.4 86.4-41.6 115.2-12.8s28.8 54.4-12.8 118.4c41.6 16 80 38.4 67.2 92.8-12.8 57.6-60.8 57.6-108.8 51.2 9.6 57.6-6.4 92.8-44.8 105.6-41.6 12.8-67.2-6.4-99.2-70.4zM256 361.6c0-9.6 0-19.2 0-28.8 12.8-86.4 28.8-169.6 38.4-252.8 3.2-19.2 12.8-28.8 28.8-35.2 54.4-16 108.8-16 166.4 0 12.8 3.2 22.4 12.8 25.6 28.8 6.4 54.4 16 112 25.6 166.4 6.4 38.4 9.6 80 16 121.6-140.8-32-150.4-32-300.8 0zM947.2 336c-38.4 73.6-83.2 134.4-156.8 172.8-44.8 25.6-92.8 32-144 16-32-12.8-60.8-32-76.8-57.6 25.6-9.6 48-12.8 70.4-22.4 22.4-12.8 44.8-25.6 67.2-41.6 67.2-48 147.2-76.8 240-67.2zM547.2 572.8c32 19.2 64 22.4 99.2 22.4 51.2 0 102.4-3.2 153.6 3.2 51.2 3.2 96 25.6 140.8 54.4-76.8 57.6-179.2 86.4-265.6 67.2-67.2-16-121.6-76.8-128-147.2zM304 396.8c38.4-3.2 73.6-3.2 105.6-9.6 48-6.4 80 6.4 92.8 60.8 6.4 25.6 3.2 48 0 76.8-3.2-9.6-6.4-12.8-9.6-19.2-19.2-60.8-73.6-96-134.4-83.2-25.6 3.2-38.4-3.2-54.4-25.6zM364.8 646.4c0-54.4-44.8-96-96-96-54.4 0-99.2 44.8-99.2 99.2 0 51.2 44.8 96 96 96 54.4 0 99.2-44.8 99.2-99.2zM310.4 646.4c0 22.4-19.2 41.6-41.6 41.6-25.6 3.2-44.8-19.2-44.8-41.6s22.4-44.8 44.8-44.8c22.4 3.2 41.6 22.4 41.6 44.8z" />
|
<glyph unicode="" glyph-name="handmade" d="M537.6 681.6c44.8 54.4 99.2 83.2 163.2 89.6 51.2 6.4 99.2 0 144-16 64-19.2 121.6-57.6 176-99.2-60.8-51.2-128-89.6-214.4-105.6 105.6-60.8 163.2-150.4 204.8-256-153.6-32-278.4 19.2-400 112-6.4-41.6-12.8-76.8-16-112-12.8-80-22.4-160-35.2-236.8-3.2-28.8-19.2-44.8-41.6-54.4-76.8-28.8-153.6-28.8-227.2 0-25.6 9.6-41.6 28.8-44.8 57.6-12.8 99.2-28.8 201.6-44.8 300.8-3.2 12.8-6.4 22.4-19.2 28.8-38.4 16-57.6 41.6-70.4 80-3.2 6.4-9.6 16-16 16-89.6 22.4-128 134.4-64 201.6 9.6 9.6 12.8 19.2 9.6 35.2-19.2 99.2 54.4 166.4 156.8 147.2 6.4-3.2 12.8 3.2 19.2 6.4 73.6 67.2 176 41.6 208-51.2 3.2-9.6 9.6-16 16-19.2 60.8-16 89.6-57.6 96-124.8zM227.2 790.4c-60.8 38.4-86.4 38.4-115.2 9.6-38.4-41.6-16-80 16-118.4-44.8-16-83.2-41.6-70.4-92.8 16-54.4 60.8-57.6 108.8-44.8 0-12.8-3.2-22.4-3.2-32-3.2-38.4 19.2-67.2 54.4-76.8 28.8-6.4 64 12.8 80 44.8 3.2 9.6 9.6 16 12.8 25.6 57.6-38.4 86.4-41.6 115.2-12.8s28.8 54.4-12.8 118.4c41.6 16 80 38.4 67.2 92.8-12.8 57.6-60.8 57.6-108.8 51.2 9.6 57.6-6.4 92.8-44.8 105.6-41.6 12.8-67.2-6.4-99.2-70.4zM256 361.6c0-9.6 0-19.2 0-28.8 12.8-86.4 28.8-169.6 38.4-252.8 3.2-19.2 12.8-28.8 28.8-35.2 54.4-16 108.8-16 166.4 0 12.8 3.2 22.4 12.8 25.6 28.8 6.4 54.4 16 112 25.6 166.4 6.4 38.4 9.6 80 16 121.6-140.8-32-150.4-32-300.8 0zM947.2 336c-38.4 73.6-83.2 134.4-156.8 172.8-44.8 25.6-92.8 32-144 16-32-12.8-60.8-32-76.8-57.6 25.6-9.6 48-12.8 70.4-22.4 22.4-12.8 44.8-25.6 67.2-41.6 67.2-48 147.2-76.8 240-67.2zM547.2 572.8c32 19.2 64 22.4 99.2 22.4 51.2 0 102.4-3.2 153.6 3.2 51.2 3.2 96 25.6 140.8 54.4-76.8 57.6-179.2 86.4-265.6 67.2-67.2-16-121.6-76.8-128-147.2zM304 396.8c38.4-3.2 73.6-3.2 105.6-9.6 48-6.4 80 6.4 92.8 60.8 6.4 25.6 3.2 48 0 76.8-3.2-9.6-6.4-12.8-9.6-19.2-19.2-60.8-73.6-96-134.4-83.2-25.6 3.2-38.4-3.2-54.4-25.6zM364.8 646.4c0-54.4-44.8-96-96-96-54.4 0-99.2 44.8-99.2 99.2 0 51.2 44.8 96 96 96 54.4 0 99.2-44.8 99.2-99.2zM310.4 646.4c0 22.4-19.2 41.6-41.6 41.6-25.6 3.2-44.8-19.2-44.8-41.6s22.4-44.8 44.8-44.8c22.4 3.2 41.6 22.4 41.6 44.8z" />
|
||||||
<glyph unicode="" glyph-name="consignatarios" d="M883.2 631.467h-140.8v183.467h-648.533c-51.2 0-93.867-42.667-93.867-93.867v-503.467h93.867c0-76.8 64-136.533 140.8-136.533s140.8 59.733 140.8 136.533h277.333c0-76.8 64-136.533 140.8-136.533s140.8 59.733 140.8 136.533h89.6v230.4l-140.8 183.467zM234.667 149.333c-38.4 0-68.267 29.867-68.267 68.267s29.867 68.267 68.267 68.267c38.4 0 68.267-29.867 68.267-68.267 0-34.133-29.867-68.267-68.267-68.267zM861.867 563.2l89.6-115.2h-209.067v115.2h119.467zM789.333 149.333c-38.4 0-68.267 29.867-68.267 68.267s29.867 68.267 68.267 68.267c38.4 0 68.267-29.867 68.267-68.267 4.267-34.133-25.6-68.267-68.267-68.267z" />
|
<glyph unicode="" glyph-name="consignatarios" d="M883.2 631.467h-140.8v183.467h-648.533c-51.2 0-93.867-42.667-93.867-93.867v-503.467h93.867c0-76.8 64-136.533 140.8-136.533s140.8 59.733 140.8 136.533h277.333c0-76.8 64-136.533 140.8-136.533s140.8 59.733 140.8 136.533h89.6v230.4l-140.8 183.467zM234.667 149.333c-38.4 0-68.267 29.867-68.267 68.267s29.867 68.267 68.267 68.267c38.4 0 68.267-29.867 68.267-68.267 0-34.133-29.867-68.267-68.267-68.267zM861.867 563.2l89.6-115.2h-209.067v115.2h119.467zM789.333 149.333c-38.4 0-68.267 29.867-68.267 68.267s29.867 68.267 68.267 68.267c38.4 0 68.267-29.867 68.267-68.267 4.267-34.133-25.6-68.267-68.267-68.267z" />
|
||||||
<glyph unicode="" glyph-name="credit" d="M921.6 849.067h-819.2c-55.467 0-102.4-42.667-102.4-98.133v-601.6c0-55.467 46.933-102.4 102.4-102.4h819.2c55.467 0 102.4 42.667 102.4 102.4v601.6c0 55.467-46.933 98.133-102.4 98.133zM921.6 145.067h-819.2v302.933h819.2v-302.933zM921.6 648.533h-819.2v102.4h819.2v-102.4z" />
|
<glyph unicode="" glyph-name="credit" d="M921.6 849.067h-819.2c-55.467 0-102.4-42.667-102.4-98.133v-601.6c0-55.467 46.933-102.4 102.4-102.4h819.2c55.467 0 102.4 42.667 102.4 102.4v601.6c0 55.467-46.933 98.133-102.4 98.133zM921.6 145.067h-819.2v302.933h819.2v-302.933zM921.6 648.533h-819.2v102.4h819.2v-102.4z" />
|
||||||
<glyph unicode="" glyph-name="deleteline" d="M550.4 345.6h-550.4v119.467h550.4l59.733-59.733-59.733-59.733zM1024 563.2l-98.133 98.133-157.867-153.6-157.867 157.867-98.133-102.4 157.867-157.867-157.867-153.6 98.133-98.133 157.867 157.867 157.867-157.867 98.133 98.133-157.867 153.6 157.867 157.867z" />
|
<glyph unicode="" glyph-name="columndelete" d="M0 960h256v-256h-256v256zM0 192h256v-256h-256v256zM0 576h256v-256h-256v256zM785.067 686.933l93.867-98.133-140.8-140.8 140.8-145.067-93.867-98.133-145.067 145.067-145.067-145.067-93.867 98.133 140.8 145.067-140.8 140.8 93.867 98.133 145.067-145.067z" />
|
||||||
<glyph unicode="" glyph-name="delivery" d="M1006.933 494.933l-196.267 192c-12.8 12.8-29.867 17.067-46.933 17.067h-98.133v38.4c0 25.6-21.333 51.2-51.2 51.2h-563.2c-29.867 0-51.2-21.333-51.2-51.2v-332.8h1024v38.4c0 17.067-8.533 34.133-17.067 46.933zM328.533 516.267c0-34.133-21.333-64-42.667-68.267 0 0-4.267 0-4.267 0l-72.533-8.533v38.4c0 34.133 21.333 64 42.667 68.267 0 0 4.267 0 4.267 0l72.533 8.533v-38.4zM332.8 580.267l-85.333-12.8c-34.133 0-59.733 29.867-55.467 72.533v51.2l85.333 12.8c34.133 4.267 55.467-25.6 55.467-72.533v-51.2zM435.2 499.2l-51.2-4.267c-17.067-4.267-29.867 12.8-29.867 38.4v25.6l46.933 8.533c17.067 4.267 29.867-17.067 29.867-38.4l4.267-29.867zM520.533 695.467c0-46.933-29.867-85.333-59.733-93.867-4.267 0-4.267 0-8.533 0l-98.133-17.067v55.467c0 46.933 29.867 85.333 59.733 93.867 4.267 0 4.267 0 8.533 0l98.133 12.8v-51.2zM921.6 486.4h-187.733c-8.533 0-8.533 4.267-8.533 8.533v145.067c0 4.267 4.267 8.533 8.533 8.533h34.133c0 0 4.267 0 4.267-4.267l153.6-145.067c4.267 0 0-12.8-4.267-12.8zM789.333 307.2c-55.467 0-102.4-46.933-102.4-102.4s46.933-102.4 102.4-102.4c55.467 0 102.4 46.933 102.4 102.4 0 59.733-46.933 102.4-102.4 102.4zM789.333 153.6c-29.867 0-51.2 21.333-51.2 51.2s21.333 51.2 51.2 51.2c29.867 0 51.2-21.333 51.2-51.2 0-25.6-25.6-51.2-51.2-51.2zM1024 384v-110.933c0-25.6-21.333-51.2-51.2-51.2h-51.2c-8.533 64-68.267 115.2-136.533 115.2s-123.733-51.2-132.267-115.2h-268.8c-8.533 64-68.267 115.2-132.267 115.2-68.267 0-123.733-51.2-132.267-115.2h-68.267c-25.6 0-51.2 21.333-51.2 51.2v110.933h1024zM251.733 307.2c-55.467 0-102.4-46.933-102.4-102.4s46.933-102.4 102.4-102.4c55.467 0 102.4 46.933 102.4 102.4 0 59.733-46.933 102.4-102.4 102.4zM251.733 153.6c-29.867 0-51.2 21.333-51.2 51.2s21.333 51.2 51.2 51.2c29.867 0 51.2-21.333 51.2-51.2 0-25.6-25.6-51.2-51.2-51.2z" />
|
<glyph unicode="" glyph-name="delivery" d="M1006.933 494.933l-196.267 192c-12.8 12.8-29.867 17.067-46.933 17.067h-98.133v38.4c0 25.6-21.333 51.2-51.2 51.2h-563.2c-29.867 0-51.2-21.333-51.2-51.2v-332.8h1024v38.4c0 17.067-8.533 34.133-17.067 46.933zM328.533 516.267c0-34.133-21.333-64-42.667-68.267 0 0-4.267 0-4.267 0l-72.533-8.533v38.4c0 34.133 21.333 64 42.667 68.267 0 0 4.267 0 4.267 0l72.533 8.533v-38.4zM332.8 580.267l-85.333-12.8c-34.133 0-59.733 29.867-55.467 72.533v51.2l85.333 12.8c34.133 4.267 55.467-25.6 55.467-72.533v-51.2zM435.2 499.2l-51.2-4.267c-17.067-4.267-29.867 12.8-29.867 38.4v25.6l46.933 8.533c17.067 4.267 29.867-17.067 29.867-38.4l4.267-29.867zM520.533 695.467c0-46.933-29.867-85.333-59.733-93.867-4.267 0-4.267 0-8.533 0l-98.133-17.067v55.467c0 46.933 29.867 85.333 59.733 93.867 4.267 0 4.267 0 8.533 0l98.133 12.8v-51.2zM921.6 486.4h-187.733c-8.533 0-8.533 4.267-8.533 8.533v145.067c0 4.267 4.267 8.533 8.533 8.533h34.133c0 0 4.267 0 4.267-4.267l153.6-145.067c4.267 0 0-12.8-4.267-12.8zM789.333 307.2c-55.467 0-102.4-46.933-102.4-102.4s46.933-102.4 102.4-102.4c55.467 0 102.4 46.933 102.4 102.4 0 59.733-46.933 102.4-102.4 102.4zM789.333 153.6c-29.867 0-51.2 21.333-51.2 51.2s21.333 51.2 51.2 51.2c29.867 0 51.2-21.333 51.2-51.2 0-25.6-25.6-51.2-51.2-51.2zM1024 384v-110.933c0-25.6-21.333-51.2-51.2-51.2h-51.2c-8.533 64-68.267 115.2-136.533 115.2s-123.733-51.2-132.267-115.2h-268.8c-8.533 64-68.267 115.2-132.267 115.2-68.267 0-123.733-51.2-132.267-115.2h-68.267c-25.6 0-51.2 21.333-51.2 51.2v110.933h1024zM251.733 307.2c-55.467 0-102.4-46.933-102.4-102.4s46.933-102.4 102.4-102.4c55.467 0 102.4 46.933 102.4 102.4 0 59.733-46.933 102.4-102.4 102.4zM251.733 153.6c-29.867 0-51.2 21.333-51.2 51.2s21.333 51.2 51.2 51.2c29.867 0 51.2-21.333 51.2-51.2 0-25.6-25.6-51.2-51.2-51.2z" />
|
||||||
<glyph unicode="" glyph-name="details" d="M908.823 844.777v-797.867h-793.6v797.867h793.6zM972.823 959.977h-921.6c-29.867 0-51.2-21.333-51.2-51.2v-921.6c0-21.333 21.333-51.2 51.2-51.2h921.6c21.333 0 51.2 29.867 51.2 51.2v921.6c0 29.867-29.867 51.2-51.2 51.2zM456.556 733.844h341.333v-115.2h-341.333v115.2zM456.556 503.444h341.333v-115.2h-341.333v115.2zM456.556 277.31h341.333v-115.2h-341.333v115.2zM226.156 733.844h115.2v-115.2h-115.2v115.2zM226.156 503.444h115.2v-115.2h-115.2v115.2zM226.156 277.31h115.2v-115.2h-115.2v115.2z" />
|
<glyph unicode="" glyph-name="details" d="M908.823 844.777v-797.867h-793.6v797.867h793.6zM972.823 959.977h-921.6c-29.867 0-51.2-21.333-51.2-51.2v-921.6c0-21.333 21.333-51.2 51.2-51.2h921.6c21.333 0 51.2 29.867 51.2 51.2v921.6c0 29.867-29.867 51.2-51.2 51.2zM456.556 733.844h341.333v-115.2h-341.333v115.2zM456.556 503.444h341.333v-115.2h-341.333v115.2zM456.556 277.31h341.333v-115.2h-341.333v115.2zM226.156 733.844h115.2v-115.2h-115.2v115.2zM226.156 503.444h115.2v-115.2h-115.2v115.2zM226.156 277.31h115.2v-115.2h-115.2v115.2z" />
|
||||||
<glyph unicode="" glyph-name="fiscal" d="M140.8 520.533v-341.333h149.333v341.333h-149.333zM439.467 520.533v-341.333h149.333v341.333h-149.333zM38.4-64h942.933v145.067h-942.933v-145.067zM733.867 520.533v-341.333h149.333v341.333h-149.333zM512 960l-473.6-243.2v-98.133h942.933v98.133l-469.333 243.2z" />
|
<glyph unicode="" glyph-name="fiscal" d="M140.8 520.533v-341.333h149.333v341.333h-149.333zM439.467 520.533v-341.333h149.333v341.333h-149.333zM38.4-64h942.933v145.067h-942.933v-145.067zM733.867 520.533v-341.333h149.333v341.333h-149.333zM512 960l-473.6-243.2v-98.133h942.933v98.133l-469.333 243.2z" />
|
||||||
|
@ -72,4 +72,10 @@
|
||||||
<glyph unicode="" glyph-name="web" d="M827.733 533.333c-29.867 145.067-157.867 256-315.733 256-123.733 0-230.4-68.267-285.867-170.667-128-17.067-226.133-123.733-226.133-256 0-140.8 115.2-256 256-256h554.667c119.467 0 213.333 93.867 213.333 213.333 0 110.933-85.333 204.8-196.267 213.333z" />
|
<glyph unicode="" glyph-name="web" d="M827.733 533.333c-29.867 145.067-157.867 256-315.733 256-123.733 0-230.4-68.267-285.867-170.667-128-17.067-226.133-123.733-226.133-256 0-140.8 115.2-256 256-256h554.667c119.467 0 213.333 93.867 213.333 213.333 0 110.933-85.333 204.8-196.267 213.333z" />
|
||||||
<glyph unicode="" glyph-name="services" d="M951.467 217.6c0 8.533 0 21.333 0 29.867s0 21.333-4.267 29.867l64 51.2c4.267 4.267 8.533 12.8 4.267 21.333l-64 106.667c-4.267 8.533-12.8 8.533-17.067 8.533l-76.8-29.867c-17.067 12.8-34.133 21.333-51.2 29.867l-12.8 81.067c0 8.533-8.533 12.8-17.067 12.8h-123.733c-8.533 0-12.8-4.267-17.067-12.8l-12.8-81.067c-17.067-8.533-38.4-17.067-51.2-29.867l-76.8 29.867c-8.533 4.267-17.067 0-17.067-8.533l-64-106.667c-4.267-8.533-4.267-17.067 4.267-21.333l64-51.2c0-8.533-4.267-21.333-4.267-29.867s0-21.333 4.267-29.867l-55.467-51.2c-4.267-4.267-8.533-12.8-4.267-21.333l64-106.667c4.267-8.533 12.8-8.533 17.067-8.533l76.8 29.867c17.067-12.8 34.133-21.333 51.2-29.867l12.8-81.067c0-8.533 8.533-12.8 17.067-12.8h123.733c8.533 0 12.8 4.267 17.067 12.8l12.8 81.067c17.067 8.533 38.4 17.067 51.2 29.867l76.8-29.867c8.533-4.267 17.067 0 17.067 8.533l64 106.667c4.267 8.533 4.267 17.067-4.267 21.333 0 0-68.267 51.2-68.267 51.2zM721.067 132.267c-64 0-115.2 51.2-115.2 115.2s51.2 115.2 115.2 115.2c64 0 115.2-51.2 115.2-115.2s-51.2-115.2-115.2-115.2zM580.267-64l-8.533 51.2c0 0 0 0 0 0l-46.933-17.067c-38.4-12.8-81.067 0-98.133 34.133l-59.733 106.667c-12.8 21.333-12.8 42.667-8.533 64h-102.4v102.4h128c-29.867 21.333-38.4 68.267-21.333 102.4v0h-106.667v102.4h170.667l4.267 4.267c17.067 34.133 59.733 46.933 98.133 34.133l46.933-17.067c0 0 0 0 0 0l8.533 51.2c0 12.8 4.267 21.333 12.8 29.867h-341.333v102.4h520.533v-64h4.267c38.4 0 72.533-29.867 76.8-68.267l8.533-51.2c0 0 0 0 0 0l46.933 17.067c4.267 0 4.267 0 8.533 4.267v332.8c0 55.467-46.933 102.4-102.4 102.4h-622.933c-55.467 0-102.4-46.933-102.4-102.4v-819.2c0-55.467 46.933-102.4 102.4-102.4h384c0 0 0 0 0 0z" />
|
<glyph unicode="" glyph-name="services" d="M951.467 217.6c0 8.533 0 21.333 0 29.867s0 21.333-4.267 29.867l64 51.2c4.267 4.267 8.533 12.8 4.267 21.333l-64 106.667c-4.267 8.533-12.8 8.533-17.067 8.533l-76.8-29.867c-17.067 12.8-34.133 21.333-51.2 29.867l-12.8 81.067c0 8.533-8.533 12.8-17.067 12.8h-123.733c-8.533 0-12.8-4.267-17.067-12.8l-12.8-81.067c-17.067-8.533-38.4-17.067-51.2-29.867l-76.8 29.867c-8.533 4.267-17.067 0-17.067-8.533l-64-106.667c-4.267-8.533-4.267-17.067 4.267-21.333l64-51.2c0-8.533-4.267-21.333-4.267-29.867s0-21.333 4.267-29.867l-55.467-51.2c-4.267-4.267-8.533-12.8-4.267-21.333l64-106.667c4.267-8.533 12.8-8.533 17.067-8.533l76.8 29.867c17.067-12.8 34.133-21.333 51.2-29.867l12.8-81.067c0-8.533 8.533-12.8 17.067-12.8h123.733c8.533 0 12.8 4.267 17.067 12.8l12.8 81.067c17.067 8.533 38.4 17.067 51.2 29.867l76.8-29.867c8.533-4.267 17.067 0 17.067 8.533l64 106.667c4.267 8.533 4.267 17.067-4.267 21.333 0 0-68.267 51.2-68.267 51.2zM721.067 132.267c-64 0-115.2 51.2-115.2 115.2s51.2 115.2 115.2 115.2c64 0 115.2-51.2 115.2-115.2s-51.2-115.2-115.2-115.2zM580.267-64l-8.533 51.2c0 0 0 0 0 0l-46.933-17.067c-38.4-12.8-81.067 0-98.133 34.133l-59.733 106.667c-12.8 21.333-12.8 42.667-8.533 64h-102.4v102.4h128c-29.867 21.333-38.4 68.267-21.333 102.4v0h-106.667v102.4h170.667l4.267 4.267c17.067 34.133 59.733 46.933 98.133 34.133l46.933-17.067c0 0 0 0 0 0l8.533 51.2c0 12.8 4.267 21.333 12.8 29.867h-341.333v102.4h520.533v-64h4.267c38.4 0 72.533-29.867 76.8-68.267l8.533-51.2c0 0 0 0 0 0l46.933 17.067c4.267 0 4.267 0 8.533 4.267v332.8c0 55.467-46.933 102.4-102.4 102.4h-622.933c-55.467 0-102.4-46.933-102.4-102.4v-819.2c0-55.467 46.933-102.4 102.4-102.4h384c0 0 0 0 0 0z" />
|
||||||
<glyph unicode="" glyph-name="100" d="M640 38.4l-17.067-17.067h-213.333v153.6h-153.6v102.4h200.533l102.4 102.4h-302.933v102.4h405.333l102.4 102.4h-507.733v102.4h520.533v-89.6l72.533 72.533c17.067 17.067 42.667 29.867 68.267 29.867 4.267 0 8.533 0 8.533 0v157.867c0 55.467-46.933 102.4-102.4 102.4h-627.2c-55.467 0-102.4-46.933-102.4-102.4v-819.2c0-55.467 46.933-102.4 102.4-102.4h627.2c55.467 0 102.4 46.933 102.4 102.4v285.867l-285.867-285.867zM917.333 635.733c8.533 0 17.067-4.267 21.333-8.533l76.8-76.8c12.8-12.8 12.8-34.133 0-46.933l-64-64-119.467 119.467 64 64c4.267 8.533 12.8 12.8 21.333 12.8zM797.867 529.067l119.467-123.733-320-320h-123.733v119.467l324.267 324.267z" />
|
<glyph unicode="" glyph-name="100" d="M640 38.4l-17.067-17.067h-213.333v153.6h-153.6v102.4h200.533l102.4 102.4h-302.933v102.4h405.333l102.4 102.4h-507.733v102.4h520.533v-89.6l72.533 72.533c17.067 17.067 42.667 29.867 68.267 29.867 4.267 0 8.533 0 8.533 0v157.867c0 55.467-46.933 102.4-102.4 102.4h-627.2c-55.467 0-102.4-46.933-102.4-102.4v-819.2c0-55.467 46.933-102.4 102.4-102.4h627.2c55.467 0 102.4 46.933 102.4 102.4v285.867l-285.867-285.867zM917.333 635.733c8.533 0 17.067-4.267 21.333-8.533l76.8-76.8c12.8-12.8 12.8-34.133 0-46.933l-64-64-119.467 119.467 64 64c4.267 8.533 12.8 12.8 21.333 12.8zM797.867 529.067l119.467-123.733-320-320h-123.733v119.467l324.267 324.267z" />
|
||||||
|
<glyph unicode="" glyph-name="item" d="M593.067 132.267v29.867l8.533 12.8c42.667-38.4 102.4-59.733 166.4-59.733 140.8 0 251.733 115.2 251.733 251.733 0 140.8-115.2 251.733-251.733 251.733-140.8 0-251.733-115.2-251.733-251.733 0-64 21.333-119.467 59.733-166.4l-12.8-8.533h-29.867l-192-196.267 59.733-59.733 192 196.267zM772.267 541.867c98.133 0 174.933-76.8 174.933-174.933s-76.8-174.933-174.933-174.933c-98.133 0-174.933 76.8-174.933 174.933-4.267 93.867 76.8 174.933 174.933 174.933zM460.8 110.933v0 4.267zM0 960h102.4v-849.067h-102.4v849.067zM1024 588.8v371.2h-102.4v-290.133c38.4-21.333 72.533-46.933 102.4-81.067zM456.533 230.4c-17.067 42.667-25.6 85.333-25.6 132.267 0 51.2 12.8 93.867 29.867 136.533v460.8h-153.6v-849.067h29.867l119.467 119.467zM204.8 960h51.2v-849.067h-51.2v849.067zM772.267 704c17.067 0 34.133 0 46.933-4.267v260.267h-51.2l4.267-256c-4.267 0-4.267 0 0 0zM665.6 686.933v273.067h-102.4c0 0 0-170.667 0-328.533 29.867 25.6 64 42.667 102.4 55.467z" />
|
||||||
|
<glyph unicode="" glyph-name="basket" d="M230.4 28.8l-19.2 326.4c0 19.2 12.8 35.2 32 38.4 19.2 0 35.2-12.8 38.4-32l16-323.2c0-19.2-12.8-35.2-32-38.4 0 0-3.2 0-3.2 0-16-3.2-32 12.8-32 28.8zM387.2 0c19.2 0 35.2 16 35.2 35.2v329.6c0 19.2-16 35.2-35.2 35.2s-35.2-16-35.2-35.2v-329.6c0-22.4 16-35.2 35.2-35.2zM512 3.2c19.2 0 35.2 16 35.2 35.2v326.4c0 19.2-16 35.2-35.2 35.2s-35.2-16-35.2-35.2v-326.4c0-19.2 16-35.2 35.2-35.2zM764.8 3.2c0 0 0 0 0 0 19.2 0 35.2 16 35.2 32 6.4 150.4 9.6 316.8 9.6 320 0 19.2-16 35.2-35.2 35.2s-35.2-16-35.2-35.2c0-6.4-6.4-230.4-9.6-316.8 0-16 16-35.2 35.2-35.2zM636.8 3.2c19.2 0 35.2 16 35.2 35.2v326.4c0 19.2-16 35.2-35.2 35.2s-35.2-16-35.2-35.2v-326.4c0-19.2 16-35.2 35.2-35.2zM1024 537.6v-80c0-19.2-16-35.2-35.2-35.2h-28.8l-64-470.4c-3.2-16-16-28.8-35.2-28.8h-697.6c-16 0-32 12.8-35.2 28.8l-64 473.6h-28.8c-19.2 0-35.2 16-35.2 35.2v80c0 19.2 16 35.2 35.2 35.2h172.8l140.8 291.2c-3.2 9.6-6.4 22.4-6.4 35.2 6.4 38.4 41.6 67.2 80 60.8s67.2-41.6 60.8-80c-6.4-38.4-41.6-67.2-80-60.8 0 0 0 0 0 0l-112-249.6h438.4l-112 249.6c0 0 0 0 0 0-38.4-6.4-73.6 22.4-80 60.8s22.4 73.6 60.8 80c38.4 6.4 73.6-22.4 80-60.8 3.2-12.8 0-25.6-6.4-35.2l140.8-291.2h172.8c22.4-3.2 38.4-19.2 38.4-38.4zM886.4 425.6h-748.8l54.4-435.2h640l54.4 435.2z" />
|
||||||
|
<glyph unicode="" glyph-name="worker" d="M297.6 505.6c-44.8 0-80-35.2-80-83.2s35.2-83.2 80-83.2 80 35.2 80 83.2-35.2 83.2-80 83.2zM297.6 320c-54.4 0-163.2-28.8-163.2-83.2v-60.8h326.4v60.8c0 54.4-108.8 83.2-163.2 83.2zM880 444.8h-316.8c-16 0-28.8 12.8-28.8 28.8s12.8 28.8 28.8 28.8h316.8c16 0 25.6-12.8 25.6-28.8s-12.8-28.8-25.6-28.8zM880 176h-316.8c-16 0-28.8 12.8-28.8 25.6s12.8 25.6 28.8 25.6h316.8c16 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM880 310.4h-316.8c-16 0-28.8 12.8-28.8 25.6s12.8 25.6 28.8 25.6h316.8c16 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM624 912v-236.8c0-25.6-22.4-48-48-48h-131.2c-25.6 0-48 22.4-48 48v236.8c0 25.6 22.4 48 48 48h131.2c28.8 0 48-22.4 48-48zM1024 665.6v-640c0-51.2-41.6-89.6-89.6-89.6h-844.8c-48 0-89.6 41.6-89.6 89.6v640c0 51.2 41.6 89.6 89.6 89.6h275.2v-54.4h-275.2c-19.2 0-35.2-16-35.2-35.2v-640c0-19.2 16-35.2 35.2-35.2h841.6c19.2 0 35.2 16 35.2 35.2v640c0 19.2-16 35.2-35.2 35.2h-275.2v54.4h275.2c51.2 0 92.8-38.4 92.8-89.6z" />
|
||||||
|
<glyph unicode="" glyph-name="columnadd" d="M0 960h256v-256h-256v256zM0 192h256v-256h-256v256zM0 576h256v-256h-256v256zM913.067 512v-132.267h-204.8v-204.8h-136.533v204.8h-204.8v132.267h204.8v204.8h136.533v-204.8z" />
|
||||||
|
<glyph unicode="" glyph-name="linesplit" d="M686.933 174.933h-119.467l-268.8 273.067 268.8 273.067h119.467v-153.6l337.067 196.267-337.067 196.267v-153.6h-153.6l-290.133-294.4h-243.2v-128h243.2l290.133-294.4h153.6v-153.6l337.067 196.267-337.067 196.267z" />
|
||||||
|
<glyph unicode="" glyph-name="linedelete" d="M354.133 192l-98.133 98.133 157.867 153.6-157.867 157.867 98.133 102.4 157.867-157.867 157.867 153.6 98.133-98.133-157.867-157.867 157.867-153.6-98.133-98.133-157.867 157.867-157.867-157.867zM780.8 507.733l-64-64 59.733-55.467h247.467v119.467h-243.2zM307.2 443.733l-64 64h-243.2v-119.467h251.733l55.467 55.467z" />
|
||||||
</font></defs></svg>
|
</font></defs></svg>
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 68 KiB |
Binary file not shown.
Binary file not shown.
|
@ -14,5 +14,6 @@ export default function moduleImport(moduleName) {
|
||||||
case 'claim' : return import('claim/front');
|
case 'claim' : return import('claim/front');
|
||||||
case 'agency' : return import('agency/front');
|
case 'agency' : return import('agency/front');
|
||||||
case 'travel' : return import('travel/front');
|
case 'travel' : return import('travel/front');
|
||||||
|
case 'worker' : return import('worker/front');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ Claims: Reclamaciones
|
||||||
Data saved!: ¡Datos guardados!
|
Data saved!: ¡Datos guardados!
|
||||||
Home: Inicio
|
Home: Inicio
|
||||||
Items: Artículos
|
Items: Artículos
|
||||||
|
Workers: Trabajadores
|
||||||
Locator: Localizador
|
Locator: Localizador
|
||||||
Logout: Cerrar sesión
|
Logout: Cerrar sesión
|
||||||
Modules access : Acceso a módulos
|
Modules access : Acceso a módulos
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
"name": "Agencies",
|
"name": "Agencies",
|
||||||
"icon" : "local_shipping",
|
"icon" : "local_shipping",
|
||||||
"validations" : true,
|
"validations" : true,
|
||||||
|
"menu": [
|
||||||
|
{"state": "zone.card.basicData", "icon": "settings"},
|
||||||
|
{"state": "zone.card.location", "icon": "my_location"}
|
||||||
|
],
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"url": "/zone",
|
"url": "/zone",
|
||||||
|
@ -10,28 +14,24 @@
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "ui-view",
|
"component": "ui-view",
|
||||||
"description": "Zones"
|
"description": "Zones"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/index?q",
|
"url": "/index?q",
|
||||||
"state": "zone.index",
|
"state": "zone.index",
|
||||||
"component": "vn-zone-index",
|
"component": "vn-zone-index",
|
||||||
"description": "Zones",
|
"description": "Zones",
|
||||||
"acl": ["developer"]
|
"acl": ["developer"]
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/create",
|
"url": "/create",
|
||||||
"state": "zone.create",
|
"state": "zone.create",
|
||||||
"component": "vn-zone-create",
|
"component": "vn-zone-create",
|
||||||
"description": "New zone"
|
"description": "New zone"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/:id",
|
"url": "/:id",
|
||||||
"state": "zone.card",
|
"state": "zone.card",
|
||||||
"component": "vn-zone-card",
|
"component": "vn-zone-card",
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"description": "Detail"
|
"description": "Detail"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/location?q",
|
"url": "/location?q",
|
||||||
"state": "zone.card.location",
|
"state": "zone.card.location",
|
||||||
"component": "vn-zone-location",
|
"component": "vn-zone-location",
|
||||||
|
@ -39,8 +39,7 @@
|
||||||
"params": {
|
"params": {
|
||||||
"zone": "$ctrl.zone"
|
"zone": "$ctrl.zone"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/basic-data",
|
"url": "/basic-data",
|
||||||
"state": "zone.card.basicData",
|
"state": "zone.card.basicData",
|
||||||
"component": "vn-zone-basic-data",
|
"component": "vn-zone-basic-data",
|
||||||
|
@ -49,9 +48,5 @@
|
||||||
"zone": "$ctrl.zone"
|
"zone": "$ctrl.zone"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"menu": [
|
|
||||||
{"state": "zone.card.basicData", "icon": "settings"},
|
|
||||||
{"state": "zone.card.location", "icon": "my_location"}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -4,6 +4,15 @@
|
||||||
"icon": "icon-claims",
|
"icon": "icon-claims",
|
||||||
"validations": true,
|
"validations": true,
|
||||||
"dependencies": ["item", "client"],
|
"dependencies": ["item", "client"],
|
||||||
|
"menu": [
|
||||||
|
{"state": "claim.card.basicData", "icon": "settings"},
|
||||||
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
||||||
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
||||||
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
||||||
|
],
|
||||||
|
"keybindings": [
|
||||||
|
{"key": "r", "state": "claim.index"}
|
||||||
|
],
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"url": "/claim",
|
"url": "/claim",
|
||||||
|
@ -11,20 +20,17 @@
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "ui-view",
|
"component": "ui-view",
|
||||||
"description": "Claims"
|
"description": "Claims"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/index?q",
|
"url": "/index?q",
|
||||||
"state": "claim.index",
|
"state": "claim.index",
|
||||||
"component": "vn-claim-index",
|
"component": "vn-claim-index",
|
||||||
"description": "Claims"
|
"description": "Claims"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/:id",
|
"url": "/:id",
|
||||||
"state": "claim.card",
|
"state": "claim.card",
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "vn-claim-card"
|
"component": "vn-claim-card"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/summary",
|
"url": "/summary",
|
||||||
"state": "claim.card.summary",
|
"state": "claim.card.summary",
|
||||||
"component": "vn-claim-summary",
|
"component": "vn-claim-summary",
|
||||||
|
@ -32,8 +38,7 @@
|
||||||
"params": {
|
"params": {
|
||||||
"claim": "$ctrl.claim"
|
"claim": "$ctrl.claim"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/basic-data",
|
"url": "/basic-data",
|
||||||
"state": "claim.card.basicData",
|
"state": "claim.card.basicData",
|
||||||
"component": "vn-claim-basic-data",
|
"component": "vn-claim-basic-data",
|
||||||
|
@ -42,8 +47,7 @@
|
||||||
"claim": "$ctrl.claim"
|
"claim": "$ctrl.claim"
|
||||||
},
|
},
|
||||||
"acl": ["salesPerson"]
|
"acl": ["salesPerson"]
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/detail",
|
"url": "/detail",
|
||||||
"state": "claim.card.detail",
|
"state": "claim.card.detail",
|
||||||
"component": "vn-claim-detail",
|
"component": "vn-claim-detail",
|
||||||
|
@ -52,8 +56,7 @@
|
||||||
"claim": "$ctrl.claim"
|
"claim": "$ctrl.claim"
|
||||||
},
|
},
|
||||||
"acl": ["salesPerson"]
|
"acl": ["salesPerson"]
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/development",
|
"url": "/development",
|
||||||
"state": "claim.card.development",
|
"state": "claim.card.development",
|
||||||
"component": "vn-claim-development",
|
"component": "vn-claim-development",
|
||||||
|
@ -62,8 +65,7 @@
|
||||||
"claim": "$ctrl.claim"
|
"claim": "$ctrl.claim"
|
||||||
},
|
},
|
||||||
"acl": ["salesAssistant"]
|
"acl": ["salesAssistant"]
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/action",
|
"url": "/action",
|
||||||
"state": "claim.card.action",
|
"state": "claim.card.action",
|
||||||
"component": "vn-claim-action",
|
"component": "vn-claim-action",
|
||||||
|
@ -73,14 +75,5 @@
|
||||||
},
|
},
|
||||||
"acl": ["salesAssistant"]
|
"acl": ["salesAssistant"]
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"menu": [
|
|
||||||
{"state": "claim.card.basicData", "icon": "settings"},
|
|
||||||
{"state": "claim.card.detail", "icon": "icon-details"},
|
|
||||||
{"state": "claim.card.development", "icon": "icon-traceability"},
|
|
||||||
{"state": "claim.card.action", "icon": "icon-actions"}
|
|
||||||
],
|
|
||||||
"keybindings": [
|
|
||||||
{"key": "r", "state": "claim.index"}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -3,327 +3,6 @@
|
||||||
"name": "Clients",
|
"name": "Clients",
|
||||||
"icon": "person",
|
"icon": "person",
|
||||||
"validations" : true,
|
"validations" : true,
|
||||||
"routes": [
|
|
||||||
{
|
|
||||||
"url": "/client",
|
|
||||||
"state": "client",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "ui-view",
|
|
||||||
"description": "Clients",
|
|
||||||
"acl": ["employee"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index?q",
|
|
||||||
"state": "client.index",
|
|
||||||
"component": "vn-client-index",
|
|
||||||
"description": "Clients"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.create",
|
|
||||||
"component": "vn-client-create",
|
|
||||||
"description": "New client"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:id",
|
|
||||||
"state": "client.card",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "vn-client-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/summary",
|
|
||||||
"state": "client.card.summary",
|
|
||||||
"component": "vn-client-summary",
|
|
||||||
"description": "Summary",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/basic-data",
|
|
||||||
"state": "client.card.basicData",
|
|
||||||
"component": "vn-client-basic-data",
|
|
||||||
"description": "Basic data",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/fiscal-data",
|
|
||||||
"state": "client.card.fiscalData",
|
|
||||||
"component": "vn-client-fiscal-data",
|
|
||||||
"description": "Fiscal data",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/billing-data",
|
|
||||||
"state": "client.card.billingData",
|
|
||||||
"component": "vn-client-billing-data",
|
|
||||||
"description": "Pay method",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/address",
|
|
||||||
"state": "client.card.address",
|
|
||||||
"component": "ui-view",
|
|
||||||
"abstract": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.address.index",
|
|
||||||
"component": "vn-client-address-index",
|
|
||||||
"description": "Addresses",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.address.create",
|
|
||||||
"component": "vn-client-address-create",
|
|
||||||
"description": "New address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:addressId/edit",
|
|
||||||
"state": "client.card.address.edit",
|
|
||||||
"component": "vn-client-address-edit",
|
|
||||||
"description": "Edit address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/web-access",
|
|
||||||
"state": "client.card.webAccess",
|
|
||||||
"component": "vn-client-web-access",
|
|
||||||
"description": "Web access",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/note",
|
|
||||||
"state": "client.card.note",
|
|
||||||
"component": "ui-view",
|
|
||||||
"abstract": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.note.index",
|
|
||||||
"component": "vn-client-note",
|
|
||||||
"description": "Notes",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.note.create",
|
|
||||||
"component": "vn-note-create",
|
|
||||||
"description": "New note"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/credit",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.credit",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.credit.index",
|
|
||||||
"component": "vn-client-credit-index",
|
|
||||||
"description": "Credits",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.credit.create",
|
|
||||||
"component": "vn-client-credit-create",
|
|
||||||
"description": "New credit",
|
|
||||||
"acl": ["teamBoss"],
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/greuge",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.greuge",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.greuge.index",
|
|
||||||
"component": "vn-client-greuge-index",
|
|
||||||
"description": "Greuges",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.greuge.create",
|
|
||||||
"component": "vn-client-greuge-create",
|
|
||||||
"description": "New greuge",
|
|
||||||
"acl": ["salesAssistant"],
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/mandate",
|
|
||||||
"state": "client.card.mandate",
|
|
||||||
"component": "vn-client-mandate",
|
|
||||||
"description": "Mandates"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/risk",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.risk",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.risk.index",
|
|
||||||
"component": "vn-client-risk-index",
|
|
||||||
"description": "Balance",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create?payed&companyFk&bankFk&payedAmount",
|
|
||||||
"state": "client.card.risk.create",
|
|
||||||
"component": "vn-client-risk-create",
|
|
||||||
"description": "New payment",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/recovery",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.recovery",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.recovery.index",
|
|
||||||
"component": "vn-client-recovery-index",
|
|
||||||
"description": "Recoveries",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.recovery.create",
|
|
||||||
"component": "vn-client-recovery-create",
|
|
||||||
"description": "New recovery",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/credit-insurance",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.creditInsurance",
|
|
||||||
"component": "ui-view",
|
|
||||||
"acl": ["creditInsurance"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.creditInsurance.index",
|
|
||||||
"component": "vn-client-credit-insurance-index",
|
|
||||||
"description": "Credit contracts",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.creditInsurance.create",
|
|
||||||
"component": "vn-client-credit-insurance-create",
|
|
||||||
"description": "New insurance",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/insurance",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.creditInsurance.insurance",
|
|
||||||
"component": "ui-view",
|
|
||||||
"acl": ["creditInsurance"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:classificationId/index",
|
|
||||||
"state": "client.card.creditInsurance.insurance.index",
|
|
||||||
"component": "vn-client-credit-insurance-insurance-index",
|
|
||||||
"description": "Requested credits",
|
|
||||||
"acl": ["creditInsurance"],
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:classificationId/create",
|
|
||||||
"state": "client.card.creditInsurance.insurance.create",
|
|
||||||
"component": "vn-client-credit-insurance-insurance-create",
|
|
||||||
"description": "New credit",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/contact",
|
|
||||||
"state": "client.card.contact",
|
|
||||||
"component": "vn-client-contact",
|
|
||||||
"description": "Contacts",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/sample",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "client.card.sample",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index",
|
|
||||||
"state": "client.card.sample.index",
|
|
||||||
"component": "vn-client-sample-index",
|
|
||||||
"description": "Samples",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "client.card.sample.create",
|
|
||||||
"component": "vn-client-sample-create",
|
|
||||||
"description": "Send sample",
|
|
||||||
"params": {
|
|
||||||
"client": "$ctrl.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/web-payment",
|
|
||||||
"state": "client.card.webPayment",
|
|
||||||
"component": "vn-client-web-payment",
|
|
||||||
"description": "Web Payment"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/log",
|
|
||||||
"state": "client.card.log",
|
|
||||||
"component": "vn-client-log",
|
|
||||||
"description": "Log"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"menu": [
|
"menu": [
|
||||||
{"state": "client.card.basicData", "icon": "settings"},
|
{"state": "client.card.basicData", "icon": "settings"},
|
||||||
{"state": "client.card.fiscalData", "icon": "account_balance"},
|
{"state": "client.card.fiscalData", "icon": "account_balance"},
|
||||||
|
@ -350,5 +29,286 @@
|
||||||
],
|
],
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
{"key": "c", "state": "client.index"}
|
{"key": "c", "state": "client.index"}
|
||||||
|
],
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"url": "/client",
|
||||||
|
"state": "client",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "ui-view",
|
||||||
|
"description": "Clients",
|
||||||
|
"acl": ["employee"]
|
||||||
|
}, {
|
||||||
|
"url": "/index?q",
|
||||||
|
"state": "client.index",
|
||||||
|
"component": "vn-client-index",
|
||||||
|
"description": "Clients"
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.create",
|
||||||
|
"component": "vn-client-create",
|
||||||
|
"description": "New client"
|
||||||
|
}, {
|
||||||
|
"url": "/:id",
|
||||||
|
"state": "client.card",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "vn-client-card"
|
||||||
|
}, {
|
||||||
|
"url": "/summary",
|
||||||
|
"state": "client.card.summary",
|
||||||
|
"component": "vn-client-summary",
|
||||||
|
"description": "Summary",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/basic-data",
|
||||||
|
"state": "client.card.basicData",
|
||||||
|
"component": "vn-client-basic-data",
|
||||||
|
"description": "Basic data",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/fiscal-data",
|
||||||
|
"state": "client.card.fiscalData",
|
||||||
|
"component": "vn-client-fiscal-data",
|
||||||
|
"description": "Fiscal data",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/billing-data",
|
||||||
|
"state": "client.card.billingData",
|
||||||
|
"component": "vn-client-billing-data",
|
||||||
|
"description": "Pay method",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/address",
|
||||||
|
"state": "client.card.address",
|
||||||
|
"component": "ui-view",
|
||||||
|
"abstract": true
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.address.index",
|
||||||
|
"component": "vn-client-address-index",
|
||||||
|
"description": "Addresses",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.address.create",
|
||||||
|
"component": "vn-client-address-create",
|
||||||
|
"description": "New address"
|
||||||
|
}, {
|
||||||
|
"url": "/:addressId/edit",
|
||||||
|
"state": "client.card.address.edit",
|
||||||
|
"component": "vn-client-address-edit",
|
||||||
|
"description": "Edit address"
|
||||||
|
}, {
|
||||||
|
"url": "/web-access",
|
||||||
|
"state": "client.card.webAccess",
|
||||||
|
"component": "vn-client-web-access",
|
||||||
|
"description": "Web access",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/note",
|
||||||
|
"state": "client.card.note",
|
||||||
|
"component": "ui-view",
|
||||||
|
"abstract": true
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.note.index",
|
||||||
|
"component": "vn-client-note",
|
||||||
|
"description": "Notes",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.note.create",
|
||||||
|
"component": "vn-note-create",
|
||||||
|
"description": "New note"
|
||||||
|
}, {
|
||||||
|
"url": "/credit",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.credit",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.credit.index",
|
||||||
|
"component": "vn-client-credit-index",
|
||||||
|
"description": "Credits",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.credit.create",
|
||||||
|
"component": "vn-client-credit-create",
|
||||||
|
"description": "New credit",
|
||||||
|
"acl": ["teamBoss"],
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/greuge",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.greuge",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.greuge.index",
|
||||||
|
"component": "vn-client-greuge-index",
|
||||||
|
"description": "Greuges",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.greuge.create",
|
||||||
|
"component": "vn-client-greuge-create",
|
||||||
|
"description": "New greuge",
|
||||||
|
"acl": ["salesAssistant"],
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/mandate",
|
||||||
|
"state": "client.card.mandate",
|
||||||
|
"component": "vn-client-mandate",
|
||||||
|
"description": "Mandates"
|
||||||
|
}, {
|
||||||
|
"url": "/risk",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.risk",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.risk.index",
|
||||||
|
"component": "vn-client-risk-index",
|
||||||
|
"description": "Balance",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create?payed&companyFk&bankFk&payedAmount",
|
||||||
|
"state": "client.card.risk.create",
|
||||||
|
"component": "vn-client-risk-create",
|
||||||
|
"description": "New payment",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/recovery",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.recovery",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.recovery.index",
|
||||||
|
"component": "vn-client-recovery-index",
|
||||||
|
"description": "Recoveries",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.recovery.create",
|
||||||
|
"component": "vn-client-recovery-create",
|
||||||
|
"description": "New recovery",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/credit-insurance",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.creditInsurance",
|
||||||
|
"component": "ui-view",
|
||||||
|
"acl": ["creditInsurance"]
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.creditInsurance.index",
|
||||||
|
"component": "vn-client-credit-insurance-index",
|
||||||
|
"description": "Credit contracts",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.creditInsurance.create",
|
||||||
|
"component": "vn-client-credit-insurance-create",
|
||||||
|
"description": "New insurance",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/insurance",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.creditInsurance.insurance",
|
||||||
|
"component": "ui-view",
|
||||||
|
"acl": ["creditInsurance"]
|
||||||
|
}, {
|
||||||
|
"url": "/:classificationId/index",
|
||||||
|
"state": "client.card.creditInsurance.insurance.index",
|
||||||
|
"component": "vn-client-credit-insurance-insurance-index",
|
||||||
|
"description": "Requested credits",
|
||||||
|
"acl": ["creditInsurance"],
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/:classificationId/create",
|
||||||
|
"state": "client.card.creditInsurance.insurance.create",
|
||||||
|
"component": "vn-client-credit-insurance-insurance-create",
|
||||||
|
"description": "New credit",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/contact",
|
||||||
|
"state": "client.card.contact",
|
||||||
|
"component": "vn-client-contact",
|
||||||
|
"description": "Contacts",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/sample",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "client.card.sample",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index",
|
||||||
|
"state": "client.card.sample.index",
|
||||||
|
"component": "vn-client-sample-index",
|
||||||
|
"description": "Samples",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "client.card.sample.create",
|
||||||
|
"component": "vn-client-sample-create",
|
||||||
|
"description": "Send sample",
|
||||||
|
"params": {
|
||||||
|
"client": "$ctrl.client"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/web-payment",
|
||||||
|
"state": "client.card.webPayment",
|
||||||
|
"component": "vn-client-web-payment",
|
||||||
|
"description": "Web Payment"
|
||||||
|
}, {
|
||||||
|
"url" : "/log",
|
||||||
|
"state": "client.card.log",
|
||||||
|
"component": "vn-client-log",
|
||||||
|
"description": "Log"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,119 +4,6 @@
|
||||||
"icon": "inbox",
|
"icon": "inbox",
|
||||||
"validations" : true,
|
"validations" : true,
|
||||||
"dependencies": ["client"],
|
"dependencies": ["client"],
|
||||||
"routes": [
|
|
||||||
{
|
|
||||||
"url": "/item",
|
|
||||||
"state": "item",
|
|
||||||
"abstract": true,
|
|
||||||
"description": "Items",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index?q",
|
|
||||||
"state": "item.index",
|
|
||||||
"component": "vn-item-index",
|
|
||||||
"description": "Items"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create",
|
|
||||||
"state": "item.create",
|
|
||||||
"component": "vn-item-create",
|
|
||||||
"description": "New item"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:id",
|
|
||||||
"state": "item.card",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "vn-item-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/data",
|
|
||||||
"state": "item.card.data",
|
|
||||||
"component": "vn-item-data",
|
|
||||||
"description": "Basic data",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["buyer"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/tags",
|
|
||||||
"state": "item.card.tags",
|
|
||||||
"component": "vn-item-tags",
|
|
||||||
"description": "Tags",
|
|
||||||
"params": {
|
|
||||||
"item-tags": "$ctrl.itemTags"
|
|
||||||
},
|
|
||||||
"acl": ["buyer"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/tax",
|
|
||||||
"state": "item.card.tax",
|
|
||||||
"component": "vn-item-tax",
|
|
||||||
"description": "Tax",
|
|
||||||
"acl": ["administrative","buyer"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/niche",
|
|
||||||
"state": "item.card.niche",
|
|
||||||
"component": "vn-item-niche",
|
|
||||||
"description": "Niches",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["buyer","replenisher"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/botanical",
|
|
||||||
"state": "item.card.botanical",
|
|
||||||
"component": "vn-item-botanical",
|
|
||||||
"description": "Botanical",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["buyer"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/barcode",
|
|
||||||
"state": "item.card.itemBarcode",
|
|
||||||
"component": "vn-item-barcode",
|
|
||||||
"description": "Barcodes",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["buyer","replenisher"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/summary",
|
|
||||||
"state": "item.card.summary",
|
|
||||||
"component": "vn-item-summary",
|
|
||||||
"description": "Summary",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/diary?warehouseFk&ticketFk",
|
|
||||||
"state": "item.card.diary",
|
|
||||||
"component": "vn-item-diary",
|
|
||||||
"description": "Diary",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["employee"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/last-entries",
|
|
||||||
"state": "item.card.last-entries",
|
|
||||||
"component": "vn-item-last-entries",
|
|
||||||
"description": "Last entries",
|
|
||||||
"params": {
|
|
||||||
"item": "$ctrl.item"
|
|
||||||
},
|
|
||||||
"acl": ["employee"]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"menu": [
|
"menu": [
|
||||||
{"state": "item.card.data", "icon": "settings"},
|
{"state": "item.card.data", "icon": "settings"},
|
||||||
{"state": "item.card.tags", "icon": "icon-tags"},
|
{"state": "item.card.tags", "icon": "icon-tags"},
|
||||||
|
@ -129,5 +16,106 @@
|
||||||
],
|
],
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
{"key": "a", "state": "item.index"}
|
{"key": "a", "state": "item.index"}
|
||||||
|
],
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"url": "/item",
|
||||||
|
"state": "item",
|
||||||
|
"abstract": true,
|
||||||
|
"description": "Items",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/index?q",
|
||||||
|
"state": "item.index",
|
||||||
|
"component": "vn-item-index",
|
||||||
|
"description": "Items"
|
||||||
|
}, {
|
||||||
|
"url": "/create",
|
||||||
|
"state": "item.create",
|
||||||
|
"component": "vn-item-create",
|
||||||
|
"description": "New item"
|
||||||
|
}, {
|
||||||
|
"url": "/:id",
|
||||||
|
"state": "item.card",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "vn-item-card"
|
||||||
|
}, {
|
||||||
|
"url" : "/data",
|
||||||
|
"state": "item.card.data",
|
||||||
|
"component": "vn-item-data",
|
||||||
|
"description": "Basic data",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["buyer"]
|
||||||
|
}, {
|
||||||
|
"url" : "/tags",
|
||||||
|
"state": "item.card.tags",
|
||||||
|
"component": "vn-item-tags",
|
||||||
|
"description": "Tags",
|
||||||
|
"params": {
|
||||||
|
"item-tags": "$ctrl.itemTags"
|
||||||
|
},
|
||||||
|
"acl": ["buyer"]
|
||||||
|
}, {
|
||||||
|
"url" : "/tax",
|
||||||
|
"state": "item.card.tax",
|
||||||
|
"component": "vn-item-tax",
|
||||||
|
"description": "Tax",
|
||||||
|
"acl": ["administrative","buyer"]
|
||||||
|
}, {
|
||||||
|
"url" : "/niche",
|
||||||
|
"state": "item.card.niche",
|
||||||
|
"component": "vn-item-niche",
|
||||||
|
"description": "Niches",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["buyer","replenisher"]
|
||||||
|
}, {
|
||||||
|
"url" : "/botanical",
|
||||||
|
"state": "item.card.botanical",
|
||||||
|
"component": "vn-item-botanical",
|
||||||
|
"description": "Botanical",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["buyer"]
|
||||||
|
}, {
|
||||||
|
"url" : "/barcode",
|
||||||
|
"state": "item.card.itemBarcode",
|
||||||
|
"component": "vn-item-barcode",
|
||||||
|
"description": "Barcodes",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["buyer","replenisher"]
|
||||||
|
}, {
|
||||||
|
"url" : "/summary",
|
||||||
|
"state": "item.card.summary",
|
||||||
|
"component": "vn-item-summary",
|
||||||
|
"description": "Summary",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/diary?warehouseFk&ticketFk",
|
||||||
|
"state": "item.card.diary",
|
||||||
|
"component": "vn-item-diary",
|
||||||
|
"description": "Diary",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["employee"]
|
||||||
|
}, {
|
||||||
|
"url" : "/last-entries",
|
||||||
|
"state": "item.card.last-entries",
|
||||||
|
"component": "vn-item-last-entries",
|
||||||
|
"description": "Last entries",
|
||||||
|
"params": {
|
||||||
|
"item": "$ctrl.item"
|
||||||
|
},
|
||||||
|
"acl": ["employee"]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -4,6 +4,12 @@
|
||||||
"icon": "shopping_cart",
|
"icon": "shopping_cart",
|
||||||
"validations": true,
|
"validations": true,
|
||||||
"dependencies": ["item", "ticket"],
|
"dependencies": ["item", "ticket"],
|
||||||
|
"menu": [
|
||||||
|
{"state": "order.card.basicData", "icon": "settings"},
|
||||||
|
{"state": "order.card.catalog", "icon": "shopping_cart"},
|
||||||
|
{"state": "order.card.volume", "icon": "icon-volume"},
|
||||||
|
{"state": "order.card.line", "icon": "icon-lines"}
|
||||||
|
],
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"url": "/order",
|
"url": "/order",
|
||||||
|
@ -11,20 +17,17 @@
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "ui-view",
|
"component": "ui-view",
|
||||||
"description": "Orders"
|
"description": "Orders"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/index?q",
|
"url": "/index?q",
|
||||||
"state": "order.index",
|
"state": "order.index",
|
||||||
"component": "vn-order-index",
|
"component": "vn-order-index",
|
||||||
"description": "Orders"
|
"description": "Orders"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/:id",
|
"url": "/:id",
|
||||||
"state": "order.card",
|
"state": "order.card",
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "vn-order-card"
|
"component": "vn-order-card"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/summary",
|
"url": "/summary",
|
||||||
"state": "order.card.summary",
|
"state": "order.card.summary",
|
||||||
"component": "vn-order-summary",
|
"component": "vn-order-summary",
|
||||||
|
@ -32,8 +35,7 @@
|
||||||
"params": {
|
"params": {
|
||||||
"order": "$ctrl.order"
|
"order": "$ctrl.order"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/catalog?category&type",
|
"url": "/catalog?category&type",
|
||||||
"state": "order.card.catalog",
|
"state": "order.card.catalog",
|
||||||
"component": "vn-order-catalog",
|
"component": "vn-order-catalog",
|
||||||
|
@ -41,8 +43,7 @@
|
||||||
"params": {
|
"params": {
|
||||||
"order": "$ctrl.order"
|
"order": "$ctrl.order"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/volume",
|
"url": "/volume",
|
||||||
"state": "order.card.volume",
|
"state": "order.card.volume",
|
||||||
"component": "vn-order-volume",
|
"component": "vn-order-volume",
|
||||||
|
@ -50,8 +51,7 @@
|
||||||
"params": {
|
"params": {
|
||||||
"order": "$ctrl.order"
|
"order": "$ctrl.order"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/line",
|
"url": "/line",
|
||||||
"state": "order.card.line",
|
"state": "order.card.line",
|
||||||
"component": "vn-order-line",
|
"component": "vn-order-line",
|
||||||
|
@ -59,14 +59,12 @@
|
||||||
"params": {
|
"params": {
|
||||||
"order": "$ctrl.order"
|
"order": "$ctrl.order"
|
||||||
}
|
}
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/create?clientFk",
|
"url": "/create?clientFk",
|
||||||
"state": "order.create",
|
"state": "order.create",
|
||||||
"component": "vn-order-create",
|
"component": "vn-order-create",
|
||||||
"description": "New order"
|
"description": "New order"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/basic-data",
|
"url": "/basic-data",
|
||||||
"state": "order.card.basicData",
|
"state": "order.card.basicData",
|
||||||
"component": "vn-order-basic-data",
|
"component": "vn-order-basic-data",
|
||||||
|
@ -75,11 +73,5 @@
|
||||||
"order": "$ctrl.order"
|
"order": "$ctrl.order"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"menu": [
|
|
||||||
{"state": "order.card.basicData", "icon": "settings"},
|
|
||||||
{"state": "order.card.catalog", "icon": "shopping_cart"},
|
|
||||||
{"state": "order.card.volume", "icon": "icon-volume"},
|
|
||||||
{"state": "order.card.line", "icon": "icon-lines"}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -4,228 +4,6 @@
|
||||||
"icon": "icon-ticket",
|
"icon": "icon-ticket",
|
||||||
"validations": true,
|
"validations": true,
|
||||||
"dependencies": ["item", "client"],
|
"dependencies": ["item", "client"],
|
||||||
"routes": [
|
|
||||||
{
|
|
||||||
"url": "/ticket",
|
|
||||||
"state": "ticket",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "ui-view",
|
|
||||||
"description": "Tickets"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/index?q",
|
|
||||||
"state": "ticket.index",
|
|
||||||
"component": "vn-ticket-index",
|
|
||||||
"description": "Tickets"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/:id",
|
|
||||||
"state": "ticket.card",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "vn-ticket-card"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/summary",
|
|
||||||
"state": "ticket.card.summary",
|
|
||||||
"component": "vn-ticket-summary",
|
|
||||||
"description": "Summary",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/data",
|
|
||||||
"state": "ticket.card.data",
|
|
||||||
"component": "vn-ticket-data",
|
|
||||||
"abstract": true,
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/step-one",
|
|
||||||
"state": "ticket.card.data.stepOne",
|
|
||||||
"component": "vn-ticket-data-step-one",
|
|
||||||
"description": "Basic data",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.data"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/step-two",
|
|
||||||
"state": "ticket.card.data.stepTwo",
|
|
||||||
"component": "vn-ticket-data-step-two",
|
|
||||||
"description": "Price difference",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.data"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/step-three",
|
|
||||||
"state": "ticket.card.data.stepThree",
|
|
||||||
"component": "vn-ticket-data-step-three",
|
|
||||||
"description": "Charge",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.data"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/sale",
|
|
||||||
"state": "ticket.card.sale",
|
|
||||||
"component": "vn-ticket-sale",
|
|
||||||
"description": "Sale",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/observation",
|
|
||||||
"state": "ticket.card.observation",
|
|
||||||
"component": "vn-ticket-observation",
|
|
||||||
"description": "Notes",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/volume",
|
|
||||||
"state": "ticket.card.volume",
|
|
||||||
"component": "vn-ticket-volume",
|
|
||||||
"description": "Volume",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/expedition",
|
|
||||||
"state": "ticket.card.expedition",
|
|
||||||
"component": "vn-ticket-expedition",
|
|
||||||
"description": "Expedition",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/package",
|
|
||||||
"abstract": true,
|
|
||||||
"state": "ticket.card.package",
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/index",
|
|
||||||
"state": "ticket.card.package.index",
|
|
||||||
"component": "vn-ticket-package-index",
|
|
||||||
"description": "Packages",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/tracking",
|
|
||||||
"state": "ticket.card.tracking",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/index",
|
|
||||||
"state": "ticket.card.tracking.index",
|
|
||||||
"component": "vn-ticket-tracking-index",
|
|
||||||
"description": "Tracking",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/edit",
|
|
||||||
"state": "ticket.card.tracking.edit",
|
|
||||||
"component": "vn-ticket-tracking-edit",
|
|
||||||
"description": "New state",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
},
|
|
||||||
"acl": ["production", "administrative", "salesPerson"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/sale-checked",
|
|
||||||
"state": "ticket.card.saleChecked",
|
|
||||||
"component": "vn-ticket-sale-checked",
|
|
||||||
"description": "Sale checked",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/components",
|
|
||||||
"state": "ticket.card.components",
|
|
||||||
"component": "vn-ticket-components",
|
|
||||||
"description": "Components",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/sale-tracking",
|
|
||||||
"state": "ticket.card.saleTracking",
|
|
||||||
"component": "vn-ticket-sale-tracking",
|
|
||||||
"description": "Sale tracking",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/picture",
|
|
||||||
"state": "ticket.card.picture",
|
|
||||||
"component": "vn-ticket-picture",
|
|
||||||
"description": "Pictures",
|
|
||||||
"params": {
|
|
||||||
"ticket": "$ctrl.ticket"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/log",
|
|
||||||
"state": "ticket.card.log",
|
|
||||||
"component": "vn-ticket-log",
|
|
||||||
"description": "Log"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/weekly",
|
|
||||||
"state": "ticket.weekly",
|
|
||||||
"component": "vn-ticket-weekly",
|
|
||||||
"description": "Weekly"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/request",
|
|
||||||
"state": "ticket.card.request",
|
|
||||||
"abstract": true,
|
|
||||||
"component": "ui-view"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/service",
|
|
||||||
"state": "ticket.card.service",
|
|
||||||
"component": "vn-ticket-service",
|
|
||||||
"description": "Service"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/index",
|
|
||||||
"state": "ticket.card.request.index",
|
|
||||||
"component": "vn-ticket-request-index",
|
|
||||||
"description": "Purchase request",
|
|
||||||
"acl": ["salesPerson"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url" : "/create",
|
|
||||||
"state": "ticket.card.request.create",
|
|
||||||
"component": "vn-ticket-request-create",
|
|
||||||
"description": "Purchase request",
|
|
||||||
"acl": ["salesPerson"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"url": "/create?clientFk",
|
|
||||||
"state": "ticket.create",
|
|
||||||
"component": "vn-ticket-create",
|
|
||||||
"description": "New ticket"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"menu": [
|
"menu": [
|
||||||
{"state": "ticket.card.data.stepOne", "icon": "settings"},
|
{"state": "ticket.card.data.stepOne", "icon": "settings"},
|
||||||
{"state": "ticket.card.sale", "icon": "icon-lines"},
|
{"state": "ticket.card.sale", "icon": "icon-lines"},
|
||||||
|
@ -244,5 +22,200 @@
|
||||||
],
|
],
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
{"key": "t", "state": "ticket.index"}
|
{"key": "t", "state": "ticket.index"}
|
||||||
|
],
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"url": "/ticket",
|
||||||
|
"state": "ticket",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "ui-view",
|
||||||
|
"description": "Tickets"
|
||||||
|
}, {
|
||||||
|
"url": "/index?q",
|
||||||
|
"state": "ticket.index",
|
||||||
|
"component": "vn-ticket-index",
|
||||||
|
"description": "Tickets"
|
||||||
|
}, {
|
||||||
|
"url": "/:id",
|
||||||
|
"state": "ticket.card",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "vn-ticket-card"
|
||||||
|
}, {
|
||||||
|
"url": "/summary",
|
||||||
|
"state": "ticket.card.summary",
|
||||||
|
"component": "vn-ticket-summary",
|
||||||
|
"description": "Summary",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/data",
|
||||||
|
"state": "ticket.card.data",
|
||||||
|
"component": "vn-ticket-data",
|
||||||
|
"abstract": true,
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/step-one",
|
||||||
|
"state": "ticket.card.data.stepOne",
|
||||||
|
"component": "vn-ticket-data-step-one",
|
||||||
|
"description": "Basic data",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.data"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/step-two",
|
||||||
|
"state": "ticket.card.data.stepTwo",
|
||||||
|
"component": "vn-ticket-data-step-two",
|
||||||
|
"description": "Price difference",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.data"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/step-three",
|
||||||
|
"state": "ticket.card.data.stepThree",
|
||||||
|
"component": "vn-ticket-data-step-three",
|
||||||
|
"description": "Charge",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.data"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/sale",
|
||||||
|
"state": "ticket.card.sale",
|
||||||
|
"component": "vn-ticket-sale",
|
||||||
|
"description": "Sale",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/observation",
|
||||||
|
"state": "ticket.card.observation",
|
||||||
|
"component": "vn-ticket-observation",
|
||||||
|
"description": "Notes",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/volume",
|
||||||
|
"state": "ticket.card.volume",
|
||||||
|
"component": "vn-ticket-volume",
|
||||||
|
"description": "Volume",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/expedition",
|
||||||
|
"state": "ticket.card.expedition",
|
||||||
|
"component": "vn-ticket-expedition",
|
||||||
|
"description": "Expedition",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/package",
|
||||||
|
"abstract": true,
|
||||||
|
"state": "ticket.card.package",
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url" : "/index",
|
||||||
|
"state": "ticket.card.package.index",
|
||||||
|
"component": "vn-ticket-package-index",
|
||||||
|
"description": "Packages",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/tracking",
|
||||||
|
"state": "ticket.card.tracking",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url" : "/index",
|
||||||
|
"state": "ticket.card.tracking.index",
|
||||||
|
"component": "vn-ticket-tracking-index",
|
||||||
|
"description": "Tracking",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/edit",
|
||||||
|
"state": "ticket.card.tracking.edit",
|
||||||
|
"component": "vn-ticket-tracking-edit",
|
||||||
|
"description": "New state",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
},
|
||||||
|
"acl": ["production", "administrative", "salesPerson"]
|
||||||
|
}, {
|
||||||
|
"url" : "/sale-checked",
|
||||||
|
"state": "ticket.card.saleChecked",
|
||||||
|
"component": "vn-ticket-sale-checked",
|
||||||
|
"description": "Sale checked",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/components",
|
||||||
|
"state": "ticket.card.components",
|
||||||
|
"component": "vn-ticket-components",
|
||||||
|
"description": "Components",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/sale-tracking",
|
||||||
|
"state": "ticket.card.saleTracking",
|
||||||
|
"component": "vn-ticket-sale-tracking",
|
||||||
|
"description": "Sale tracking",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/picture",
|
||||||
|
"state": "ticket.card.picture",
|
||||||
|
"component": "vn-ticket-picture",
|
||||||
|
"description": "Pictures",
|
||||||
|
"params": {
|
||||||
|
"ticket": "$ctrl.ticket"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url" : "/log",
|
||||||
|
"state": "ticket.card.log",
|
||||||
|
"component": "vn-ticket-log",
|
||||||
|
"description": "Log"
|
||||||
|
}, {
|
||||||
|
"url" : "/weekly",
|
||||||
|
"state": "ticket.weekly",
|
||||||
|
"component": "vn-ticket-weekly",
|
||||||
|
"description": "Weekly"
|
||||||
|
}, {
|
||||||
|
"url": "/request",
|
||||||
|
"state": "ticket.card.request",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "ui-view"
|
||||||
|
}, {
|
||||||
|
"url": "/service",
|
||||||
|
"state": "ticket.card.service",
|
||||||
|
"component": "vn-ticket-service",
|
||||||
|
"description": "Service"
|
||||||
|
}, {
|
||||||
|
"url" : "/index",
|
||||||
|
"state": "ticket.card.request.index",
|
||||||
|
"component": "vn-ticket-request-index",
|
||||||
|
"description": "Purchase request",
|
||||||
|
"acl": ["salesPerson"]
|
||||||
|
}, {
|
||||||
|
"url" : "/create",
|
||||||
|
"state": "ticket.card.request.create",
|
||||||
|
"component": "vn-ticket-request-create",
|
||||||
|
"description": "Purchase request",
|
||||||
|
"acl": ["salesPerson"]
|
||||||
|
}, {
|
||||||
|
"url": "/create?clientFk",
|
||||||
|
"state": "ticket.create",
|
||||||
|
"component": "vn-ticket-create",
|
||||||
|
"description": "New ticket"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -9,8 +9,7 @@
|
||||||
"abstract": true,
|
"abstract": true,
|
||||||
"component": "ui-view",
|
"component": "ui-view",
|
||||||
"description": "Travels"
|
"description": "Travels"
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
"url": "/index?q",
|
"url": "/index?q",
|
||||||
"state": "travel.index",
|
"state": "travel.index",
|
||||||
"component": "vn-travel-index",
|
"component": "vn-travel-index",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
|
@ -0,0 +1,32 @@
|
||||||
|
<mg-ajax path="api/Workers/{{patch.params.id}}" options="vnPatch"></mg-ajax>
|
||||||
|
<vn-watcher
|
||||||
|
vn-id="watcher"
|
||||||
|
data="$ctrl.worker"
|
||||||
|
form="form"
|
||||||
|
save="patch">
|
||||||
|
</vn-watcher>
|
||||||
|
<form name="form" ng-submit="$ctrl.onSubmit()">
|
||||||
|
<vn-card pad-large>
|
||||||
|
<vn-horizontal>
|
||||||
|
<vn-autocomplete
|
||||||
|
vn-one
|
||||||
|
field="$ctrl.zone.warehouseFk"
|
||||||
|
url="api/Warehouses"
|
||||||
|
show-field="name"
|
||||||
|
value-field="id"
|
||||||
|
label="Id">
|
||||||
|
</vn-autocomplete>
|
||||||
|
<vn-autocomplete
|
||||||
|
vn-one
|
||||||
|
field="$ctrl.zone.agencyModeFk"
|
||||||
|
url="api/AgencyModes"
|
||||||
|
show-field="name"
|
||||||
|
value-field="id"
|
||||||
|
label="Name">
|
||||||
|
</vn-autocomplete>
|
||||||
|
</vn-horizontal>
|
||||||
|
</vn-card>
|
||||||
|
<vn-button-bar>
|
||||||
|
<vn-submit label="Save"></vn-submit>
|
||||||
|
</vn-button-bar>
|
||||||
|
</form>
|
|
@ -0,0 +1,29 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
class Controller {
|
||||||
|
constructor($, $state) {
|
||||||
|
Object.assign(this, {
|
||||||
|
$,
|
||||||
|
$state
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
onSubmit() {
|
||||||
|
this.$.watcher.submit().then(() => {
|
||||||
|
this.card.reload();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Controller.$inject = ['$scope', '$state'];
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerBasicData', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
controller: Controller,
|
||||||
|
bindings: {
|
||||||
|
worker: '<'
|
||||||
|
},
|
||||||
|
require: {
|
||||||
|
card: '^vnWorkerCard'
|
||||||
|
}
|
||||||
|
});
|
|
@ -0,0 +1,7 @@
|
||||||
|
<vn-main-block>
|
||||||
|
<div class="left-block">
|
||||||
|
<vn-worker-descriptor worker="$ctrl.worker"></vn-worker-descriptor>
|
||||||
|
<vn-left-menu></vn-left-menu>
|
||||||
|
</div>
|
||||||
|
<div class="content-block" ui-view></div>
|
||||||
|
</vn-main-block>
|
|
@ -0,0 +1,28 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
class Controller {
|
||||||
|
constructor($http, $stateParams) {
|
||||||
|
Object.assign(this, {
|
||||||
|
$http,
|
||||||
|
$stateParams,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$onInit() {
|
||||||
|
this.reload();
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
let query = `api/Workers/${this.$stateParams.id}`;
|
||||||
|
this.$http.get(query).then(res => {
|
||||||
|
this.worker = res.data;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Controller.$inject = ['$http', '$stateParams'];
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerCard', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
controller: Controller
|
||||||
|
});
|
|
@ -0,0 +1,21 @@
|
||||||
|
<div class="vn-descriptor">
|
||||||
|
<vn-horizontal class="header">
|
||||||
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="worker.index">
|
||||||
|
<vn-icon icon="chevron_left"></vn-icon>
|
||||||
|
</a>
|
||||||
|
<a translate-attr="{title: 'Preview'}" ui-sref="worker.card.summary({id: $ctrl.worker.id})">
|
||||||
|
<vn-icon icon="desktop_windows"></vn-icon>
|
||||||
|
</a>
|
||||||
|
<span></span>
|
||||||
|
</vn-horizontal>
|
||||||
|
<div class="body">
|
||||||
|
<vn-one>
|
||||||
|
<vn-label-value label="Id"
|
||||||
|
value="{{$ctrl.worker.id}}">
|
||||||
|
</vn-label-value>
|
||||||
|
<vn-label-value label="Name"
|
||||||
|
value="{{$ctrl.worker.name}}">
|
||||||
|
</vn-label-value>
|
||||||
|
</vn-one>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,8 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerDescriptor', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
bindings: {
|
||||||
|
worker: '<'
|
||||||
|
}
|
||||||
|
});
|
|
@ -0,0 +1,8 @@
|
||||||
|
export * from './module';
|
||||||
|
|
||||||
|
import './index/';
|
||||||
|
import './summary';
|
||||||
|
import './card';
|
||||||
|
import './descriptor';
|
||||||
|
import './search-panel';
|
||||||
|
import './basic-data';
|
|
@ -0,0 +1,59 @@
|
||||||
|
<vn-crud-model
|
||||||
|
vn-id="model"
|
||||||
|
url="/agency/api/Workers"
|
||||||
|
filter="::$ctrl.filter"
|
||||||
|
limit="20"
|
||||||
|
data="workers"
|
||||||
|
auto-load="true">
|
||||||
|
</vn-crud-model>
|
||||||
|
<div class="index-block">
|
||||||
|
<div class="vn-list">
|
||||||
|
<vn-card pad-medium-h>
|
||||||
|
<vn-searchbar
|
||||||
|
panel="vn-worker-search-panel"
|
||||||
|
model="model"
|
||||||
|
expr-builder="$ctrl.exprBuilder(param, value)"
|
||||||
|
vn-focus>
|
||||||
|
</vn-searchbar>
|
||||||
|
</vn-card>
|
||||||
|
<vn-card margin-medium-v>
|
||||||
|
<a ng-repeat="worker in workers track by worker.id"
|
||||||
|
ui-sref="worker.card.summary({ id: {{::worker.id}} })"
|
||||||
|
translate-attr="{title: 'View worker'}"
|
||||||
|
class="vn-list-item">
|
||||||
|
<vn-horizontal ng-click="$ctrl.onClick($event)">
|
||||||
|
<vn-one>
|
||||||
|
<h6>{{::$ctrl.worker.name}}</h6>
|
||||||
|
<vn-label-value label="Id"
|
||||||
|
value="{{::worker.id}}">
|
||||||
|
</vn-label-value>
|
||||||
|
<vn-label-value label="Name"
|
||||||
|
value="{{::worker.name}}">
|
||||||
|
</vn-label-value>
|
||||||
|
</vn-one>
|
||||||
|
<vn-horizontal class="buttons">
|
||||||
|
<vn-icon
|
||||||
|
ng-click="$ctrl.preview($event, worker)"
|
||||||
|
vn-tooltip="Preview"
|
||||||
|
icon="desktop_windows">
|
||||||
|
</vn-icon>
|
||||||
|
</vn-horizontal>
|
||||||
|
</vn-horizontal>
|
||||||
|
</a>
|
||||||
|
<vn-empty-rows class="vn-list-item" style="text-align: center"
|
||||||
|
ng-if="model.data.length === 0" translate>
|
||||||
|
No results
|
||||||
|
</vn-empty-rows>
|
||||||
|
<vn-empty-rows class="vn-list-item" style="text-align: center"
|
||||||
|
ng-if="model.data === null" translate>
|
||||||
|
Enter a new search
|
||||||
|
</vn-empty-rows>
|
||||||
|
</vn-card>
|
||||||
|
<vn-pagination model="model"></vn-pagination>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<vn-dialog vn-id="preview" class="dialog-summary">
|
||||||
|
<tpl-body>
|
||||||
|
<vn-worker-summary worker="$ctrl.selectedWorker"></vn-worker-summary>
|
||||||
|
</tpl-body>
|
||||||
|
</vn-dialog>
|
|
@ -0,0 +1,38 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
export default class Controller {
|
||||||
|
constructor($) {
|
||||||
|
Object.assign(this, {
|
||||||
|
$,
|
||||||
|
selectedWorker: null
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
exprBuilder(param, value) {
|
||||||
|
switch (param) {
|
||||||
|
case 'search':
|
||||||
|
return /^\d+$/.test(value)
|
||||||
|
? {id: value}
|
||||||
|
: {name: {like: `%${value}%`}};
|
||||||
|
case 'name':
|
||||||
|
return {[param]: {like: `%${value}%`}};
|
||||||
|
case 'id':
|
||||||
|
return {[param]: value};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
preview(event, worker) {
|
||||||
|
if (event.defaultPrevented) return;
|
||||||
|
event.preventDefault();
|
||||||
|
this.selectedWorker = worker;
|
||||||
|
this.$.preview.show();
|
||||||
|
event.stopImmediatePropagation();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Controller.$inject = ['$scope'];
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerIndex', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
controller: Controller
|
||||||
|
});
|
|
@ -0,0 +1 @@
|
||||||
|
Workers: Workers
|
|
@ -0,0 +1 @@
|
||||||
|
Workers: Trabajadores
|
|
@ -0,0 +1,3 @@
|
||||||
|
import {ng} from 'core/vendor';
|
||||||
|
|
||||||
|
export default ng.module('worker', ['vnCore']);
|
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
"module": "worker",
|
||||||
|
"name": "Workers",
|
||||||
|
"icon" : "icon-worker",
|
||||||
|
"validations" : true,
|
||||||
|
"menu": [
|
||||||
|
{"state": "worker.card.basicData", "icon": "settings"}
|
||||||
|
],
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"url": "/worker",
|
||||||
|
"state": "worker",
|
||||||
|
"abstract": true,
|
||||||
|
"component": "ui-view",
|
||||||
|
"description": "Workers"
|
||||||
|
}, {
|
||||||
|
"url": "/index?q",
|
||||||
|
"state": "worker.index",
|
||||||
|
"component": "vn-worker-index",
|
||||||
|
"description": "Workers",
|
||||||
|
"acl": ["developer"]
|
||||||
|
}, {
|
||||||
|
"url" : "/summary",
|
||||||
|
"state": "worker.card.summary",
|
||||||
|
"component": "vn-worker-summary",
|
||||||
|
"description": "Summary",
|
||||||
|
"params": {
|
||||||
|
"worker": "$ctrl.worker"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"url": "/:id",
|
||||||
|
"state": "worker.card",
|
||||||
|
"component": "vn-worker-card",
|
||||||
|
"abstract": true,
|
||||||
|
"description": "Detail"
|
||||||
|
}, {
|
||||||
|
"url": "/basic-data",
|
||||||
|
"state": "worker.card.basicData",
|
||||||
|
"component": "vn-worker-basic-data",
|
||||||
|
"description": "Basic data",
|
||||||
|
"params": {
|
||||||
|
"worker": "$ctrl.worker"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
<div pad-large style="min-width: 30em">
|
||||||
|
<form ng-submit="$ctrl.onSearch()">
|
||||||
|
<vn-horizontal>
|
||||||
|
<vn-textfield
|
||||||
|
vn-one
|
||||||
|
label="General search"
|
||||||
|
model="filter.search"
|
||||||
|
vn-focus>
|
||||||
|
</vn-textfield>
|
||||||
|
</vn-horizontal>
|
||||||
|
<vn-horizontal>
|
||||||
|
<vn-textfield
|
||||||
|
vn-one
|
||||||
|
label="Id"
|
||||||
|
model="filter.id">
|
||||||
|
</vn-textfield>
|
||||||
|
<vn-textfield
|
||||||
|
vn-one
|
||||||
|
label="Name"
|
||||||
|
model="filter.name">
|
||||||
|
</vn-textfield>
|
||||||
|
</vn-horizontal>
|
||||||
|
<vn-horizontal margin-large-top>
|
||||||
|
<vn-submit label="Search"></vn-submit>
|
||||||
|
</vn-horizontal>
|
||||||
|
</form>
|
||||||
|
</div>
|
|
@ -0,0 +1,7 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
import SearchPanel from 'core/components/searchbar/search-panel';
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerSearchPanel', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
controller: SearchPanel
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
<vn-card class="summary">
|
||||||
|
<h5>{{worker.name}}</h5>
|
||||||
|
<vn-vertical pad-medium>
|
||||||
|
<vn-horizontal pad-medium>
|
||||||
|
<vn-one>
|
||||||
|
<vn-label-value label="Id"
|
||||||
|
value="{{worker.id}}">
|
||||||
|
</vn-label-value>
|
||||||
|
<vn-label-value label="Name"
|
||||||
|
value="{{worker.name}}">
|
||||||
|
</vn-label-value>
|
||||||
|
</vn-one>
|
||||||
|
</vn-horizontal>
|
||||||
|
</vn-vertical>
|
||||||
|
</vn-card>
|
|
@ -0,0 +1,34 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
class Controller {
|
||||||
|
constructor($, $http) {
|
||||||
|
Object.assign(this, {
|
||||||
|
$,
|
||||||
|
$http
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
get worker() {
|
||||||
|
return this._worker;
|
||||||
|
}
|
||||||
|
|
||||||
|
set worker(value) {
|
||||||
|
this._worker = value;
|
||||||
|
this.$.worker = null;
|
||||||
|
if (value) {
|
||||||
|
this.$http.get(`api/Workers/${value.id}`).then(res => {
|
||||||
|
this.$.worker = res.data;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Controller.$inject = ['$scope', '$http'];
|
||||||
|
|
||||||
|
ngModule.component('vnWorkerSummary', {
|
||||||
|
template: require('./index.html'),
|
||||||
|
controller: Controller,
|
||||||
|
bindings: {
|
||||||
|
worker: '<'
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue