frappe / changemakers

Beneficiary Management Platform, built on Frappe Framework.
https://frappe.io/products/changemakers
GNU Affero General Public License v3.0
74 stars 31 forks source link

Active partner or not should be visible in tickets export #127

Closed Nikhil-Jorge closed 1 year ago

Nikhil-Jorge commented 1 year ago

Right now, when we select a beneficiary in a ticket, age and gender fields come up as extra fields. Can we add a field for active partners also - which will be fetched from Beneficiary

harshtandiya commented 1 year ago

I cannot see an "Active Partner" field in the Beneficiary doctype. Is this something that was custom at your end?

Nikhil-Jorge commented 1 year ago

image

YES IT IS!

harshtandiya commented 1 year ago

Perhaps, in tickets add another field "Active Partner" through Customize Form.

And fetch Active Partner field from Beneficiary image

As it is custom on your end, I would not like to avoid the chances of breaking anything by duplicating the active partner field from my side. It is pretty straightforward, but please let me know if you need any help.

Nikhil-Jorge commented 1 year ago

Yes. I need a help. If the benefiary we select is active partner , we should fetch that. Do I need to create a link datatype in the form?

harshtandiya commented 1 year ago

@Nikhil-Jorge Tickets already have a link to beneficiary doctype. But if you want to implement fetching in some other doctype, you will require a link field to the doctype you wanna fetch from.

You can learn more about fetching from here: Fetch From: All About DocType Form in Frappe Framework - Build With Hussain

Nikhil-Jorge commented 1 year ago

Done. thanks for the support.

Nikhil-Jorge commented 1 year ago

.