92 lines
2.7 KiB
Plaintext
92 lines
2.7 KiB
Plaintext
|
|
|
|
|
|
|
|
\geometry{verbose,tmargin=4em,bmargin=8em,lmargin=6em,rmargin=6em}
|
|
\setlength{\parindent}{0pt}
|
|
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
|
|
|
|
\thispagestyle{fancy}
|
|
\pagestyle{fancy}
|
|
\setlength{\parindent}{0pt}
|
|
|
|
\renewcommand{\headrulewidth}{0pt}
|
|
\cfoot{
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.Name)) { @ViewBag.From.Name }
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.Address)) { <text> - @ViewBag.From.Address </text> }
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.CityAndState)) { <text> - @ViewBag.From.CityAndState </text> } \newline
|
|
\small{
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.Email)) { <text> E-mail: @ViewBag.From.Email </text> }
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.Mobile)) { <text> - Téléphone mobile: @ViewBag.From.Mobile </text> }
|
|
@if (!string.IsNullOrWhiteSpace(ViewBag.From.Phone)) { <text> - Téléphone fixe: @ViewBag.From.Phone </text> }
|
|
}
|
|
}
|
|
|
|
\begin{document}
|
|
|
|
% Logo de la société
|
|
%\includegraphics{logo.jpg}
|
|
|
|
% Nom et adresse de la société
|
|
from.Name \\
|
|
from.Address \\
|
|
from.ZipCode from.CityAndState\\
|
|
|
|
Facture n°\FactureNum
|
|
|
|
|
|
{\addtolength{\leftskip}{10.5cm} %in ERT
|
|
\textbf{\ClientNom} \\
|
|
\ClientAdresse \\
|
|
|
|
} %in ERT
|
|
|
|
|
|
\hspace*{10.5cm}
|
|
\FactureLieu, le \today
|
|
|
|
~\\~\\
|
|
|
|
\textbf{Objet : \FactureObjet \\}
|
|
|
|
\textnormal{\FactureDescr}
|
|
|
|
~\\
|
|
|
|
\begin{center}
|
|
\begin{tabular}{lrrr}
|
|
\textbf{Désignation ~~~~~~} & \textbf{Prix unitaire} & \textbf{Quantité} & \textbf{Montant (EUR)} \\
|
|
\hline
|
|
\AfficheResultat{}
|
|
\end{tabular}
|
|
\end{center}
|
|
|
|
\begin{flushright}
|
|
\textit{Auto entreprise en franchise de TVA}\\
|
|
|
|
\end{flushright}
|
|
~\\
|
|
|
|
\ifthenelse{\equal{\FactureAcquittee}{oui}}{
|
|
Facture acquittée.
|
|
}{
|
|
|
|
À régler par chèque ou par virement bancaire :
|
|
|
|
\begin{center}
|
|
\begin{tabular}{|c c c c|}
|
|
if (!string.IsNullOrWhiteSpace(from.BankCode) && !string.IsNullOrWhiteSpace(from.WicketCode)
|
|
&& !string.IsNullOrWhiteSpace(from.AccountNumber) ) {
|
|
\hline \textbf{Code banque} & \textbf{Code guichet} & \textbf{N° de Compte} & \textbf{Clé RIB} \\
|
|
from.BankCode & from.WicketCode & from.AccountNumber & from.BankedKey \\
|
|
}
|
|
if (!string.IsNullOrWhiteSpace(from.IBAN) && !string.IsNullOrWhiteSpace(from.BIC)) {
|
|
\hline \textbf{IBAN N°} & \multicolumn{3}{|l|}{ from.IBAN } \\
|
|
\hline \textbf{Code BIC} & \multicolumn{3}{|l|}{ from.BIC }
|
|
} \\
|
|
\hline
|
|
\end{tabular}
|
|
\end{center}
|
|
}
|
|
\end{document}
|