From d467657928043bd8e20e98d81f3b2e5efac5cb0b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Jul 2024 12:21:36 +0200 Subject: [PATCH 1/7] feat: myEntries --- src/pages/Entry/MyEntries.vue | 124 ++++++++++++++++++ src/router/modules/entry.js | 11 +- .../cypress/integration/entry/myEntry.spec.js | 20 +++ 3 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 src/pages/Entry/MyEntries.vue create mode 100644 test/cypress/integration/entry/myEntry.spec.js diff --git a/src/pages/Entry/MyEntries.vue b/src/pages/Entry/MyEntries.vue new file mode 100644 index 000000000..d4b73b479 --- /dev/null +++ b/src/pages/Entry/MyEntries.vue @@ -0,0 +1,124 @@ + + + + + You can search by entry reference: Puedes buscar por referencia de la entrada + diff --git a/src/router/modules/entry.js b/src/router/modules/entry.js index 67fc41824..4f5f05231 100644 --- a/src/router/modules/entry.js +++ b/src/router/modules/entry.js @@ -11,7 +11,7 @@ export default { component: RouterView, redirect: { name: 'EntryMain' }, menus: { - main: ['EntryList', 'EntryLatestBuys'], + main: ['EntryList', 'MyEntries', 'EntryLatestBuys'], card: ['EntryBasicData', 'EntryBuys', 'EntryNotes', 'EntryDms', 'EntryLog'], }, children: [ @@ -30,6 +30,15 @@ export default { }, component: () => import('src/pages/Entry/EntryList.vue'), }, + { + path: 'my', + name: 'MyEntries', + meta: { + title: 'labeler', + icon: 'sell', + }, + component: () => import('src/pages/Entry/MyEntries.vue'), + }, { path: 'create', name: 'EntryCreate', diff --git a/test/cypress/integration/entry/myEntry.spec.js b/test/cypress/integration/entry/myEntry.spec.js new file mode 100644 index 000000000..8edd3a11c --- /dev/null +++ b/test/cypress/integration/entry/myEntry.spec.js @@ -0,0 +1,20 @@ +describe('EntryMy when is supplier', () => { + beforeEach(() => { + cy.viewport(1920, 1080); + cy.login('supplier'); + cy.visit(`/#/entry/my`, { + onBeforeLoad(win) { + cy.stub(win, 'open'); + }, + }); + cy.waitForElement('.q-page', 6000); + }); + + it('should open buyLabel when is supplier', () => { + cy.get( + '[to="/null/2"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon' + ).click(); + cy.get('.q-card__actions > .q-btn').click(); + cy.window().its('open').should('be.called'); + }); +}); From 5fbbd27273f1f99271757da3b429d206b8fc4a9e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Jul 2024 12:21:50 +0200 Subject: [PATCH 2/7] fat: i18n --- src/i18n/locale/en.yml | 2 ++ src/i18n/locale/es.yml | 2 ++ src/pages/Entry/locale/en.yml | 1 + src/pages/Entry/locale/es.yml | 2 ++ 4 files changed, 7 insertions(+) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 59cd1170a..756da80de 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -46,6 +46,7 @@ globals: noPinnedModules: You don't have any pinned modules summary: basicData: Basic data + daysOnward: Days onward today: Today yesterday: Yesterday dateFormat: en-GB @@ -107,6 +108,7 @@ globals: aliasUsers: Users subRoles: Subroles inheritedRoles: Inherited Roles + labeler: Labeler created: Created worker: Worker now: Now diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index e35e3d41c..726cb0832 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -45,6 +45,7 @@ globals: noPinnedModules: No has fijado ningún módulo summary: basicData: Datos básicos + daysOnward: Días adelante today: Hoy yesterday: Ayer dateFormat: es-ES @@ -108,6 +109,7 @@ globals: subRoles: Subroles inheritedRoles: Roles heredados workers: Trabajadores + labeler: Etiquetas created: Fecha creación worker: Trabajador now: Ahora diff --git a/src/pages/Entry/locale/en.yml b/src/pages/Entry/locale/en.yml index 9a476c80c..677c3c055 100644 --- a/src/pages/Entry/locale/en.yml +++ b/src/pages/Entry/locale/en.yml @@ -8,3 +8,4 @@ entryFilter: reference: Reference landed: Landed shipped: Shipped +printBuys: Print buys diff --git a/src/pages/Entry/locale/es.yml b/src/pages/Entry/locale/es.yml index fba6c5460..10b77c2ee 100644 --- a/src/pages/Entry/locale/es.yml +++ b/src/pages/Entry/locale/es.yml @@ -1,5 +1,6 @@ Search entries: Buscar entradas You can search by entry reference: Puedes buscar por referencia de la entrada + entryList: list: inventoryEntry: Es inventario @@ -11,3 +12,4 @@ entryFilter: landed: F. llegada shipped: F. salida +Print buys: Imprimir etiquetas From ace529a4ba624f51bafcfb1f44e90626a308ed06 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Jul 2024 12:22:01 +0200 Subject: [PATCH 3/7] feat: vnTable template --- src/components/VnTable/VnTable.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 493f1480e..94026721b 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -175,7 +175,7 @@ function columnName(col) { } function getColAlign(col) { - return 'text-' + (col.align ?? 'left') + return 'text-' + (col.align ?? 'left'); } defineExpose({ reload, @@ -207,12 +207,12 @@ defineExpose({ v-model="params[columnName(col)]" :search-url="searchUrl" /> + - From f7135008a2a6145a0aaa2450932da3a9e72b5782 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Jul 2024 12:22:08 +0200 Subject: [PATCH 4/7] feat: entryBuys --- src/pages/Entry/EntryBuysTableDialog.vue | 120 +++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 src/pages/Entry/EntryBuysTableDialog.vue diff --git a/src/pages/Entry/EntryBuysTableDialog.vue b/src/pages/Entry/EntryBuysTableDialog.vue new file mode 100644 index 000000000..c2b04c291 --- /dev/null +++ b/src/pages/Entry/EntryBuysTableDialog.vue @@ -0,0 +1,120 @@ + + + From 86a84784b1362d0b54dd954a0b99cd3339e1ce33 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Jul 2024 13:50:07 +0200 Subject: [PATCH 5/7] feat: userPanel --- public/no-image-dark.png | Bin 0 -> 7038 bytes public/no-image.png | Bin 0 -> 2181 bytes public/no-user.png | Bin 0 -> 10119 bytes src/components/LeftMenu.vue | 3 +-- src/components/LeftMenuItem.vue | 2 +- src/components/NavBar.vue | 15 +++++++-------- src/components/UserPanel.vue | 4 ++++ src/components/ui/VnImg.vue | 28 +++++++++++++++++++--------- src/composables/useRole.js | 4 ++++ 9 files changed, 36 insertions(+), 20 deletions(-) create mode 100644 public/no-image-dark.png create mode 100644 public/no-image.png create mode 100644 public/no-user.png diff --git a/public/no-image-dark.png b/public/no-image-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..2a20d7eb4970509bc5f8e9a2bb2b5d33fee3c260 GIT binary patch literal 7038 zcmV-^8-e7BP)3 z6uuZigsii3XWsGnzx|CWk(ed=u#3ldXhm*=wCi0sdzSWM1j#|TG)ATS%fY7AwyVZ4 zHE_xYReyrCngpm_n@!j4tnL`EI`dG(s>;bJkT&;h2y#ljj3f*;T|%DGLmv(6AePF= z;&%5P7VmWeXF-Al94+KK)(s|=n~Z%gxeSXM;imZ5V;PikQ9iUcFjh`4d2-NYKQTeo8e%VgUYyj1sB>d#sR^02x43sb3kdnZP83NK%*IZN$2LDs?&8f zvdEDb%ncF5E+}EZEMT;=5!Pfxki8lsWeekl*b2pAtc(SFGm*EN826j6&MVFW%lH_V zFfw3;VYm55p?H)8kWWQX)u>#=kVXiS>4h5Qbu|>BBodzCkkK}ysb4TMj5-j68Fmau zB|j9Fny0vApp-D$PHQH}Lvuupozbr0Y{AS%D#&_|fV*Z0qCA#G2vLsuTS&zsqY#4V zM5Y;nh%G;(2BKV^`8~94JjGWVEtnuVL0m05=7wKU97DPWQo{r>&y^Ai*Ore5d)H=m zRw%X37Gl?V6C^8gsm6t(<7U5&Vr_2Q^p0!EvD1YhIR@cww=a3cfnpRIOx82NxDdoQ zb#uVIrmSylPTE2BWS{J@4jutw^k*U(D*h+PS^CE~8hV0;GD#&aub+=`CY;5xdETsLi31XBnzF{*m zvIR8_0~IqZNRY5F#__6gSb>S=_(+qE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mg`xKN2T0h9}e;Tykt0%$i2<3AnN?E_eJh~(=F7`Ky7rc zWUE4oOXxJaf>hrHuT9QN$P!Z@*A*}Wf+)~CV00b$71;Gn^vLO3YHeM2y9Ghk#qV{4 z->&tWZqvzT-ZJ9ZW|^(FX;d;Rh{iM-lxz}3)zN2;D}9`YHTo*B76dX0vKBWB*{K;X zIMY-*jRqlc-{J>!WoSRfYE#OfbR)A1PjV;LJg{d|Bj^lO)1Obzxm{}KDMi+Wg1NOpg@qIGz*L?ftx?)>U&B1mO|4bx zB-pCbCtz$rf|N)<@^H8Rt|8@v@G?&!bA>{Os)*~I*0=O?v>-wJoXFA~;%zA|XBmEN z97Mo4c2|O2^K2Ce)T%Bcf_R%?Ol{M!+Sz8OY3iVt-W(XcGbYD2tF}EsS_I$9!M&aa zJd9*h1D4rBeP-IOQ>@kk3NmIamN$}zI-F|E({BWDrV-laSArPD@1oRzBvxU9=tgAN c&M_tb2R`Dpq0zfXbN~PV07*qoM6N<$g6L5tRsaA1 literal 0 HcmV?d00001 diff --git a/public/no-image.png b/public/no-image.png new file mode 100644 index 0000000000000000000000000000000000000000..11d5317a90bbc35e52789e30afe20af7f6247a9e GIT binary patch literal 2181 zcmZ`*eLU0KAOEUh#$_boN?(sPNm;idQqyFUr#r@|xH8FeG4fQaO(JU;mJR7w=|QoV zd5WQ1E;eLcX+pSd9x9QC%1Uv+{eHju``tfouX8@1b6)S)`Ml3LpL1UCb22^Moqs^+ zBLD#S0guBHpjP9ini*+GT znSyt7QkE*{sp^{C1vValAU%o`iLyT?Dk>zJ0_=|s38I9M!Bb(BTO|2D-8oF5PQyhoOg|}|Y$iVf-U#n$*J+oCXY{gyT zF|4iLdyU05KrotVa@3P}V-v#GK%JniXw)30A2!4;S6JLBc$Z>ZDvoUqpl7SBpLdjJ z0kb}4*6py%riI{<{>)l-F5qFOR_evlBku6t17`Uw@%=-65`h8hCotquMt@v|vBz=OedwxwAw{OrRDJVg%7*f|Fl14~K5?zOA!41N5?RCK4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@=AXxC6KWlb?WfVk%Y(Cfr+gew|>$1OtjZ@G6Y4@0YXX zJgrqe3+Qa7bBhTLvD2(~H*!S}6&~59tb;k?-11Q#x|TLTWk)}ReqQWL(o;Qa5zB@X z5Sw*|co$uIA7O|4JZubRlsvrCV$M<>ZVmi!I^}f}YMsbIO@qQ4(h+F{Q?`j-dLW7ScUsk?`Cc=l^JP&K? zN`V3@z@XS5TN!Zu8Z4$+g4zkS29Ei!lc#_7(8tk;WvG+0$4E^gS!9sycW0v2KL?;z z44atf;3Ei)`kebPLuDg7!3xz1*;wr05b-oL=yY{q5zRWs;}J>;u;IAH>+#_MeY}^< zsx83UmyoBW z159l9)onq0Js;kWckmJ=@IlsC;orXca^3%3QMz1Zz>;Cv3*E~H{tj#Ao9s2Jp52oN ziVg;^Hyrertl=R~k85Qs*6?&XxzE}FR-QTwiy@}6a7>}BM)>a4tFZGYxQNr@Vs%@S z#=hifH{XRt6x4(IOKP^TXpK~Kw9wSstqGH`b8m)c2XtyoO+y`~q5`NX75$&FO(fK5 z(aN9%Jdv==Y3_mGzUK};3AI{#mOL78EBxQ37pEWnT{`(vI^fm|acEyX>%z{9wf}qJ zCDr2^kg)$5Tt(DA7&tE{2z00F&77V^o?=ySvSx!N%mT1V}Pgu39^7rJT$6I+uvnlSi+^Vj@&cB$<@D5y9l toLowerCamel(route.name) === item.module ); - item.children = []; - if (!moduleDef) continue; + item.children = []; addChildren(item.module, moduleDef, item.children); } diff --git a/src/components/LeftMenuItem.vue b/src/components/LeftMenuItem.vue index d12fb8428..f3f2315a3 100644 --- a/src/components/LeftMenuItem.vue +++ b/src/components/LeftMenuItem.vue @@ -21,7 +21,7 @@ const itemComputed = computed(() => {