diff --git a/invoice.fodt b/invoice.fodt index 562cb0fca0..bac7e5dd25 100644 --- a/invoice.fodt +++ b/invoice.fodt @@ -1,28 +1,28 @@ - LibreOffice/5.2.7.2$Linux_X86_64 LibreOffice_project/20m0$Build-22012-11-15T15:00:351P0D + LibreOffice/5.2.7.2$Linux_X86_64 LibreOffice_project/20m0$Build-22012-11-15T15:00:351P0D 0 0 - 23440 - 21451 + 48623 + 23834 true false view2 - 14205 + 26797 5313 0 0 - 23439 - 21449 + 48622 + 23832 0 1 false - 100 + 90 false @@ -69,7 +69,7 @@ false false true - 2030783 + 2153615 false true false @@ -503,35 +503,46 @@ - - - + + + - - - + + - - - - + + + + + + + + - + - + + + + + + + + + @@ -581,38 +592,37 @@ - <for each="invoice in records"> - <replace text:p="set_lang(invoice.party.lang and invoice.party.lang.code or 'en')"> - <replace text:p="invoice.set_lang(invoice.party.lang and invoice.party.lang.code or 'en')"> - <for each="line in invoice.invoice_address.full_address.split('\n')"> - <line> - </for> - <if test="invoice.party.tax_identifier"> - <invoice.party.tax_identifier.type_string>: <invoice.party.tax_identifier.code> - </if> + <replace text:p="set_lang(invoice.party.lang and invoice.party.lang.code or 'en')"> + <replace text:p="invoice.set_lang(invoice.party.lang and invoice.party.lang.code or 'en')"> + <for each="line in invoice.invoice_address.full_address.split('\n')"> + <line> + </for> + <if test="invoice.party.tax_identifier"> + <invoice.party.tax_identifier.type_string>: <invoice.party.tax_identifier.code> + </if> <if test="invoice.type == 'in'"> - Supplier Invoice N°:<invoice.number and ' ' + invoice.number or ''> + Supplier Invoice N°:<invoice.number and ' ' + invoice.number or ''> </if> <if test="invoice.type == 'out'"> <choose test=""> <when test="invoice.state == 'draft'"> - Draft Invoice + Draft Invoice </when> <when test="invoice.state == 'validated'"> - Pro forma Invoice + Pro forma Invoice </when> <otherwise test=""> - Invoice N°:<invoice.number and ' ' + invoice.number or ''> + Invoice N°:<invoice.number and ' ' + invoice.number or ''> </otherwise> </choose> </if> - Description: <invoice.description or ''> + Description: <invoice.description or ''> Reference: <invoice.origins or ''><', ' if (invoice.reference and invoice.origins) else ''><invoice.reference or ''> <if test="invoice.invoice_date"> Date: <format_date(invoice.invoice_date, invoice.party.lang)> - <if test="invoice.tax_identifier"> + </if> + <if test="invoice.tax_identifier"> <invoice.tax_identifier.type_string>: <invoice.tax_identifier.code> - </if> </if> @@ -700,6 +710,7 @@ + <for each="line in line.description.split('\n')"> @@ -710,7 +721,7 @@ - <format_currency(line.amount, invoice.party.lang, invoice.currency)> + <format_currency(line.amount, invoice.party.lang, invoice.currency)>