refactor: refs #8316 restore exprBuilder function to filter invoice data
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jose Antonio Tubau 2025-01-13 07:02:11 +01:00
parent 531371543e
commit 34cfd57589
1 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,11 @@ async function fetchClientAddress(id) {
addressOptions.value = data;
}
const exprBuilder = (_, value) => {
return {
or: [{ code: value }, { description: { like: `%${value}%` } }],
};
};
const columns = computed(() => [
{
@ -177,7 +181,6 @@ watchEffect(selectedRows);
:array-data-props="{
url: 'InvoiceOuts/filter',
order: ['id DESC'],
exprBuilder,
}"
>
<template #rightMenu>