-
Notifications
You must be signed in to change notification settings - Fork 76
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
Conversation
a49aae5
to
47edb5e
Compare
app/services/reports/generate_csv.rb
Outdated
|
||
data.each do |row| | ||
csv << row | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reindent.
app/services/reports/generate_pdf.rb
Outdated
locals: { report_data:, current_company: } | ||
).make | ||
end | ||
def generate_time_entries_pdf |
There was a problem hiding this comment.
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)
There was a problem hiding this 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!
What
Preview
https://www.loom.com/share/7bb851c20a7047c38523b0192bd064ec