SQL-Ledger Homepage

SQL-Ledger User Forum

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
Dave(R)

16.05.2016, 23:13
 

pdf invoice for v3.2.0 (General)

Hi, I have a heavily modified invoice.tex that I've been using for v3.0.8 with statements that break rules etc. When I go to use it in v3.2.0 I get an error! I switched back to 3.0.8 and it doesn't give an error. Is there something different in v3.2.0 with latex so that it won't load my invoices ?

Thanks,

Dave

ps. The features in 3.2.0 are nice, I like how it shows cost real time.

Leho Kraav(R)

16.07.2017, 18:13

@ pjaouen

pdf invoice for v3.2.0

Hi, I have a heavily modified invoice.tex that I've been using for
v3.0.8
with statements that break rules etc. When I go to use it in v3.2.0
I
get
an error!

check the error file in the users directory.

Hi I checked the error, and it's very verbose.
Dave

I also have errors with v3.2.0 (pdf invoice : no error with 1 print , error
with 2 or more copies) but in users directory I get a verbose .err file and
an printable correct .ps file !

One thing I've noticed is I can't have nested <%if%> and <%foreach%>, or the <%end ...%> tags will get confused. Example:

```
<%if paid_1%>
\begin{tabularx}{\textwidth}{@{}lXlr@{}}
\textbf{PAYMENTS MADE} & & & \\
\hline
\textbf{Date} & & \textbf{Description} & \textbf{Sum} \\
<%foreach payment%>
<%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \\
<%end payment%>
\end{tabularx}

\vspace{0.5cm}
<%end paid_1%>
```

Will cause a `\end{tabularx}` mismatch. Removing either `if` or `foreach` immediately makes the template work. Also, unnesting makes the template work, like such:

```
\begin{tabularx}{\textwidth}{@{}lXlr@{}}
<%if payment%>
\textbf{PAYMENTS MADE} & & & \\
\hline
\textbf{Date} & & \textbf{Description} & \textbf{Sum} \\
<%end payment%>
<%foreach payment%>
<%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%payment%> \
<%end payment%>
\end{tabularx}
```

pjaouen(R)

30.05.2016, 10:42

@ Dave

pdf invoice for v3.2.0

Hi, I have a heavily modified invoice.tex that I've been using for
v3.0.8
with statements that break rules etc. When I go to use it in v3.2.0 I
get
an error!

check the error file in the users directory.

Hi I checked the error, and it's very verbose.
Dave

I also have errors with v3.2.0 (pdf invoice : no error with 1 print , error with 2 or more copies) but in users directory I get a verbose .err file and an printable correct .ps file !

Dave(R)

18.05.2016, 11:40

@ Dieter Simader

pdf invoice for v3.2.0

Hi, I have a heavily modified invoice.tex that I've been using for
v3.0.8
with statements that break rules etc. When I go to use it in v3.2.0 I
get
an error! I switched back to 3.0.8 and it doesn't give an error. Is
there
something different in v3.2.0 with latex so that it won't load my
invoices
?

Thanks,

Dave

ps. The features in 3.2.0 are nice, I like how it shows cost real time.

check the error file in the users directory.

Hi I checked the error, and it's very verbose. I now have a new problem that perhaps you could help in the mean time. I cannot login now, because it says the dataset is newer than the sql-ledger version. Is there anyway to by-pass this check at login? or fix this issue. I am using v3.0.8, and don't have time to fix my invoice to work with 3.2.0 at this time.

Dave

Dieter Simader(R)

17.05.2016, 13:11

@ Dave

pdf invoice for v3.2.0

Hi, I have a heavily modified invoice.tex that I've been using for v3.0.8
with statements that break rules etc. When I go to use it in v3.2.0 I get
an error! I switched back to 3.0.8 and it doesn't give an error. Is there
something different in v3.2.0 with latex so that it won't load my invoices
?

Thanks,

Dave

ps. The features in 3.2.0 are nice, I like how it shows cost real time.

check the error file in the users directory.

Back to the board
Thread view  Mix view  Order
986 Postings in 325 Threads, 327 registered users, 103 users online (0 registered, 103 guests)
SQL-Ledger User Forum | Admin contact
RSS-Feed
powered by my little forum