Ticket #262 (new enhancement)
Opened 4 years ago
multiple lines within memo field, for better printing/display
| Reported by: | jmorrison@… | Owned by: | brieb |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | phpbms | Version: | trunk |
| Keywords: | Cc: |
Description
It would be nice to enter a <br> or equivalent when editing an invoice memo/line item.
I imported some lineitems directly into SQL, which SQL escapes as \n. I printed the PDF Invoice and it displays very nicely. So the database and FPDF are happy with breaks in the memo field. But the \n doesn't display properly in HTML, and there doesn't seem to be a way to enter the \n in the input form. In Excel this would be ALT+ENTER and Acrobat uses SHIFT+ENTER for multiple lines within cells/forms.
I was looking at include/invoices.php echo formatVariable($therecordmemo?) which should end up calling HtmlQuote?, so I'm not sure why it doesn't display. If it's done in javascript/invoice.js then I'm totally lost.