Skip to content

Commit

Permalink
Merge pull request #30 from rtCamp/fix/opp-status
Browse files Browse the repository at this point in the history
fix: rename deal to opportunity in statusOptions
  • Loading branch information
Aryan20 authored Nov 21, 2024
2 parents ef83388 + 2ef7141 commit 3af0367
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Modals/OpportunityModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const filteredSections = computed(() => {
})
const opportunityStatuses = computed(() => {
let statuses = statusOptions('deal')
let statuses = statusOptions('opportunity')
if (!opportunity.status) {
opportunity.status = statuses[0].value
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/MobileOpportunity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</template>
</Breadcrumbs>
<div class="absolute right-0">
<Dropdown :options="statusOptions('deal', updateField, customStatuses)">
<Dropdown :options="statusOptions('opportunity', updateField, customStatuses)">
<template #default="{ open }">
<Button
:label="opportunity.data.status"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Opportunity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@click="showAssignmentModal = true"
/>
</component>
<Dropdown :options="statusOptions('deal', updateField, customStatuses)">
<Dropdown :options="statusOptions('opportunity', updateField, customStatuses)">
<template #default="{ open }">
<Button
:label="opportunity.data.status"
Expand Down
2 changes: 1 addition & 1 deletion next_crm/api/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_notifications():
),
"reference_name": notification.reference_name,
"route_name": (
"Deal" if notification.reference_doctype == "Opportunity" else "Lead"
"Opportunity" if notification.reference_doctype == "Opportunity" else "Lead"
),
}
)
Expand Down

0 comments on commit 3af0367

Please sign in to comment.