diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index 2368e078e..12366e174 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -24,11 +24,8 @@ const pinnedModulesRef = ref();
-
-
+
+
{{ t('globals.collapseMenu') }}
@@ -108,6 +105,9 @@ const pinnedModulesRef = ref();
.searchbar {
width: max-content;
}
+.q-header {
+ background-color: var(--vn-dark);
+}
en:
diff --git a/src/components/common/VnBreadcrumbs.vue b/src/components/common/VnBreadcrumbs.vue
index 792671e21..666f14c72 100644
--- a/src/components/common/VnBreadcrumbs.vue
+++ b/src/components/common/VnBreadcrumbs.vue
@@ -69,6 +69,10 @@ function getBreadcrumb(param) {
> div {
flex-wrap: nowrap;
}
+ &--last,
+ &__separator {
+ color: var(--vn-label);
+ }
}
@media (max-width: $breakpoint-md) {
.q-breadcrumbs {
diff --git a/src/components/ui/VnLv.vue b/src/components/ui/VnLv.vue
index 9a17fca05..e99ec4b05 100644
--- a/src/components/ui/VnLv.vue
+++ b/src/components/ui/VnLv.vue
@@ -5,7 +5,7 @@ import { dashIfEmpty } from 'src/filters';
const $props = defineProps({
label: { type: String, default: null },
value: {
- type: [String, Boolean],
+ type: [String, Boolean, Number],
default: null,
},
info: { type: String, default: null },
diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js
index 4e570e7b4..0289b7e78 100644
--- a/src/i18n/es/index.js
+++ b/src/i18n/es/index.js
@@ -371,7 +371,7 @@ export default {
},
invoiceOut: {
pageTitles: {
- invoiceOuts: 'Fact. emitidas',
+ invoiceOuts: 'Crear factura',
list: 'Listado',
negativeBases: 'Bases Negativas',
globalInvoicing: 'FacturaciĆ³n global',
diff --git a/src/pages/InvoiceIn/InvoiceInList.vue b/src/pages/InvoiceIn/InvoiceInList.vue
index 692251bff..effccc830 100644
--- a/src/pages/InvoiceIn/InvoiceInList.vue
+++ b/src/pages/InvoiceIn/InvoiceInList.vue
@@ -84,9 +84,9 @@ function viewSummary(id) {
:key="row.id"
:title="row.supplierRef"
@click="navigate(row.id)"
+ :id="row.id"
>
-
-
-
-
-
-
+
-
- {{ t('components.smartCard.openCard') }}
-
-
-
-
- {{ t('components.smartCard.openSummary') }}
-
-
+ class="bg-vn-dark"
+ outline
+ type="reset"
+ />
+
+
-
- {{ t('components.smartCard.downloadFile') }}
-
-
+ type="submit"
+ color="primary"
+ />
@@ -176,4 +168,5 @@ function viewSummary(id) {
es:
Search invoice: Buscar factura emitida
You can search by invoice reference: Puedes buscar por referencia de la factura
+ Download: Descargar
diff --git a/src/stores/useNavigationStore.js b/src/stores/useNavigationStore.js
index b5947f87b..5daa618d5 100644
--- a/src/stores/useNavigationStore.js
+++ b/src/stores/useNavigationStore.js
@@ -11,13 +11,13 @@ export const useNavigationStore = defineStore('navigationStore', () => {
'claim',
'ticket',
'invoiceOut',
+ 'invoiceIn',
'worker',
'shelving',
'wagon',
'route',
'supplier',
'travel',
- 'invoiceIn',
];
const pinnedModules = ref([]);
const role = useRole();
diff --git a/test/cypress/integration/invoiceIn/invoiceInList.spec.js b/test/cypress/integration/invoiceIn/invoiceInList.spec.js
index bd722edab..60d8c5be1 100644
--- a/test/cypress/integration/invoiceIn/invoiceInList.spec.js
+++ b/test/cypress/integration/invoiceIn/invoiceInList.spec.js
@@ -1,8 +1,8 @@
///
describe('InvoiceInList', () => {
const firstCard = '.q-card:nth-child(1)';
- const firstId =
- '.q-card:nth-child(1) .list-items > .vn-label-value:first-child > .value > span';
+ const firstChipId =
+ ':nth-child(1) > :nth-child(1) > .justify-between > .flex > .q-chip > .q-chip__content';
const firstDetailBtn = '.q-card:nth-child(1) .q-btn:nth-child(2)';
const summaryHeaders = '.summaryBody .header';
@@ -12,9 +12,10 @@ describe('InvoiceInList', () => {
});
it('should redirect on clicking a invoice', () => {
- cy.get(firstId)
+ cy.get(firstChipId)
.invoke('text')
- .then((id) => {
+ .then((content) => {
+ const id = content.substring(4);
cy.get(firstCard).click();
cy.url().should('include', `/invoice-in/${id}/summary`);
});