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

feat: fetch sales person api #10

Merged
merged 4 commits into from
Jul 13, 2023
Merged

feat: fetch sales person api #10

merged 4 commits into from
Jul 13, 2023

Conversation

Jeevansyriac
Copy link
Member

No description provided.

slaes_person_dtls = frappe.get_all("Voxbay Agent Settings User",
filters={"user": lead_own},
fields=["user", "source_number", "extension_number"])
slaes_person_dtls = frappe.get_value("Voxbay Agent Settings User",{"user": lead_own},"source_number")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct the spelling

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if not sales_person_details:
        return {"success": False, "error":"Sales person Not Found"}

@rtdany10 rtdany10 merged commit 89145a3 into vershion-13 Jul 13, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants