This commit is contained in:
David Arranz 2026-06-14 21:40:57 +02:00
parent 789fd4ec3e
commit b52ca83496
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import type { TaxRegimeListRow } from "../shared";
export const getTaxRegimeOptions = (taxRegimes: TaxRegimeListRow[]): SelectFieldItem[] => {
return taxRegimes.map((taxRegime) => ({
value: taxRegime.id,
value: taxRegime.code,
label: taxRegime.description,
}));
};

View File

@ -11,6 +11,7 @@ import { useMemo } from "react";
export const useUpdateProformaPaymentController = () => {
const paymentMethodsQuery = usePaymentMethodsListQuery({
criteria: {
pageSize: 999,
filters: [
{
field: "isActive",