Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@apoorv1316
Copy link
Collaborator

@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
Collaborator

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
Collaborator

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
Collaborator

@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
@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.

3 participants