#8581 invoiceIn e2e #1452

Merged
jorgep merged 153 commits from 8581-invoiceinE2e into dev 2025-03-20 08:58:01 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit dfb5cfb513 - Show all commits

View File

@ -113,8 +113,8 @@ async function cloneInvoice() {
const isAgricultural = () => {
if (!config.value) return false;
return (
invoiceIn.value?.supplier?.sageFarmerWithholdingFk ===
config?.value[0]?.sageWithholdingFk
invoiceIn.value?.supplier?.sageWithholdingFk ===
config?.value[0]?.sageFarmerWithholdingFk
);
};
function showPdfInvoice() {
@ -174,7 +174,7 @@ const createInvoiceInCorrection = async () => {
/>
<FetchData
url="InvoiceInConfigs"
:where="{ fields: ['sageWithholdingFk'] }"
:where="{ fields: ['sageFarmerWithholdingFk'] }"
auto-load
@on-fetch="(data) => (config = data)"
/>