Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export options for accounts aging #1680

Merged
merged 8 commits into from
Mar 11, 2024
Merged

Conversation

apoorv1316
Copy link
Contributor

@apoorv1316 apoorv1316 commented Feb 28, 2024

What

  • Added functionality to generate PDF for accounts aging
  • Added functionality to generate CSV for accounts aging

Preview
https://www.loom.com/share/7bb851c20a7047c38523b0192bd064ec

@apoorv1316 apoorv1316 force-pushed the export-reports-accounts-aging branch from a49aae5 to 47edb5e Compare March 1, 2024 07:23
@apoorv1316 apoorv1316 requested a review from nisusam March 6, 2024 07:27

data.each do |row|
csv << row
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please reindent.

locals: { report_data:, current_company: }
).make
end
def generate_time_entries_pdf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can create common method for both the reports def generate_pdf_reports(reports)

@apoorv1316 apoorv1316 requested a review from nisusam March 11, 2024 09:31
Copy link
Contributor

@nisusam nisusam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@apoorv1316 The total amount is without currency in CSV Data. Please update the same in the new PR.

Rest LGTM!

@apoorv1316 apoorv1316 merged commit fb8d8b8 into develop Mar 11, 2024
1 check passed
@apoorv1316 apoorv1316 deleted the export-reports-accounts-aging branch March 11, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants