@ -42,602 +42,706 @@ namespace Yavsc.templates {
public virtual string TransformText ( ) {
this . GenerationEnvironment = null ;
#line 10 " /home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 " "
this . Write ( "\n" ) ;
#line default
#line hidden
#line 14 " /home/paul/workspace/yavsc/web/templates/Estim.tt "
this . Write ( "\n\\documentclass[french,11pt]{article}\n\\usepackage{babel}\n\\usepackage[T1]{fontenc}\n\\usepackage[utf8]{inputenc}\n\\usepackage[a4paper]{geometry}\n\\usepackage{units}\n\\usepackage{bera}\n\\usepackage{graphicx}\n\\usepackage{fancyhdr}\n\\usepackage{fp}\n\n\\def\\TVA{20} % Taux de la TVA\n\n\\def\\TotalHT{0}\n\\def\\TotalTVA{0}\n\n\ n\ \newcommand{\\AjouterService}[3]{% Arguments : Désignation, quantité, prix\n \\FPround{\\prix}{#3}{2}\n \\FPeval{\\montant}{#2 * #3}\n \\FPround{\\montant}{\\montant}{2}\n \\FPadd{\\TotalHT}{\\TotalHT}{\\montant}\n \n \\eaddto\\ListeProduits{#1 & \\prix & #2 & \\montant \\cr}\n}\n\n\n\\newcommand{\\AfficheResultat}{%\n \\ListeProduits\n \n \\FPeval{\\TotalTVA}{\\TotalHT * \\TVA / 100}\n \\FPadd{\\TotalTTC}{\\TotalHT}{\\TotalTVA}\n \\FPround{\\TotalHT}{\\TotalHT}{2}\n \\FPround{\\TotalTVA}{\\TotalTVA}{2}\n \\FPround{\\TotalTTC}{\\TotalTTC}{2}\n \\global\\let\\TotalHT\\TotalHT\n \\global\\let\\TotalTVA\\TotalTVA\n \\global\\let\\TotalTTC\\TotalTTC\n \n\n \\cr \n \\hline\n \\textbf{Total} & & & \\TotalHT\n}\n\n\\newcommand*\\eaddto[2]{% version développée de \\addto\n \\edef\\tmp{#2}%\n \\expandafter\\addto\n \\expandafter#1%\n \\expandafter{\\tmp}%\n}\n\n\\newcommand{\\ListeProduits}{}\n\n\n\n\n%%%%%%%%%%%%%%%%%%%%% A MODIFIER DANS LA FACTURE %%%%%%%%%%%%%%%%%%%%%\n\n\\def\\FactureNum {") ;
#line 14 " "
this . Write ( "\n\\documentclass[french,11pt]{article}\n\\usepackage{babel}\n\\usepackage[T1]{fontenc}\n\\usepackage[utf8]{inputenc}\n\\usepackage[a4paper]{geometry}\n\\usepackage{units}\n\\usepackage{bera}\n\\usepackage{graphicx}\n\\usepackage{fancyhdr}\n\\usepackage{fp}\n\n\\def\\TVA{20} % Taux de la TVA\n\n\\def\\TotalHT{0}\n\\def\\TotalTVA{0}\n\n\ \newcommand{\\AjouterService}[3]{% Arguments : Désignation, quantité, prix\n \\FPround{\\prix}{#3}{2}\n \\FPeval{\\montant}{#2 * #3}\n \\FPround{\\montant}{\\montant}{2}\n \\FPadd{\\TotalHT}{\\TotalHT}{\\montant}\n \n \\eaddto\\ListeProduits{#1 & \\prix & #2 & \\montant \\cr}\n}\n\n\n\\newcommand{\\AfficheResultat}{%\n \\ListeProduits\n \n \\FPeval{\\TotalTVA}{\\TotalHT * \\TVA / 100}\n \\FPadd{\\TotalTTC}{\\TotalHT}{\\TotalTVA}\n \\FPround{\\TotalHT}{\\TotalHT}{2}\n \\FPround{\\TotalTVA}{\\TotalTVA}{2}\n \\FPround{\\TotalTTC}{\\TotalTTC}{2}\n \\global\\let\\TotalHT\\TotalHT\n \\global\\let\\TotalTVA\\TotalTVA\n \\global\\let\\TotalTTC\\TotalTTC\n \n\n \\cr \n \\hline\n \\textbf{Total} & & & \\TotalHT\n}\n\n\\newcommand*\\eaddto[2]{% version développée de \\addto\n \\edef\\tmp{#2}%\n \\expandafter\\addto\n \\expandafter#1%\n \\expandafter{\\tmp}%\n}\n\n\\newcommand{\\ListeProduits}{}\n\n\n\n\n%%%%%%%%%%%%%%%%%%%%% A MODIFIER DANS LA FACTURE %%%%%%%%%%%%%%%%%%%%%\n\n\\def\\FactureNum {") ;
#line default
#line hidden
#line 7 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 3 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( estim . Id . ToString ( ) ) ) ;
#line default
#line hidden
#line 7 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 3 " "
this . Write ( "} % Numéro de facture\n\\def\\FactureAcquittee {non} % Facture acquittée : oui/non\n\\def\\FactureLieu {" ) ;
#line default
#line hidden
#line 7 6 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 5 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . CityAndState ) ) ;
#line default
#line hidden
#line 7 6 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 5 " "
this . Write ( "} % Lieu de l'édition de la facture\n\\def\\FactureObjet {Facture : " ) ;
#line default
#line hidden
#line 7 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 6 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( estim . Title ) ) ;
#line default
#line hidden
#line 7 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 7 6 " "
this . Write ( "} % Objet du document\n% Description de la facture\n\\def\\FactureDescr {%\n " ) ;
#line default
#line hidden
#line 80 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 79 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( estim . Description ) ) ;
#line default
#line hidden
#line 80 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 79 " "
this . Write ( "\n}\n\n% Infos Client\n\\def\\ClientNom{" ) ;
#line default
#line hidden
#line 8 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 3 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . Name ) ) ;
#line default
#line hidden
#line 8 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 3 " "
this . Write ( "} % Nom du client\n\\def\\ClientAdresse{% % Adresse du client\n " ) ;
#line default
#line hidden
#line 8 6 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 5 " "
if ( ! string . IsNullOrWhiteSpace ( to . Address ) ) {
#line default
#line hidden
#line 8 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 6 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 8 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 6 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . Address ) ) ;
#line default
#line hidden
#line 8 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 6 " "
this . Write ( "\\\\\n " ) ;
#line default
#line hidden
#line 8 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 7 " "
}
#line default
#line hidden
#line 8 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 8 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 8 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 8 " "
if ( ! string . IsNullOrWhiteSpace ( to . ZipCode ) ) {
#line default
#line hidden
#line 90 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 9 ""
this . Write ( " " ) ;
#line default
#line hidden
#line 90 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 9 ""
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . ZipCode ) ) ;
#line default
#line hidden
#line 90 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 9 ""
this . Write ( " " ) ;
#line default
#line hidden
#line 90 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 8 9 ""
}
#line default
#line hidden
#line 9 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 0 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 9 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 0 " "
if ( ! string . IsNullOrWhiteSpace ( to . ZipCode ) ) {
#line default
#line hidden
#line 9 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 1 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 9 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 1 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . CityAndState ) ) ;
#line default
#line hidden
#line 9 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 1 " "
this . Write ( "\\\\ " ) ;
#line default
#line hidden
#line 9 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 1 " "
}
#line default
#line hidden
#line 9 3 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 2 " "
this . Write ( " \n" ) ;
#line default
#line hidden
#line 9 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 3 " "
if ( ! string . IsNullOrWhiteSpace ( to . Phone ) ) {
#line default
#line hidden
#line 9 5 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 4 " "
this . Write ( " Téléphone fixe: " ) ;
#line default
#line hidden
#line 9 5 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 4 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . Phone ) ) ;
#line default
#line hidden
#line 9 5 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 4 " "
this . Write ( "\\\\\n" ) ;
#line default
#line hidden
#line 9 6 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 5 " "
}
#line default
#line hidden
#line 9 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 6 " "
if ( ! string . IsNullOrWhiteSpace ( to . Mobile ) ) {
#line default
#line hidden
#line 9 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 7 " "
this . Write ( " Mobile: " ) ;
#line default
#line hidden
#line 9 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 7 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . Mobile ) ) ;
#line default
#line hidden
#line 9 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 7 " "
this . Write ( "\\\\\n" ) ;
#line default
#line hidden
#line 9 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 9 8 " "
}
#line default
#line hidden
#line 100 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 99 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 100 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 99 " "
if ( ! string . IsNullOrWhiteSpace ( to . Email ) ) {
#line default
#line hidden
#line 10 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 0 " "
this . Write ( " E-mail: " ) ;
#line default
#line hidden
#line 10 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 0 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( to . Email ) ) ;
#line default
#line hidden
#line 10 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 0 " "
}
#line default
#line hidden
#line 10 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 1 " "
this . Write ( "}\n\n% Liste des produits facturés : Désignation, prix\n\n " ) ;
#line default
#line hidden
#line 10 6 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 5 " "
foreach ( Writting wr in estim . Lines ) {
#line default
#line hidden
#line 10 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 6 " "
this . Write ( "\\AjouterService {" ) ;
#line default
#line hidden
#line 10 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 6 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( wr . Description ) ) ;
#line default
#line hidden
#line 10 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 6 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 10 7 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 6 " "
if ( ! string . IsNullOrWhiteSpace ( wr . ProductReference ) ) {
#line default
#line hidden
#line 10 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 7 " "
this . Write ( " (" ) ;
#line default
#line hidden
#line 10 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 7 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( wr . ProductReference ) ) ;
#line default
#line hidden
#line 10 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 7 " "
this . Write ( ")" ) ;
#line default
#line hidden
#line 10 8 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 7 " "
}
#line default
#line hidden
#line 10 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 8 " "
this . Write ( "} {" ) ;
#line default
#line hidden
#line 10 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 8 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( wr . Count ) ) ;
#line default
#line hidden
#line 10 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 8 " "
this . Write ( "} {" ) ;
#line default
#line hidden
#line 10 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 8 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( wr . UnitaryCost ) ) ;
#line default
#line hidden
#line 10 9 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 10 8 " "
this . Write ( "} \n " ) ;
#line default
#line hidden
#line 1 1 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 09 ""
}
#line default
#line hidden
#line 11 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
this . Write ( "\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n\\geometry{verbose,tmargin=4em,bmargin=8em,lmargin=6em,rmargin=6em}\n\\setlength{\\parindent}{0pt}\n\\setlength{\\parskip}{1ex plus 0.5ex minus 0.2ex}\n\n\\thispagestyle{fancy}\n\\pagestyle{fancy}\n\\setlength{\\parindent}{0pt}\n\n\\renewcommand{\\headrulewidth}{0pt}\n\\cfoot{\n ") ;
#line 11 0 " "
this . Write ( "\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n\\geometry{verbose,tmargin=4em,bmargin=8em,lmargin=6em,rmargin=6em}\n\\setlength{\\parindent}{0pt}\n\\setlength{\\parskip}{1ex plus 0.5ex minus 0.2ex}\n\n\\thispagestyle{fancy}\n\\pagestyle{fancy}\n\\setlength{\\parindent}{0pt}\n\n\\renewcommand{\\headrulewidth}{0pt}\n\\cfoot{\n ") ;
#line default
#line hidden
#line 12 4 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Name ) ) ;
#line 12 3 " "
if ( ! string . IsNullOrWhiteSpace ( from . Name ) ) {
#line default
#line hidden
#line 124 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 124 ""
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Name ) ) ;
#line default
#line hidden
#line 124 ""
}
#line default
#line hidden
#line 125 ""
this . Write ( " " ) ;
#line default
#line hidden
#line 125 ""
if ( ! string . IsNullOrWhiteSpace ( from . Address ) ) {
#line default
#line hidden
#line 126 ""
this . Write ( " - " ) ;
#line default
#line hidden
#line 124 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Address ) ) ;
#line 126 ""
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Address ) ) ;
#line default
#line hidden
#line 126 ""
}
#line default
#line hidden
#line 127 ""
this . Write ( " \n " ) ;
#line default
#line hidden
#line 124 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 128 ""
if ( ! string . IsNullOrWhiteSpace ( from . CityAndState ) ) {
#line default
#line hidden
#line 129 ""
this . Write ( " - " ) ;
#line default
#line hidden
#line 124 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 12 9 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . CityAndState ) ) ;
#line default
#line hidden
#line 124 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( " \\newline\n \\small{\n E-mail: " ) ;
#line 129 ""
}
#line default
#line hidden
#line 130 ""
this . Write ( " \\newline\n \\small{\n " ) ;
#line default
#line hidden
#line 132 ""
if ( ! string . IsNullOrWhiteSpace ( from . Email ) ) {
#line default
#line hidden
#line 133 ""
this . Write ( "E-mail: " ) ;
#line default
#line hidden
#line 126 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 1 33 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Email ) ) ;
#line default
#line hidden
#line 126 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( "\n " ) ;
#line 1 33 " "
}
#line default
#line hidden
#line 127 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 134 ""
this . Write ( " " ) ;
#line default
#line hidden
#line 134 ""
if ( ! string . IsNullOrWhiteSpace ( from . Mobile ) ) {
#line default
#line hidden
#line 128 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 1 35 " "
this . Write ( " - Téléphone mobile: " ) ;
#line default
#line hidden
#line 1 28 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 35 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Mobile ) ) ;
#line default
#line hidden
#line 1 28 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 35 " "
}
#line default
#line hidden
#line 1 29 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 36 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 1 29 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 36 " "
if ( ! string . IsNullOrWhiteSpace ( from . Phone ) ) {
#line default
#line hidden
#line 13 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 13 7 " "
this . Write ( " - Téléphone fixe: " ) ;
#line default
#line hidden
#line 13 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 13 7 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Phone ) ) ;
#line default
#line hidden
#line 13 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 13 7 " "
}
#line default
#line hidden
#line 13 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 13 8 " "
this . Write ( " }\n}\n\n\\begin{document}\n\n% Logo de la société\n%\\includegraphics{logo.jpg}\n\n% Nom et adresse de la société\n" ) ;
#line default
#line hidden
#line 14 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 7 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Name ) ) ;
#line default
#line hidden
#line 14 0 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 7 " "
this . Write ( "\\\\\n" ) ;
#line default
#line hidden
#line 14 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 8 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . Address ) ) ;
#line default
#line hidden
#line 14 1 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 8 " "
this . Write ( "\\\\\n" ) ;
#line default
#line hidden
#line 14 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 9 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . ZipCode ) ) ;
#line default
#line hidden
#line 14 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 9 " "
this . Write ( " " ) ;
#line default
#line hidden
#line 14 2 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 14 9 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . CityAndState ) ) ;
#line default
#line hidden
#line 142 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( "\\\\\n\nFacture n°\\FactureNum\n\n\n{\\addtolength{\\leftskip}{10.5cm} %in ERT\n \\textbf{\\ClientNom} \\\\\n \\ClientAdresse \\\\\n\n} %in ERT\n\n\n\\hspace*{10.5cm}\n\\FactureLieu, le \\today\n\n~\\\\~\\\\\n\n\\textbf{Objet : \\FactureObjet \\\\}\n\n\\textnormal{\\FactureDescr}\n\n~\\\\\n\n\\begin{center}\n \\begin{tabular}{lrrr}\n \\textbf{Désignation ~~~~~~} & \\textbf{Prix unitaire} & \\textbf{Quantité} & \\textbf{Montant (EUR)} \\\\\n \\hline\n \\AfficheResultat{}\n \\end{tabular}\n\\end{center}\n\n\\begin{flushright}\n\\textit{Auto entreprise en franchise de TVA}\\\\\n\n\\end{flushright}\n~\\\\\n\n\\ifthenelse{\\equal{\\FactureAcquittee}{oui}}{\n Facture acquittée.\n}{\n\n À régler par chèque ou par virement bancaire :\n\n \\begin{center}\n \\begin{tabular}{|c c c c|}\n \\hline \\textbf{Code banque} & \\textbf{Code guichet} & \\textbf{N° de Compte} & \\textbf{Clé RIB} \\\\\n " ) ;
#line 149 ""
this . Write ( "\\\\\n\nFacture n°\\FactureNum\n\n\n{\\addtolength{\\leftskip}{10.5cm} %in ERT\n \\textbf{\\ClientNom} \\\\\n \\ClientAdresse \\\\\n\n} %in ERT\n\n\n\\hspace*{10.5cm}\n\\FactureLieu, le \\today\n\n~\\\\~\\\\\n\n\\textbf{Objet : \\FactureObjet \\\\}\n\n\\textnormal{\\FactureDescr}\n\n~\\\\\n\n\\begin{center}\n \\begin{tabular}{lrrr}\n \\textbf{Désignation ~~~~~~} & \\textbf{Prix unitaire} & \\textbf{Quantité} & \\textbf{Montant (EUR)} \\\\\n \\hline\n \\AfficheResultat{}\n \\end{tabular}\n\\end{center}\n\n\\begin{flushright}\n\\textit{Auto entreprise en franchise de TVA}\\\\\n\n\\end{flushright}\n~\\\\\n\n\\ifthenelse{\\equal{\\FactureAcquittee}{oui}}{\n Facture acquittée.\n}{\n\n À régler par chèque ou par virement bancaire :\n\n \\begin{center}\n \\begin{tabular}{|c c c c|}\n " ) ;
#line default
#line hidden
#line 194 ""
if ( ! string . IsNullOrWhiteSpace ( from . BankCode ) & & ! string . IsNullOrWhiteSpace ( from . WicketCode )
& & ! string . IsNullOrWhiteSpace ( from . AccountNumber ) ) {
#line default
#line hidden
#line 196 ""
this . Write ( " \\hline \\textbf{Code banque} & \\textbf{Code guichet} & \\textbf{N° de Compte} & \\textbf{Clé RIB} \\\\\n " ) ;
#line default
#line hidden
#line 188 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 1 97 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . BankCode ) ) ;
#line default
#line hidden
#line 188 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 1 97 " "
this . Write ( " & " ) ;
#line default
#line hidden
#line 1 88 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 97 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . WicketCode ) ) ;
#line default
#line hidden
#line 1 88 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 97 " "
this . Write ( " & " ) ;
#line default
#line hidden
#line 1 88 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 97 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . AccountNumber ) ) ;
#line default
#line hidden
#line 1 88 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 97 " "
this . Write ( " & " ) ;
#line default
#line hidden
#line 1 88 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 1 97 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . BankedKey ) ) ;
#line default
#line hidden
#line 188 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( " \\\\\n \\hline \\textbf{IBAN N°} & \\multicolumn{3}{|l|}{ " ) ;
#line 197 ""
this . Write ( " \\\\\n " ) ;
#line default
#line hidden
#line 198 ""
}
if ( ! string . IsNullOrWhiteSpace ( from . IBAN ) & & ! string . IsNullOrWhiteSpace ( from . BIC ) ) {
#line default
#line hidden
#line 200 ""
this . Write ( " \\hline \\textbf{IBAN N°} & \\multicolumn{3}{|l|}{ " ) ;
#line default
#line hidden
#line 189 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 200 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . IBAN ) ) ;
#line default
#line hidden
#line 189 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
#line 200 " "
this . Write ( " } \\\\\n \\hline \\textbf{Code BIC} & \\multicolumn{3}{|l|}{ " ) ;
#line default
#line hidden
#line 190 "/home/paul/workspace/yavsc/web/templates/Estim.tt "
#line 201 " "
this . Write ( this . ToStringHelper . ToStringWithCulture ( from . BIC ) ) ;
#line default
#line hidden
#line 190 "/home/paul/workspace/yavsc/web/templates/Estim.tt"
this . Write ( " } \\\\\n \\hline\n \\end{tabular}\n \\end{center}\n}\n\\end{document}\n" ) ;
#line 201 ""
this . Write ( " }\n " ) ;
#line default
#line hidden
#line 202 ""
}
#line default
#line hidden
#line 203 ""
this . Write ( " \\\\\n \\hline\n \\end{tabular}\n \\end{center}\n}\n\\end{document}\n" ) ;
#line default
#line hidden
@ -843,10 +947,9 @@ namespace Yavsc.templates {
return this . formatProvider ;
}
set {
if ( ( this. formatProvider = = null ) ) {
th row new global :: System . ArgumentNullException ( "formatProvider" ) ;
if ( ( value ! = null ) ) {
th is. formatProvider = value ;
}
this . formatProvider = value ;
}
}