${msg}
`, ''), + }, + }).onOk(() => toBook(id)); } async function toBook(id) { @@ -59,4 +82,7 @@ async function toBook(id) { es: Are you sure you want to book this invoice?: ¿Estás seguro de querer asentar esta factura? It was not able to book the invoice: No se pudo contabilizar la factura + Some due dates are less than or equal to today: Algún vencimiento tiene una fecha menor o igual que hoy + The sum of the taxable bases does not match the due dates: La suma de las bases imponibles no coincide con la de los vencimientos + The VAT and Transaction fields have not been informed: No se han informado los campos de iva y/o transacción diff --git a/src/pages/InvoiceIn/locale/en.yml b/src/pages/InvoiceIn/locale/en.yml index 6b21b316b..548e6c201 100644 --- a/src/pages/InvoiceIn/locale/en.yml +++ b/src/pages/InvoiceIn/locale/en.yml @@ -3,10 +3,10 @@ invoiceIn: searchInfo: Search incoming invoices by ID or supplier fiscal name serial: Serial isBooked: Is booked + supplierRef: Invoice nº list: ref: Reference supplier: Supplier - supplierRef: Supplier ref. file: File issued: Issued dueDated: Due dated @@ -19,8 +19,6 @@ invoiceIn: unbook: Unbook delete: Delete clone: Clone - toBook: To book - toUnbook: To unbook deleteInvoice: Delete invoice invoiceDeleted: invoice deleted cloneInvoice: Clone invoice @@ -70,4 +68,3 @@ invoiceIn: isBooked: Is booked account: Ledger account correctingFk: Rectificative - \ No newline at end of file diff --git a/src/pages/InvoiceIn/locale/es.yml b/src/pages/InvoiceIn/locale/es.yml index 3f27c895c..142d95f92 100644 --- a/src/pages/InvoiceIn/locale/es.yml +++ b/src/pages/InvoiceIn/locale/es.yml @@ -3,10 +3,10 @@ invoiceIn: searchInfo: Buscar facturas recibidas por ID o nombre fiscal del proveedor serial: Serie isBooked: Contabilizada + supplierRef: Nº factura list: ref: Referencia supplier: Proveedor - supplierRef: Ref. proveedor issued: F. emisión dueDated: F. vencimiento file: Fichero @@ -15,12 +15,10 @@ invoiceIn: descriptor: ticketList: Listado de tickets descriptorMenu: - book: Asentar - unbook: Desasentar + book: Contabilizar + unbook: Descontabilizar delete: Eliminar clone: Clonar - toBook: Contabilizar - toUnbook: Descontabilizar deleteInvoice: Eliminar factura invoiceDeleted: Factura eliminada cloneInvoice: Clonar factura @@ -68,4 +66,3 @@ invoiceIn: isBooked: Contabilizada account: Cuenta contable correctingFk: Rectificativa - diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index 9398ded64..c7d7ba9f4 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -97,12 +97,19 @@ const columns = computed(() => [ }, { align: 'left', - name: 'companyCode', + name: 'companyFk', label: t('globals.company'), cardVisible: true, component: 'select', - attrs: { url: 'Companies', optionLabel: 'code', optionValue: 'id' }, - columnField: { component: null }, + attrs: { + url: 'Companies', + optionLabel: 'code', + optionValue: 'id', + }, + columnField: { + component: null, + }, + format: (row, dashIfEmpty) => dashIfEmpty(row.companyCode), }, { align: 'left', diff --git a/src/pages/Item/Card/ItemBasicData.vue b/src/pages/Item/Card/ItemBasicData.vue index 7e5645024..df7e71684 100644 --- a/src/pages/Item/Card/ItemBasicData.vue +++ b/src/pages/Item/Card/ItemBasicData.vue @@ -11,6 +11,7 @@ import VnSelect from 'src/components/common/VnSelect.vue'; import VnSelectDialog from 'src/components/common/VnSelectDialog.vue'; import FilterItemForm from 'src/components/FilterItemForm.vue'; import CreateIntrastatForm from './CreateIntrastatForm.vue'; +import VnCheckbox from 'src/components/common/VnCheckbox.vue'; const route = useRoute(); const { t } = useI18n(); @@ -208,30 +209,20 @@ const onIntrastatCreated = (response, formData) => { />