\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)) { - @ViewBag.From.Address } @if (!string.IsNullOrWhiteSpace(ViewBag.From.CityAndState)) { - @ViewBag.From.CityAndState } \newline \small{ @if (!string.IsNullOrWhiteSpace(ViewBag.From.Email)) { E-mail: @ViewBag.From.Email } @if (!string.IsNullOrWhiteSpace(ViewBag.From.Mobile)) { - Téléphone mobile: @ViewBag.From.Mobile } @if (!string.IsNullOrWhiteSpace(ViewBag.From.Phone)) { - Téléphone fixe: @ViewBag.From.Phone } } } \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}