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