chore: resolve conflicts

This commit is contained in:
Gursheen Kaur Anand
2023-10-07 15:21:50 +05:30
committed by GitHub
parent 24b1100c8f
commit 3f59518d01

View File

@@ -94,20 +94,8 @@ def get_statement_dict(doc, get_statement_dict=False):
statement_dict[entry.customer] = (
[res, ageing] if get_statement_dict else get_html(doc, filters, entry, col, res, ageing)
)
<<<<<<< HEAD
if not bool(statement_dict):
return False
elif consolidated:
result = "".join(list(statement_dict.values()))
return get_pdf(result, {"orientation": doc.orientation})
else:
for customer, statement_html in statement_dict.items():
statement_dict[customer] = get_pdf(statement_html, {"orientation": doc.orientation})
return statement_dict
=======
return statement_dict
>>>>>>> 67f878ff8c (refactor: separate function for statement dict)
def set_ageing(doc, entry):