texlive[49749] Master: invoice-class (18jan19)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 18 23:37:26 CET 2019


Revision: 49749
          http://tug.org/svn/texlive?view=revision&revision=49749
Author:   karl
Date:     2019-01-18 23:37:26 +0100 (Fri, 18 Jan 2019)
Log Message:
-----------
invoice-class (18jan19)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/invoice-class/
    trunk/Master/texmf-dist/doc/latex/invoice-class/README.md
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.cfg
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.csv
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.tex
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.csv
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.tex
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf
    trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.tex
    trunk/Master/texmf-dist/tex/latex/invoice-class/
    trunk/Master/texmf-dist/tex/latex/invoice-class/invoice-class.cls
    trunk/Master/tlpkg/tlpsrc/invoice-class.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/invoice-class/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/README.md	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,6 @@
+# invoice-class
+The `invoice-class` produces a standard US commercial invoice using data from a CSV file. Invoices can span multiple pages. The class is configurable for different shipping addresses.
+
+The class is released under the LPPL 1.3 licence.
+
+


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.cfg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.cfg	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.cfg	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,10 @@
+% Sample configuration file
+\fromaddress{%
+The Duck Company\\
+Some Avenue\\
+Somewhere MI 48823\\
+USA\\
+Tel. 555-555-5555\\
+}
+\shipper{Prof. van Duck}
+\location{Somewhere, MI}


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.cfg
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.csv
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.csv	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.csv	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,31 @@
+Description, Country, Quantity, UnitValue, Amount
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.csv
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf	2019-01-18 22:36:53 UTC (rev 49748)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf	2019-01-18 22:37:26 UTC (rev 49749)

Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.tex	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,16 @@
+\documentclass{invoice-class}
+\ConfigPrefix{duck-}
+\InputFile{duck-invoice.csv}
+\waybill{8273205776}
+\carrier{FedEx}
+\destination{Brazil}
+\toaddress{Paulo Cereda\\Rua Bonita\\Cidade de Patos\\SP\\Brazil}
+\weight{1}{1}
+\packages{1}
+\shippingcost{40.00}
+\packingcost{0.00}
+\insurancecost{10.00}
+\begin{document}
+\printinvoice
+\end{document}
+


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/duck-invoice.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.csv
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.csv	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.csv	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,6 @@
+Description, Country, Quantity, UnitValue, Amount
+Yellow Ducks, USA,5,2.00,10.00
+Pink Ducks, USA,4,15.00,60.00
+Blue Ducks, USA,6,5.00,30.00
+Orange Ducks, USA,1,4.00,4.00
+Red Ducks, USA,30,2.00,60.00
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.csv
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf	2019-01-18 22:36:53 UTC (rev 49748)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf	2019-01-18 22:37:26 UTC (rev 49749)

Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.tex	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,15 @@
+\documentclass{invoice-class}
+\InputFile{ducks.csv}
+\waybill{8273205776}
+\carrier{FedEx}
+\destination{Brazil}
+\toaddress{Paulo Cereda\\Rua Bonita\\Cidade de Patos\\SP\\Brazil}
+\weight{1}{1}
+\packages{1}
+\shippingcost{40.00}
+\packingcost{0.00}
+\insurancecost{10.00}
+\begin{document}
+\printinvoice
+\end{document}
+


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/ducks.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf	2019-01-18 22:36:53 UTC (rev 49748)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf	2019-01-18 22:37:26 UTC (rev 49749)

Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.tex	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,132 @@
+\documentclass[11pt]{article}
+\title{\textbf{Using the Invoice Class}}
+\author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\\texttt{\href{mailto:amunn at msu.edu}{amunn at msu.edu}}}
+\date{Version 1.0\\January 17, 2019}
+\usepackage{fontspec}
+\setmainfont[]{Linux Libertine O}
+\setsansfont[]{Linux Biolinum O}
+\setmonofont[Scale=MatchLowercase]{Linux Libertine Mono O}
+\usepackage[lmargin=1in,rmargin=1in,tmargin=1.25in,bmargin=1in]{geometry}
+\usepackage{titling}
+\usepackage{array, booktabs, multicol, xspace,tabularx}
+\usepackage{enumitem}
+\usepackage{caption}
+\usepackage{fancyvrb,listings,url}
+\usepackage{pdfpages}
+\usepackage[sf]{titlesec}
+\usepackage{titleps}
+\newpagestyle{main}{%
+\setfoot{\itshape Invoice Class}{}{\thepage}}
+\pagestyle{main}
+
+\usepackage[colorlinks=true]{hyperref}
+
+\DefineShortVerb{\|}
+\newcommand*\bs{\textbackslash}
+  
+\lstset{%
+    basicstyle=\ttfamily\small,
+    commentstyle=\itshape\ttfamily\small,
+    showspaces=false,
+    showstringspaces=false,
+    breaklines=true,
+    breakautoindent=true,
+    frame=single
+    captionpos=t
+    language=TeX
+}
+  
+\newcommand*{\pkg}[1]{\texttt{#1}\xspace}
+\setitemize[1]{label={}}
+\setitemize[2]{label={}}
+\setdescription{font={\normalfont}}
+\setlength{\droptitle}{-1in}
+
+
+
+\begin{document}
+\maketitle
+\thispagestyle{empty}
+\section{Introduction}
+The \pkg{invoice-class} class allows printing of a standard US commercial invoice using invoice data from a CSV spreadsheet. Invoices can span multiple pages.
+
+\section{Class document commands}
+The main class commands specify the parts of the form that need to be filled in.  Each command except |\weight| takes a single argument.
+
+\begin{center}
+\begin{tabularx}{.8\textwidth}{>{\ttfamily\bs}l<{\{\}}X}
+\toprule
+\multicolumn{1}{c}{Command name} & \multicolumn{1}{l}{Description}\\
+\midrule
+{waybill}& waybill number\\
+{shippingdate}& shipping date (default is \texttt{\bs today})\\
+{carrier}& name of the freight carrier\\
+{destination}& destination country\\
+{toaddress}& Destination address\\
+\multicolumn{1}{>{\ttfamily\bs}l}{weight\{<lbs>\}\{<oz>\}} & weight in pounds and ounces\\
+{packages}{1} & number of packages in the shipment\\
+{shippingcost}& total cost of shipping (default = 0.00)\\
+{packingcost} & total cost of packing (default = 0.00)\\
+{insurancecost} & total cost of insurance (default is 0.00)\\
+{InputFile} & name of the CSV file for item date\\
+\bottomrule
+\end{tabularx}
+\captionof{table}{Invoice document commands}\label{commands}
+\end{center}
+
+\subsection{Producing the invoice}
+Once all the required elements  are specified (which can be done in the preamble), there is a single command to produce the invoice:
+\begin{center}
+\begin{tabularx}{.8\textwidth}{>{\ttfamily\bs}lX}
+{printinvoice} & Prints the invoice\\
+\end{tabularx}
+\end{center}
+
+\section{Class configuration commands}
+Since an invoice will generally have a fixed From address, shipper and location, these values are best set in a separate configuration file (although they can also be set within the document.) The class will look for the file |invoice.cfg| or, |<prefix>invoice.cfg| where |<prefix>| is specified using the document command |\ConfigPrefix|. This allows multiple configuration files with different information within them.
+Each configuration file should contain an instance of |\fromaddress|, |\shipper|, and |\location|.
+\begin{center}
+\begin{tabularx}{.8\textwidth}{>{\ttfamily\bs}l<{\{\}}X}
+\toprule
+\multicolumn{1}{c}{Command name} & \multicolumn{1}{l}{Description}\\
+\midrule
+{fromaddresss}& shipper's address\\
+{shipper}& name of shipper\\
+{location}& location\\
+{ConfigPrefix} & configuration file prefix (default is none)\\
+\bottomrule
+\end{tabularx}
+\captionof{table}{Invoice configuration commands}\label{config-commands}
+\end{center}
+
+
+\section{\pkg{datatool} details}
+The uses the \pkg{datatool} package to produce the invoice using a CSV file. The CSV file requires the following column headings to be present. All other columns are ignored. (Heading names are case-sensitive.)
+\begin{center}
+\begin{tabularx}{.8\textwidth}{>{\ttfamily}lX}
+\toprule
+\multicolumn{1}{c}{Column name} & \multicolumn{1}{l}{Description}\\
+\midrule
+{Description} &  Item description\\
+{Country} & Country of origin\\
+{Quantity} & unit quantity\\
+{UnitValue} & per unit value\\
+{Amount} & total value for item\\
+\bottomrule
+\end{tabularx}
+\captionof{table}{Required CSV Column labels}\label{CSV}
+\end{center}
+\subsection{Sample CSV file}
+\lstinputlisting{ducks.csv}
+\clearpage
+\section{Sample Configuration file}
+\lstinputlisting{duck-invoice.cfg}
+
+\section{Sample document}
+\lstinputlisting{ducks.tex}
+\section{Bugs and support}
+This package is released as is, and although I will accept bug reports, fixing them may not be a priority. You're free to fork the project to modify it as you wish.
+
+
+\includepdf[]{ducks.pdf}
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/invoice-class/doc/invoice-class.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/invoice-class/invoice-class.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/invoice-class/invoice-class.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/invoice-class/invoice-class.cls	2019-01-18 22:37:26 UTC (rev 49749)
@@ -0,0 +1,168 @@
+% US Commercial Invoice Class
+% Copyright 2008-2019 by Alan Munn amunn at msu.edu
+%
+% This class may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or any later version.
+% The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This package has the LPPL maintenance status `maintained'.
+% 
+% The Current Maintainer of this package is Alan Munn amunn at msu.edu
+%
+\def\invc at date{2019/01/17}
+\def\invc at version{1.0}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{invoice-class}[\invc at date\space  Commercial Invoice \invc at version]
+\LoadClass[11pt]{article}
+\RequirePackage[margin=1in]{geometry}
+\RequirePackage{datatool}
+\RequirePackage{multicol}
+\RequirePackage{array}
+\RequirePackage{tabularx}
+\RequirePackage{longtable}
+\RequirePackage{dcolumn}
+\RequirePackage{fancyhdr}
+% internal commands
+\renewcommand{\rmdefault}{\sfdefault} 
+\newcommand*{\invc at BL}[1]{\rule{#1}{.5pt}} % signature rule
+\newcommand*\invc at NL{\tabularnewline} 
+\newcolumntype{d}{D{.}{.}{6.2}} % decimal columns for amounts
+\newcommand*{\invc at mc}{\multicolumn{1}{c|}} % column header 
+\newcommand*{\invc at waybill}{% format waybill in a box
+\fbox{\textbf{Waybill Number:} \invc at waybillnum}}
+%
+% user commands
+%
+\newcommand*{\ConfigPrefix}[1]{\gdef\invc at configprefix{#1}}
+\newcommand*{\InputFile}[1]{\gdef\invc at inputfile{#1}}
+\newcommand*{\waybill}[1]{\gdef\invc at waybillnum{#1}}
+\newcommand*{\shippingdate}[1]{\gdef\invc at shippingdate{#1}}
+\newcommand{\toaddress}[1]{\gdef\invc at toaddress{#1}}
+\newcommand*{\destination}[1]{\gdef\invc at destination{#1}}
+\newcommand*{\carrier}[1]{\gdef\invc at carrier{#1}}
+\newcommand*{\weight}[2]{\gdef\invc at pounds{#1}\gdef\invc at oz{#2}}
+\newcommand*{\packages}[1]{\gdef\invc at packages{#1}}
+\newcommand*{\packingcost}[1]{\gdef\invc at packingcost{#1}}
+\newcommand*{\shippingcost}[1]{\gdef\invc at shippingcost{#1}}
+\newcommand*{\insurancecost}[1]{\gdef\invc at insurancecost{#1}}
+\newcommand{\fromaddress}[1]{\long\gdef\invc at fromaddress{#1}}
+\newcommand*{\shipper}[1]{\gdef\invc at shipper{#1}}
+\newcommand*{\location}[1]{\gdef\invc at location{#1}}
+%
+% defaults
+%
+\packingcost{0}
+\shippingcost{0}
+\insurancecost{0}
+\shippingdate{\today}
+\ConfigPrefix{}
+%
+% Configuration file scheme:
+% \ConfigPrefix{} sets a prefix for config files and allows multiple configuration files
+% invoice.cfg should contain the commands \fromaddress, \shipper and \location
+% these will generally be fixed values, but can be set on a per document basis too.
+%
+\AtBeginDocument{
+\InputIfFileExists{\invc at configprefix invoice.cfg}{\ClassInfo{invoice-class}{Loading configuration file \invc at configprefix invoice.cfg }\typeout{Loading configuration file \invc at configprefix invoice.cfg}}
+{\ClassInfo{invoice-class}{Config file not loaded. Using class default}\typeout{Config file not loaded. Using class default}
+\fromaddress{%
+The Duck Company\\
+Some Avenue\\
+Somewhere MI 48823\\
+USA\\
+Tel. 555-555-5555\\
+}
+\shipper{Prof. van Duck}
+\location{Somewhere, MI}
+}}
+%
+\pagestyle{fancy}
+\parindent=0pt
+\lhead{}
+\chead{\Large \sffamily \bfseries Commercial Invoice }
+\rhead{}
+\lfoot{}
+\cfoot{\sffamily\thepage}
+\rfoot{}
+\renewcommand{\headrulewidth}{0.4pt}
+\renewcommand{\footrulewidth}{0pt}
+\setlength{\headheight}{18pt}
+\thispagestyle{fancy}
+\sffamily
+\newcommand{\printinvoice}{%
+\invc at waybill
+\begin{multicols}{2}
+
+{\Large\bfseries From:}
+
+\invc at fromaddress
+
+\columnbreak
+
+{\Large\bfseries To:}
+
+\invc at toaddress
+\end{multicols}
+
+\setlength{\extrarowheight}{9pt}
+\begin{tabularx}{\linewidth}{|*{4}{>{\centering}X|}}
+\hline
+\textbf{\scriptsize Country of ultimate destination:} & \textbf{\scriptsize Exporting Carrier} & \textbf{\scriptsize Total number of packages} & \textbf{\scriptsize Gross Weight} \invc at NL
+\invc at destination & \invc at carrier &
+\invc at packages & \invc at pounds~lb \invc at oz~oz \invc at NL
+\hline
+\end{tabularx}
+%
+\DTLloaddb{invoice}{\invc at inputfile}
+\DTLsumcolumn{invoice}{Amount}{\invc at total}
+\setlength{\extrarowheight}{3pt}
+\begin{longtable}{|p{2.1381in}|>{\centering}p{1in}|r|d|d|}
+\hline
+\centering\bfseries Description & \centering\bfseries Country of Origin & \centering \bfseries Quantity &\invc at mc{\bfseries Unit Value\$} & \invc at mc{\bfseries Amount (USD)}\invc at NL
+\hline
+\endhead
+\hline
+\endfoot
+\DTLforeach{invoice}{%
+\description=Description,\country=Country,\quantity=Quantity,\unitvalue=UnitValue,\amount=Amount}{%
+\description & \country & \quantity & \unitvalue & \amount \invc at NL} & & & & \invc at NL
+\hline
+\multicolumn{4}{|r|}{\bfseries Currency type and amount}& \DTLdecimaltocurrency{\invc at total}{\invc at subtotal}\invc at subtotal   \invc at NL
+\multicolumn{4}{|r|}{\bfseries Packing cost} & \DTLdecimaltocurrency{\invc at packingcost}{\invc at pcost}\invc at pcost\invc at NL
+\multicolumn{4}{|r|}{\bfseries Shipping cost} & \DTLdecimaltocurrency{\invc at shippingcost}{\invc at scost}\invc at scost\invc at NL
+\multicolumn{4}{|r|}{\bfseries Insurance cost} & \DTLdecimaltocurrency{\invc at insurancecost}{\invc at icost}\invc at icost\invc at NL
+\hline\hline
+\multicolumn{4}{|r|}{\bfseries Total Invoice Value} &\DTLaddall{\invc at grandtotal}{\invc at total,\invc at packingcost,\invc at shippingcost,\invc at insurancecost}
+\DTLconverttodecimal{\invc at grandtotal}{\invc at gtotal}
+\DTLdecimaltocurrency{\invc at gtotal}{\invc at ctotal}\invc at ctotal \invc at NL
+\hline
+\end{longtable}
+\vskip 5ex
+{\Large\bfseries Notes:}
+
+{\footnotesize These commodities, technologies, or software were exported from the United States of
+America in accordance with the Export Administration regulations. Diversion contrary to
+U.S. law is prohibited.
+
+It is hereby certified that this invoice shows: (1) the actual price of the goods described,
+(2) that no other invoice has been or will be issued, and (3) that all particulars are true
+and correct.}
+
+\bigskip
+\setlength{\extrarowheight}{18pt}
+\begin{tabular}{|p{3in}|p{1.75in}|}
+\hline
+\textbf{\scriptsize Name:} \hskip 2em \invc at shipper & \textbf{\scriptsize Date:} \invc at shippingdate \invc at NL
+
+\hline
+\multicolumn{2}{|l|}{\textbf{\scriptsize Location:} \hskip 1em \invc at location}\invc at NL
+\hline
+\multicolumn{2}{|l|}{ \textbf{\scriptsize Signature:}}\invc at NL
+\hline
+\end{tabular}
+}
+\endinput
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/invoice-class/invoice-class.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-01-18 22:36:53 UTC (rev 49748)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-01-18 22:37:26 UTC (rev 49749)
@@ -353,7 +353,7 @@
     inputtrc insbox installfont
     interactiveworkbook interchar interfaces interpreter interval intopdf
     intro-scientific
-    inversepath invoice invoice2
+    inversepath invoice invoice-class invoice2
     iodhbwm ionumbers iopart-num ipaex ipaex-type1 iscram iso
     iso10303 isodate isodoc isomath isonums isopt isorot isotope
     issuulinks istgame itnumpar

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-01-18 22:36:53 UTC (rev 49748)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-01-18 22:37:26 UTC (rev 49749)
@@ -573,6 +573,7 @@
 depend intopdf
 depend inversepath
 depend invoice
+depend invoice-class
 depend invoice2
 depend iso
 depend iso10303

Added: trunk/Master/tlpkg/tlpsrc/invoice-class.tlpsrc
===================================================================


More information about the tex-live-commits mailing list