Alterando guia de classe de fatura

Alterando guia de classe de fatura

Isso é de uma pergunta mais antiga, mas estou me perguntando como posso alterar o código abaixo para que a guia quantidade diga "itens" em vez de "horas?

\documentclass{invoice}

\def \tab {\hspace*{3ex}} 

\begin{document}

\hfil{\Huge\bf Initech Inc.}\hfil 
\bigskip\break % Whitespace
\hrule % Horizontal line

123 Broadway \hfill (000) 111-1111 \\ 
City, State 12345 \hfill [email protected]
\\ \\
{\bf Invoice To:} \\
\tab James Smith \\ % Invoice recipient
\tab Generic Corporation \\ % Recipient's company

{\bf Date:} \\
\tab \today \\ 

\begin{invoiceTable}

\feetype{Consulting Services} 

\hourrow{October 3, 2012}{8}{12} 
\hourrow{October 4, 2012}{6.5}{12}
\hourrow{October 5, 2012}{5.25}{12}
\hourrow{October 10, 2012}{9.75}{20}
\hourrow{October 11, 2012}{5}{12.51}

\feetype{Accounting Services} % Fee category description

Responder1

Você pode usar o \unitrowcomando conforme mostrado no seguinte MWE:

insira a descrição da imagem aqui \documentclass{fatura}

\def \tab {\hspace*{3ex}} 

\begin{document}

\begin{invoiceTable}

\feetype{Consulting Services} 

\unitrow{October 3, 2012}{8}{12}{items}
\hourrow{October 4, 2012}{6.5}

\end{invoiceTable}
\end{document}

informação relacionada