Skip to content

Commit

Permalink
Merge pull request #31 from shariquerik/crm-workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik authored Nov 27, 2023
2 parents 78409c4 + 2939513 commit 362266f
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
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

0 comments on commit 362266f

Please sign in to comment.