Persist workspace tabs in the app shell with Ant Design styling aligned to the desktop top bar, and fix tab bar layout flicker on select. Add shared PageHeader components, query helpers, and missing header state across CRM views; improve mobile shell layout and Vite HMR stability on Windows.
Co-authored-by: Cursor <cursoragent@cursor.com>
Register Ant Modal correctly so overlays are not stuck under the table, and add page size controls for the documents list.
Co-authored-by: Cursor <cursoragent@cursor.com>
Link uploaded attachment ids to the comment entry, label photo-only notes as file attached, and expose view/download actions for non-image files.
Co-authored-by: Cursor <cursoragent@cursor.com>
Income/expense lists are table-or-card with detail, edit, void, and delete; edit/delete require owner, admin, or the new finance manage permission.
Co-authored-by: Cursor <cursoragent@cursor.com>
When done/reopen/stage moves leave a column, advance to the next activity there or return to the list if empty.
Co-authored-by: Cursor <cursoragent@cursor.com>
Allow dueAt/description patches for collaborators when editPolicy is creator-only, and show the no-edit warning only when they try to change locked fields—not as a permanent banner.
Co-authored-by: Cursor <cursoragent@cursor.com>
Reset hung move queues, defer drag visuals past dragstart, and prefer card drop identity so HTML5 DnD no longer dies mid-drag.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add editPolicy (default creator-only), enforce it in the API, surface clear permission messages, and drop the redundant edit menu now that detail is editable.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show related activities on deal detail, prefill dealId on activity create, and add a side-panel quick create from pipeline cards.
Co-authored-by: Cursor <cursoragent@cursor.com>
Return to the filtered desk after marking an activity done, widen the detail title, and stop a stuck column-drag id from blocking card moves.
Co-authored-by: Cursor <cursoragent@cursor.com>
Let people change activity fields and their own notes with photos from the detail page, open full detail from the card title, and toggle the side peek with a chevron.
Co-authored-by: Cursor <cursoragent@cursor.com>
Let people read notes, postpone, and mark an activity done beside the card instead of opening the full page.
Co-authored-by: Cursor <cursoragent@cursor.com>
A team, role, or person can be taken off the activity from the progress chips, and ungrouped people use the same chip as grouped members.
Co-authored-by: Cursor <cursoragent@cursor.com>
A receipt or payment only reduces the party balance, while an income or expense keeps both amounts. Finance screens stack into cards on a phone so the forms and lists stay readable.
Co-authored-by: Cursor <cursoragent@cursor.com>
Let salary and payments be corrected after they are saved, pick a Jalali period as a month range, and show toman on finance amounts.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the local Ant screens and icon pack. Take treasury parties, routine self-service, Tahesab auto-sync, public lead registration, and contact merge from main.
Replace the inline SVG icon set with the vuesax linear pack, add skeleton primitives for loading states, and keep page scroll inside the app shell.
Co-authored-by: Cursor <cursoragent@cursor.com>
Save a system tracking number on each income and expense, reuse the full contact dialogs for a new party, and create, rename, or delete categories only from the categories tab.
Co-authored-by: Cursor <cursoragent@cursor.com>
Partial receipts and payments stay tied to a customer, company, or user, and the open balance is listed on the income and expense screens.
Co-authored-by: Cursor <cursoragent@cursor.com>