da0e5d5c39aa1628500c47f9d85f5c3df1757771
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>
Description
Portal for Fourge Branding
Languages
JavaScript
82.3%
CSS
5%
TypeScript
4.4%
PLpgSQL
4.2%
HTML
4.1%