Files
fourge-portal/.claude/settings.local.json
T
Krao Hasanee da0e5d5c39 fix: guard task status updates on invoice lifecycle transitions
Prevent overwriting task status when task has moved to a new revision
cycle after being invoiced. Now uses .eq('status', guardStatus) to only
update tasks still at the expected prior state:
- invoice creation: only update tasks at client_approved → invoiced
- mark sent: only client_approved → invoiced
- mark paid: only invoiced → paid
- reopen: only paid → client_approved

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 22:22:18 -05:00

32 lines
1.6 KiB
JSON

{
"permissions": {
"allow": [
"Bash(npm run *)",
"Bash(awk 'NR>=547 && /^}/ {print NR\": \"$0; c++; if\\(c>=1\\) exit}' src/pages/Companies.jsx)",
"Bash(sed -n '545,548p' src/pages/Companies.jsx)",
"Bash(sed -i '' '545,715d' src/pages/Companies.jsx)",
"Bash(sed -n '542,548p' src/pages/Companies.jsx)",
"Bash(sed -n '76,80p' src/pages/team/TeamSubInvoiceDetail.jsx)",
"Bash(sed -n '147p' src/pages/Profile.jsx)",
"Bash(awk '{print $5, $9}')",
"Bash(git add *)",
"Bash(git commit -q -m ' *)",
"Bash(git push *)",
"Bash(vercel --prod --yes)",
"Bash(sed -n '1,15p' src/pages/external/ExternalMyInvoices.jsx)",
"Bash(sed -n '1,15p' src/pages/client/ClientMyInvoices.jsx)",
"Bash(git commit -q -m 'fix: restore popupOverlayStyle import in ExternalMyInvoices *)",
"Bash(git commit -q -m 'style: increase card-bg alpha to match Safari rendering *)",
"Bash(git commit -q -m 'fix: subcontractor PDF title + multi-page support *)",
"Bash(git commit -q -m 'style: card-bg dark-based alpha to match Safari panel look *)",
"Bash(git commit -q -m 'style: white-based card-bg 0.07, blur 12px→20px for less transparency *)",
"Bash(git commit -q -m 'fix: subcontractor PDF quality, footer on all pages, header gap *)",
"mcp__plugin_supabase_supabase__execute_sql",
"Bash(sed -n '88,100p' src/pages/Tasks.jsx)",
"Bash(sed -n '570,600p' src/pages/Tasks.jsx)",
"Bash(git commit -q -m 'fix: hide counter on All tab in projects table *)",
"Bash(git commit -q -m 'fix: guard task status updates on invoice lifecycle transitions *)"
]
}
}