Pengin-Open-Source / pengin-pi

PENGIN PI! A CRM with the back bone of a feature light ERP system. Utilitarian in design, easy to extend, customize, and deploy. Made by a community, supported by Tobu Pengin.
GNU General Public License v3.0
9 stars 1 forks source link

[TASK] client side, we need to ensure we are not sending USERID to the template #421

Closed stuart909 closed 5 months ago

stuart909 commented 6 months ago

Description on client side, we need to ensure we are not sending USERID to the template, rather, names only

NOTE: at some point, we need to make sure only specific names are sent, not all names.

Details We should be sending first_name, last_name of all validated users in the CRM. The list being sent to the view should be a tuple of dictionaries.

( {"first_name: "name", "last_name": "name"})

Additional context do not send list to the view. Send tuple.