[GNC] Custom invoices don't work after upgrade
Christopher Lam
christopher.lck at gmail.com
Fri Jul 3 08:25:33 EDT 2020
Here you go. Seems to be a nice css template. You should submit for
inclusion ^_^
On Fri, 3 Jul 2020 at 11:24, <lomax at clickworkorange.com> wrote:
> Still locked in battle with my invoice template. While testing a few
> changes I noticed they weren't being picked up - because I was editing
> the wrong file. A search revealed no less than five(!) different
> locations where I had copies of the template files:
>
> ~/.local/share/gnucash/
> ~/.config/gnucash/
> ~/.gnucash
> /usr/share/gnucash/scm/gnucash/report/
> /usr/share/gnucash/scm/gnucash/reports/
>
> I guess at least some of these are left-overs from earlier versions.
> Perhaps I should apt-get purge and start over. Having perused the wiki
> it is my understanding that custom template files should (now) go in
> ~/.config/gnucash/, but if I put everything in there and dump the other
> duplicates I get an error "Template file "cwo-invoice.eguile.scm" can
> not be read". My template consists of the following files:
>
> cwo-invoice.eguile.scm
> cwo-invoice.scm
> cwo-invoice.css
>
> I also have a config-user.scm in ~/.config/gnucash/ which contains
> (load "~/.config/gnucash/cwo-invoice.scm"). Where do I put cwo-
> invoice.eguile.scm so that GnuCash finds it?
>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
-------------- next part --------------
=cwo=
Invoice 000001
Customer-GBP
B1
B2
B3
b4
b5
Invoice Date: 04/11/19
Due Date: 04/11/19
myname
myaddress1
myaddress2
myaddress3
Date Description Net Price Tax Rate Tax Amount Total Price
02/11/19 Income Standard £100.00 20% £20.00 £120.00
02/11/19 Income Reduced £100.00 5% £5.00 £105.00
Sub-total £200.00 £25.00 £225.00
11/11/19 Payment received, thank you -£225.00
Amount Due £0.00
Inv-GBP Accumulatew
Thank you for your patronage!
myname
myaddress1
myaddress2
myaddress3
myphone
Company registered in the UK #
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-for-4.0.patch
Type: text/x-patch
Size: 7616 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20200703/1d322426/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-files.patch
Type: text/x-patch
Size: 36264 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20200703/1d322426/attachment-0003.bin>
More information about the gnucash-user
mailing list