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

Excel export at PNL and Balance Sheet #4958

Open
aungzwin10 opened this issue Sep 4, 2020 · 4 comments
Open

Excel export at PNL and Balance Sheet #4958

aungzwin10 opened this issue Sep 4, 2020 · 4 comments
Labels
bite-sized Deemed a good starting point for new contributors to learn about the code base. help-wanted Project needs help to move forward on this item sponor-wanted type:enhancement Proposed improvement, new feature, or extension -- not a defect

Comments

@aungzwin10
Copy link
Member

I would like to request to develop Excel export function at PNL report and Balance Sheet report.
Format of excel would be the same as PDF export or current HTML output.

@ehuelsmann ehuelsmann added the type:enhancement Proposed improvement, new feature, or extension -- not a defect label Sep 4, 2020
@ehuelsmann ehuelsmann changed the title Feature Request : Excel export at PNL and Balance Sheet Excel export at PNL and Balance Sheet Sep 4, 2020
@ehuelsmann
Copy link
Member

Our templating system is designed to allow users to develop this kind of functionality themselves. However, I've checked the HTML template for required functionalities to implement the template versus the functionalities available in the XLS templating engine.

The following functionalities are missing (to be checked once implemented):

  • Setting of column width (in order to be able to create indenting)
  • Merging of cells (in order to create a single cell with text for the remainder of the row)

Further more, the links at the bottom of the PNL and Balance sheet are hard-coded, meaning that additional templates in additional formats won't show, even when the application knows how to process these templates.

@aungzwin10
Copy link
Member Author

How can I implement this excel export?

@ehuelsmann ehuelsmann added bite-sized Deemed a good starting point for new contributors to learn about the code base. help-wanted Project needs help to move forward on this item labels Feb 22, 2021
@ehuelsmann
Copy link
Member

@aungzwin10 you need to create a template named"balance_sheet.xlst" and use the tags from https://github.com/ledgersmb/LedgerSMB/blob/master/lib/LedgerSMB/Template/Plugin/XLSX.pm#L139 to generate worksheets, rows and cells.

@ehuelsmann
Copy link
Member

ehuelsmann commented Dec 19, 2023

I'll build this when someone sponsors it.

@ehuelsmann ehuelsmann unpinned this issue Apr 28, 2024
@ehuelsmann ehuelsmann pinned this issue Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bite-sized Deemed a good starting point for new contributors to learn about the code base. help-wanted Project needs help to move forward on this item sponor-wanted type:enhancement Proposed improvement, new feature, or extension -- not a defect
Projects
None yet
Development

No branches or pull requests

2 participants