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

test: include canonical source date in autopost fixture

davoodmehraban89 committed Nov 17, 2026 at 23:38 UTC 5fa60d11b13da1955900600ac4e81324c531cf94
1 file changed +1 -1
supabase/tests/wp1_phase1a_stage1_sql_behavior.sql
+1 -1
@@ -53,7 +53,7 @@ WHERE m.user_id='cccc3333-3333-4333-8333-333333333333'
53 AND m.organization_id=current_setting('finora_test.org_a')::uuid AND r.role_key='phase1a_commerce_only';
54 INSERT INTO public.records(organization_id,owner_id,collection,id,data)
55 VALUES(current_setting('finora_test.org_a')::uuid,'cccc3333-3333-4333-8333-333333333333',
56 -'invoices','SOURCE_C_1','{"companyId":"COMP_STAGE_1","kind":"formal","paymentMethod":"cash","vatMode":"none","vatType":"percent","vatRate":0,"items":[{"qty":1,"price":100,"lineTotal":100}],"subtotal":100,"discount":0,"discountType":"fixed","discountInput":0,"vat":0,"grandTotal":100,"accountingVersion":1}'::jsonb);
56 +'invoices','SOURCE_C_1','{"companyId":"COMP_STAGE_1","date":"1405/07/24","kind":"formal","paymentMethod":"cash","vatMode":"none","vatType":"percent","vatRate":0,"items":[{"qty":1,"price":100,"lineTotal":100}],"subtotal":100,"discount":0,"discountType":"fixed","discountInput":0,"vat":0,"grandTotal":100,"accountingVersion":1}'::jsonb);
57 -- A pro-forma document must never post as a sale.
58 INSERT INTO public.records(organization_id,owner_id,collection,id,data)
59 VALUES(current_setting('finora_test.org_a')::uuid,