0
0
Fork 0
This commit is contained in:
Alex Moreno 2025-04-03 07:18:44 +02:00
commit 6ef3df2322
8 changed files with 11 additions and 9 deletions

View File

@ -219,6 +219,7 @@ function filterByRecord(modelLog) {
}
async function applyFilter(params = {}) {
paginate.value.arrayData.resetPagination();
paginate.value.arrayData.applyFilter({
filter: {},
params: { originFk: route.params.id, ...params },

View File

@ -6,7 +6,7 @@ import AccountSummary from './AccountSummary.vue';
<QPopupProxy style="max-width: 10px">
<AccountDescriptor
v-if="$attrs.id"
v-bind="$attrs.id"
v-bind="$attrs"
:summary="AccountSummary"
:proxy-render="true"
/>

View File

@ -22,7 +22,7 @@ const routes = reactive({
getSupplier: (id) => {
return { name: 'SupplierCard', params: { id } };
},
getTickets: (id) => {
getInvoices: (id) => {
return {
name: 'InvoiceInList',
query: {
@ -131,11 +131,11 @@ async function setInvoiceCorrection(id) {
</QBtn>
<QBtn
size="md"
icon="vn:ticket"
icon="vn:invoice-in"
color="primary"
:to="routes.getTickets(entity.supplierFk)"
:to="routes.getInvoices(entity.supplierFk)"
>
<QTooltip>{{ t('globals.ticketList') }}</QTooltip>
<QTooltip>{{ t('invoiceIn.descriptor.invoices') }}</QTooltip>
</QBtn>
<QBtn
v-if="

View File

@ -15,6 +15,7 @@ invoiceIn:
amount: Amount
descriptor:
ticketList: Ticket list
invoices: Supplier invoices
descriptorMenu:
book: Book
unbook: Unbook

View File

@ -14,7 +14,7 @@ invoiceIn:
awb: AWB
amount: Importe
descriptor:
ticketList: Listado de tickets
invoices: Facturas de proveedor
descriptorMenu:
book: Contabilizar
unbook: Descontabilizar

View File

@ -198,7 +198,7 @@ const getLocale = (label) => {
<QItemSection>
<VnSelect
dense
rounded
filled
:label="t('globals.params.packing')"
v-model="params.packing"
url="ItemPackingTypes"

View File

@ -91,7 +91,7 @@ onBeforeMount(async () => {
</template>
</VnLv>
</div>
<div class="vn-card-content">
<div class="vn-card-content" v-if="advancedSummary">
<VnLv
:label="t('worker.summary.fiDueDate')"
:value="toDate(advancedSummary.fiDueDate)"

View File

@ -13,7 +13,7 @@ describe('InvoiceInDescriptor', () => {
cy.validateCheckbox(checkbox, false);
});
it.skip('should delete the invoice properly', () => {
it('should delete the invoice properly', () => {
cy.visit('/#/invoice-in/2/summary');
cy.selectDescriptorOption(2);
cy.clickConfirm();