LibreOffice/7.6.4.1$Linux_X86_64 LibreOffice_project/60$Build-12008-06-07T15:28:222009-01-10T16:03:321PT0S 0 0 25269 23973 true false view2 5660 10248 0 0 25268 23971 0 0 false 100 false false false false false false true false true false true false false 0 true false false false false false true true true false false false false false false true true false false false false false false true false false 947783 false true false false 4032911 true false false false 1 true true false false false false true true true true false true 0 true true false false 0 true false false false high-resolution false true false false false false false false false true true false true false false false false false false false false false false false false false false false 0 true false true <if test="company and company.header"> <for each="line in company.header_used.split('\n')"> <line> </for> </if> <choose> <when test="company and company.logo"> </when> <when test="company"> <company.rec_name> </when> </choose> <if test="company and company.footer"> <for each="line in company.footer_used.split('\n')"> <line> </for> </if> <for each="purchase in records"> <replace text:p="set_lang(purchase.party.lang)"> <replace text:p="purchase.set_lang(purchase.party.lang)"> <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 No: <purchase.full_number> </when> <otherwise test=""> Purchase Order No: <purchase.full_number> </otherwise> </choose> Description: <purchase.description or ''> Reference: <purchase.reference or ''> Customer Code: <purchase.party.get_multivalue('customer_code', company=purchase.company.id) or ''> Date: <format_date(purchase.purchase_date or today, purchase.party.lang)> Delivery Address: <for each="line in purchase.delivery_full_address.splitlines()"> <line> </for> Description Quantity Unit Price Taxes Amount <for each="line in purchase.lines"> <choose test=""> <when test="line.type == 'line'"> <if test="line.product_name"> <line.product_name> </if> <if test="line.description"> <for each="description in line.description.split('\n')"> <description> </for> </if> <format_number_symbol(line.quantity, purchase.party.lang, line.unit, digits=line.unit.digits) if line.unit else format_number(line.quantity, purchase.party.lang)> <if test="line.unit_price is not None"> <format_currency(line.unit_price, purchase.party.lang, purchase.currency, digits=line.__class__.unit_price.digits[1])> </if> <for each="tax in line.taxes"> <tax.description> </for> <if test="line.amount is not None"> <format_currency(line.amount, purchase.party.lang, purchase.currency)> </if> </when> <when test="line.type == 'subtotal'"> <for each="description in (line.description or '').split('\n')"> <description> </for> <format_currency(line.amount, purchase.party.lang, purchase.currency)> </when> <when test="line.type == 'title'"> <for each="description in (line.description or '').split('\n')"> <description> </for> </when> <otherwise test=""> <for each="description in (line.description or '').split('\n')"> <description> </for> </otherwise> </choose> </for> Total (excl. taxes): <format_currency(purchase.untaxed_amount, purchase.party.lang, purchase.currency)> Taxes: <format_currency(purchase.tax_amount, purchase.party.lang, purchase.currency)> Total: <format_currency(purchase.total_amount, purchase.party.lang, purchase.currency)> <for each="comment in (purchase.comment or '').split('\n')"> <comment> </for> </for>