Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added CRM Workspace #31

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions crm/fcrm/workspace/frappe_crm/frappe_crm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"charts": [],
"content": "[{\"id\":\"1nr6UkvDiL\",\"type\":\"header\",\"data\":{\"text\":\"<span class=\\\"h5\\\"><b>PORTAL</b></span>\",\"col\":12}},{\"id\":\"1hyi8SysUY\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"CRM Portal Page\",\"col\":3}},{\"id\":\"ktENiGaqXQ\",\"type\":\"spacer\",\"data\":{\"col\":12}},{\"id\":\"VgeWLYOuAS\",\"type\":\"paragraph\",\"data\":{\"text\":\"<b>SHORTCUTS</b>\",\"col\":12}},{\"id\":\"A66FpG-K3T\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Leads\",\"col\":3}},{\"id\":\"n9b6N5ebOj\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Deals\",\"col\":3}},{\"id\":\"sGHTXrludH\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Organizations\",\"col\":3}},{\"id\":\"uXZNCdqxy0\",\"type\":\"shortcut\",\"data\":{\"shortcut_name\":\"Contacts\",\"col\":3}}]",
"creation": "2023-11-27 13:55:17.090361",
"custom_blocks": [],
"docstatus": 0,
"doctype": "Workspace",
"for_user": "",
"hide_custom": 0,
"icon": "crm",
"idx": 0,
"indicator_color": "green",
"is_hidden": 0,
"label": "Frappe CRM",
"links": [],
"modified": "2023-11-27 14:29:01.217327",
"modified_by": "[email protected]",
"module": "FCRM",
"name": "Frappe CRM",
"number_cards": [],
"owner": "[email protected]",
"parent_page": "",
"public": 1,
"quick_lists": [],
"roles": [],
"sequence_id": 1.0,
"shortcuts": [
{
"color": "Grey",
"doc_view": "List",
"label": "Leads",
"link_to": "CRM Lead",
"stats_filter": "[[\"CRM Lead\",\"converted\",\"=\",0,false]]",
"type": "DocType"
},
{
"color": "Grey",
"doc_view": "List",
"label": "CRM Portal Page",
"type": "URL",
"url": "/crm"
},
{
"color": "Grey",
"doc_view": "List",
"label": "Deals",
"link_to": "CRM Deal",
"stats_filter": "[]",
"type": "DocType"
},
{
"color": "Grey",
"doc_view": "List",
"label": "Organizations",
"link_to": "CRM Organization",
"stats_filter": "[]",
"type": "DocType"
},
{
"color": "Grey",
"doc_view": "List",
"label": "Contacts",
"link_to": "Contact",
"stats_filter": "[]",
"type": "DocType"
}
],
"title": "Frappe CRM"
}
4 changes: 2 additions & 2 deletions frontend/src/pages/Deal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@
class="flex cursor-pointer items-center justify-between gap-2 pr-1 text-base leading-5 text-gray-700"
>
<div
class="flex h-7 items-center gap-2"
class="flex h-7 items-center gap-2 truncate"
@click="toggle()"
>
<Avatar
:label="getContactByName(contact.name).full_name"
:image="getContactByName(contact.name).image"
size="md"
/>
{{ getContactByName(contact.name).full_name }}
<div class="truncate">{{ getContactByName(contact.name).full_name }}</div>
<Badge
v-if="contact.is_primary"
class="ml-2"
Expand Down
Loading