In the above image, I have added some text in 3 lines in the remarks of Sales Invoice
Now I will use the General Ledger report to check my remarks entry and I have checked the checkbox to show remarks
**But in the report’s print format, it shows all in a single line?? **
NCP
August 12, 2024, 8:54am
2
Use <br>
and then check it.
2 Likes
It does work but in the html file of General Ledger, we have a variable defined and the CSS and tag already, so why doesn’t it works and we have to put the manually?
NCP
August 12, 2024, 9:21am
4
Did you use the <br>
, because I tested it in v15 so it worked properly without changing a core code.
Yes I have used the br tag
It works fine but why the core code doesn’t work? (I am also using v15)
The core code works in the v14, but when I reloaded my site few days later, it was again showing the text without any breaks
NCP
August 12, 2024, 9:41am
7
when submitting the sales invoice the br
becomes disappears, fold from your side, again check it.
The br disappears but still we have to put it in the text field manually? the core code should handle this?
I mean If we have to always put the br tag in the remarks field manually every time to get text breaks, it will be ok as a developer but the client would have issues, right?
NCP
August 12, 2024, 9:59am
11
rights … ! but adding <br>
is not difficult for the client, you can teach him!
It is best to set this up without disturbing the core code!
1 Like
Yeah I think this solves the problem but in future maybe some tweaking in the core code or some new version would solve this issue automatically
Thank you for the response