Validate payees
This commit is contained in:
parent
607eaef264
commit
1dd254a3a7
|
@ -62,6 +62,7 @@ class LinkGroupInfo(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
|||
pay_list = {}
|
||||
|
||||
platform_pay_list = []
|
||||
if "platform" in payees:
|
||||
for payee in payees["platform"]:
|
||||
cast = {
|
||||
"name": payee.name,
|
||||
|
@ -78,6 +79,7 @@ class LinkGroupInfo(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
|||
platform_pay_list.append(cast)
|
||||
|
||||
requisition_pay_list = []
|
||||
if "requisition" in payees:
|
||||
for payee in payees["requisition"]:
|
||||
cast = {
|
||||
"name": payee.name,
|
||||
|
|
Loading…
Reference in New Issue