|
|
@ -114,8 +114,8 @@ def feedback(args, request): |
|
|
|
.format(current_db_name,frappe.db.get_value('App Users', {'user_id': request['UserID']}, ['name'])),as_dict = True) |
|
|
|
|
|
|
|
for i in api: |
|
|
|
if i['attachments'] != 0: |
|
|
|
i['attachment'] = frappe.db.get_list('File',fields=['file_name','file_url','attached_to_name','file_size'],filters={'attached_to_name':i['name']}) |
|
|
|
# if i['attachments'] != 0: |
|
|
|
i['attachment'] = frappe.db.get_list('File',fields=['file_name','file_url','attached_to_name','file_size'],filters={'attached_to_name':i['name']}) |
|
|
|
if i['status'] == 'Active': |
|
|
|
i['status'] = True |
|
|
|
else: |
|
|
|