chore: initial commit Dutra Store POS app

This commit is contained in:
Onie
2026-07-23 22:12:32 +07:00
commit 22356f630e
175 changed files with 13934 additions and 0 deletions

27
check_addform_parens2.py Normal file
View File

@@ -0,0 +1,27 @@
with open('D:\\app\\ai\\app-grosir\\lib\\screens\\produk_screen.dart', 'r') as f:
lines = f.readlines()
opens = 0
closes = 0
for i in range(179, 436):
line = lines[i]
in_string = False
escape = False
for c in line:
if escape:
escape = False
continue
if c == '\\':
escape = True
continue
if c in "'\"":
in_string = not in_string
continue
if in_string:
continue
if c == '(':
opens += 1
elif c == ')':
closes += 1
print(f'Total (: {opens}, ): {closes}, diff: {opens-closes}')