Bug/fortnox import (#298)

* feat: enhance journal entry handling with follow-up entries and related RPC

* fix: improve validation for journal entry lines to ensure proper submission criteria

* fix: enhance OAuth error handling and user feedback in Arcim migration process

* fix: add OAuth error translation for user-friendly feedback in Fortnox integration
This commit is contained in:
Mattsson
2026-04-21 13:25:13 +02:00
committed by GitHub
parent 64cd6a0989
commit 129664533c
3 changed files with 102 additions and 26 deletions
@@ -110,7 +110,12 @@ AS $$
'out_of_period', (p.fiscal_period_id IS DISTINCT FROM p_period_id)
) AS entry,
p.total AS total_count
FROM paged p;
FROM paged p
ORDER BY
CASE WHEN p_sort_date = 'asc' THEN p.entry_date END ASC NULLS LAST,
CASE WHEN p_sort_date = 'desc' THEN p.entry_date END DESC NULLS LAST,
p.voucher_series,
p.voucher_number;
$$;
GRANT EXECUTE ON FUNCTION public.list_fiscal_period_entries_with_related(