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>
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>
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>
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>
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>
The colon inside the clock was splitting the stamp from the comment, so date, author, text, and attachments now stay together.
Co-authored-by: Cursor <cursoragent@cursor.com>
Role treasury keys now open the first allowed finance page, and team-member ownership limits lists, dashboard, and reports instead of the whole organization.
Co-authored-by: Cursor <cursoragent@cursor.com>
Accounts can be edited, including the opening balance, and finance sections and accounts can be granted on a role or on one user. The finance menu stays hidden when the organization module is disabled.
Co-authored-by: Cursor <cursoragent@cursor.com>
Section access now only creates a record for yourself. Assigning it to a colleague requires a separate permission on that section.
Co-authored-by: Cursor <cursoragent@cursor.com>
Photos on an activity are shrunk with the form-builder compressor and stored only when they fit under 200KB.
Co-authored-by: Cursor <cursoragent@cursor.com>
Unset sections on a saved role policy were still filtered as own-only, so full lead access showed nothing. Activities can now be assigned by org role, and the Tahesab sales report reads as a result instead of a tag wall.
Co-authored-by: Cursor <cursoragent@cursor.com>
Compute حساب قبل from asnad before this doc date/number, add in-app preview layout, and leave a blank mesghal line for handwriting after print.
Co-authored-by: Cursor <cursoragent@cursor.com>
Multiple groups per contact, legacy group text migrated, excel import/export, contacts filter and column, richer create-in-tahesab, match-first bulk export
Unticking a section hides it from the menu, closes its routes and blocks its writes on the server; existing roles keep their current access via migration.
Help reps capture a customer's likely behavior style and get negotiation guidance, with the feature gated from super admin.
Co-authored-by: Cursor <cursoragent@cursor.com>
Link optional invoice and cheque settlements to cash accounts, and let superadmin enable the finance module per organization.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep booked income and expense separate from cash balances, with installments, recurring items, and reports.
Co-authored-by: Cursor <cursoragent@cursor.com>
Imported customers keep their birthday, and assistant text plus remaining calendars use the Jalali date.
Co-authored-by: Cursor <cursoragent@cursor.com>
The hero ask box now uses the same confirm-before-create path as the assistant, count questions use real filters, and lead mobile, Jalali follow-ups, and rial labels stay consistent.
Co-authored-by: Cursor <cursoragent@cursor.com>