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

Register Phase 2 accounting collections

davoodmehraban89 committed Sep 28, 2026 at 17:49 UTC 7ae965804ff3c51b3160376a6335c083221d59bd
1 file changed +1 -1
js/core.js
+1 -1
@@ -34,7 +34,7 @@ const SUPABASE_URL='https://hcsixhqbyuhpshfwqpjx.supabase.co';
34 const SUPABASE_KEY='sb_publishable_2y8IsGdhqeLDPkEp7mBF4w_X4yji16D'; // publishable (public by design); access is enforced by RLS on the server
35 const sb=window.supabase.createClient(SUPABASE_URL,SUPABASE_KEY,{auth:{persistSession:true,autoRefreshToken:true,detectSessionInUrl:true,flowType:'pkce'}});
36 const ID_RE=/^[A-Za-z0-9_-]{1,64}$/;
37 -const COLLS=['companies','contacts','products','invoices','purchases','cheques','expenses','payments','settings'];
37 +const COLLS=['companies','contacts','products','invoices','purchases','cheques','expenses','payments','settings','fiscalYears','accounts','dimensionTypes','dimensionValues','accountDimensionRules','branches','projects','projectLinks'];
38
39 function esc(v){return String(v==null?'':v).replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');}
40 function todayISO(){return new Intl.DateTimeFormat('en-CA',{timeZone:'Asia/Tehran',year:'numeric',month:'2-digit',day:'2-digit'}).format(new Date());}