diff --git a/purchase.fodt b/purchase.fodt index cf45b745ad..9f9d01530f 100644 --- a/purchase.fodt +++ b/purchase.fodt @@ -1,10 +1,10 @@ - LibreOffice/5.2.7.2$Linux_X86_64 LibreOffice_project/20m0$Build-22008-06-07T15:28:222009-01-10T16:03:321PT0S + LibreOffice/5.2.7.2$Linux_X86_64 LibreOffice_project/20m0$Build-22008-06-07T15:28:222009-01-10T16:03:321PT0S - 27771 + 0 0 23440 21451 @@ -13,12 +13,12 @@ view2 - 14205 - 35701 + 2925 + 5313 0 - 27771 + 0 23439 - 49220 + 21449 0 0 false @@ -69,7 +69,7 @@ false false true - 2822256 + 2871358 false true false @@ -409,67 +409,67 @@ - + + + + + - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - @@ -521,34 +521,34 @@ - <for each="purchase in records"> - <replace text:p="set_lang(purchase.party.lang and purchase.party.lang.code or 'en')"> - <replace text:p="purchase.set_lang(purchase.party.lang and purchase.party.lang.code or 'en')"> + <for each="purchase in records"> + <replace text:p="set_lang(purchase.party.lang and purchase.party.lang.code or 'en')"> + <replace text:p="purchase.set_lang(purchase.party.lang and purchase.party.lang.code or 'en')"> <for each="line in purchase.report_address.splitlines()"> <line> </for> <if test="purchase.party.tax_identifier"> <purchase.party.tax_identifier.type_string>: <purchase.party.tax_identifier.code> </if> - <choose test=""> - <when test="purchase.state == 'draft'"> - Draft Purchase Order - </when> - <when test="purchase.state == 'quotation'"> - Request for Quotation N°: <purchase.number> - </when> - <otherwise test=""> - Purchase Order N°: <purchase.number> - </otherwise> - </when> + <choose test=""> + <when test="purchase.state == 'draft'"> + Draft Purchase Order + </when> + <when test="purchase.state == 'quotation'"> + Request for Quotation N°: <purchase.number> + </when> + <otherwise test=""> + Purchase Order N°: <purchase.number> + </otherwise> + </when> Description: <purchase.description or ''> - Reference: <purchase.reference or ''> + Reference: <purchase.reference or ''> Date: <format_date(purchase.purchase_date, purchase.party.lang) if purchase.purchase_date else ''> - Delivery Address: - <for each="line in purchase.delivery_full_address.splitlines()"> - <line> - </for> + Delivery Address: + <for each="line in purchase.delivery_full_address.splitlines()"> + <line> + </for> @@ -601,23 +601,23 @@ - <for each="line in line.description.split('\n')"> - <line> - </for> + <for each="line in line.description.split('\n')"> + <line> + </for> - <(format_number(line.quantity, purchase.party.lang, digits=line.unit_digits) + (line.unit and (' ' + line.unit.symbol) or '')) or ''> + <(format_number(line.quantity, purchase.party.lang, digits=line.unit_digits) + (line.unit and (' ' + line.unit.symbol) or '')) or ''> - <format_number(line.unit_price, purchase.party.lang, digits=line.__class__.unit_price.digits[1], monetary=purchase.currency)> + <format_number(line.unit_price, purchase.party.lang, digits=line.__class__.unit_price.digits[1], monetary=purchase.currency)> - <for each="tax in line.taxes"> - <tax.description> - </for> + <for each="tax in line.taxes"> + <tax.description> + </for> - <format_currency(line.amount, purchase.party.lang, purchase.currency)> + <format_currency(line.amount, purchase.party.lang, purchase.currency)> @@ -642,13 +642,13 @@ <for each="line in line.description.split('\n')"> <line> - </for> + </for> - <format_currency(line.amount, purchase.party.lang, purchase.currency)> + <format_currency(line.amount, purchase.party.lang, purchase.currency)> @@ -701,9 +701,9 @@ - <for each="line in line.description.split('\n')"> - <line> - </for> + <for each="line in line.description.split('\n')"> + <line> + </for> @@ -753,26 +753,26 @@ - Total (excl. taxes): + Total (excl. taxes): - <format_currency(purchase.untaxed_amount, purchase.party.lang, purchase.currency)> + <format_currency(purchase.untaxed_amount, purchase.party.lang, purchase.currency)> - Taxes: + Taxes: - <format_currency(purchase.tax_amount, purchase.party.lang, purchase.currency)> + <format_currency(purchase.tax_amount, purchase.party.lang, purchase.currency)> - Total: + Total: - <format_currency(purchase.total_amount, purchase.party.lang, purchase.currency)> + <format_currency(purchase.total_amount, purchase.party.lang, purchase.currency)>