payee address
Scott Lair
scott at laircpa.com
Tue Apr 4 13:18:44 UTC 2017
On Mon, 03 Apr 2017 20:20:07 -0400
Jack <ostroffjh at users.sourceforge.net> wrote:
> On 2017.04.03 15:35, Scott Lair wrote:
> > Using kmymoney 4.8.0
> >
> > Looking in my payee address tab I don't see a city or state
> > field. The printcheck template does have city and state, however.
> > Any way to enable these two fields?
> >
> > I ended up putting the entire address in the address field,
> > however when printing checks, the address is printed as one long
> > string. Is there a workaround for that? I guess I'd like to have
> > addressline1, addressline2 etc in addition to the city and state
> > fields.
>
> Scott,
>
> I have not tried this, but as the template is essentially html, you
> might try putting <BR> within the address field to break lines. The
> normal line break is just white space, which is ignored in html -
> thus the result of a single long line. The problem with breaking
> down as city/state is that although the names of the fields can be
> translated, I don't know if there is any consistent breakdown that
> would apply everywhere KMM is used. (Yes, line1 line2 line3 would
> work, but if you don't use all of them in a template, you might miss
> one, and if you do use all, you can end up with extra space that
> doesn't look good.)
>
> Jack
Your suggestion got me looking in the kmm xml file and I found an
"
" sequence - apparently html for line feed. Adding "white-space:
pre-line" to my paragraph definition resulted in the address block
getting correctly formatted, at least in my limited testing.
Hopefully, it's a good long term solution.
thanks,
Scott
More information about the KMyMoney
mailing list