@davoodmehraban89 / Factor-easy / commits / a5d1632
Fork 0

سامانه صدور فاکتور و حسابداری

fix: declare source lock state in legacy guard

davoodmehraban89 committed Nov 17, 2026 at 17:27 UTC a5d1632cff1403a16516475fde78d1fffaa3880e
1 file changed +1
supabase/migrations/20261117120000_wp1_stage3_canonical_source_link_projection.sql
+1
@@ -10,6 +10,7 @@ DECLARE
10 v_kind text;
11 v_voucher public.records%rowtype;
12 v_effective_status text;
13 + source_locked boolean := false;
14 v_projection_keys text[] := ARRAY[
15 'journalVoucherId','accountingStatus','accountingPostedAt',
16 'documentStatus','documentPostedAt','documentPostedBy',