Template Melya

This commit is contained in:
2026-05-28 13:10:34 +02:00
parent 28c4fb3ff8
commit 5b5685ae12
2 changed files with 57 additions and 10 deletions

View File

@@ -382,6 +382,19 @@
<loext:color loext:name="followed-hyperlink" loext:color="#551a8b"/>
</loext:theme-colors>
</loext:theme>
<style:style style:name="MelyaFooterVat" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false" fo:border-top="0.5pt solid #808080" fo:border-bottom="0.5pt solid #808080" fo:padding-top="0.12cm" fo:padding-bottom="0.12cm"/>
<style:text-properties fo:color="#808080" style:font-name="Arial" fo:font-size="10pt" style:font-size-asian="10pt" style:font-size-complex="10pt"/>
</style:style>
<style:style style:name="MelyaFooterBottom" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties>
<style:tab-stops>
<style:tab-stop style:type="center" style:position="7.94cm"/>
<style:tab-stop style:type="right" style:position="15.89cm"/>
</style:tab-stops>
</style:paragraph-properties>
<style:text-properties fo:color="#808080" style:font-name="Arial" fo:font-size="9pt" style:font-size-asian="9pt" style:font-size-complex="9pt"/>
</style:style>
</office:styles>
<office:automatic-styles>
<style:style style:name="Tableau1" style:family="table" style:master-page-name="MP0">
@@ -626,8 +639,18 @@
</style:style>
</office:automatic-styles>
<office:master-styles>
<style:master-page style:name="Standard" style:page-layout-name="pm1" draw:style-name="dp1"/>
<style:master-page style:name="MP0" style:page-layout-name="pm2" draw:style-name="dp1"/>
<style:master-page style:name="Standard" style:page-layout-name="pm1" draw:style-name="dp1">
<style:footer>
<text:p text:style-name="MelyaFooterVat">VAT NR. &#8211; NOT SUBJECT TO VAT IN SWITZERLAND</text:p>
<text:p text:style-name="MelyaFooterBottom"><text:tab/>We certify this invoice authentic and definitive<text:tab/>Page <text:page-number text:select-page="current">1</text:page-number>/<text:page-count>1</text:page-count></text:p>
</style:footer>
</style:master-page>
<style:master-page style:name="MP0" style:page-layout-name="pm2" draw:style-name="dp1">
<style:footer>
<text:p text:style-name="MelyaFooterVat">VAT NR. &#8211; NOT SUBJECT TO VAT IN SWITZERLAND</text:p>
<text:p text:style-name="MelyaFooterBottom"><text:tab/>We certify this invoice authentic and definitive<text:tab/>Page <text:page-number text:select-page="current">1</text:page-number>/<text:page-count>1</text:page-count></text:p>
</style:footer>
</style:master-page>
</office:master-styles>
<office:body>
<office:text text:use-soft-page-breaks="true">
@@ -1624,7 +1647,7 @@
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Tableau2.A1" office:value-type="string">
<text:p text:style-name="P17"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:s/></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_net, invoice.party.lang, invoice.lines[0].unit, digits=2) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span></text:p>
<text:p text:style-name="P17"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:s/></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_net, invoice.party.lang, invoice.lines[0].unit, digits=4) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span></text:p>
</table:table-cell>
<table:table-cell table:style-name="Tableau2.A1" office:value-type="string">
<text:p text:style-name="P15"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;invoice.report_product_name or &apos;&apos;&gt;</text:placeholder></text:span></text:span></text:p>
@@ -1701,8 +1724,8 @@
</table:table-row>
</table:table>
<text:p text:style-name="P4"/>
<text:p text:style-name="P19"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T6">Net weight: </text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_net, invoice.party.lang, invoice.lines[0].unit, digits=2) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span></text:p>
<text:p text:style-name="P19"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T6">Gross weight: </text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_gross, invoice.party.lang, invoice.lines[0].unit, digits=2) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span></text:p>
<text:p text:style-name="P19"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T6">Net weight: </text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_net, invoice.party.lang, invoice.lines[0].unit, digits=4) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span></text:p>
<text:p text:style-name="P19"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T6">Gross weight: </text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;format_number_symbol(invoice.report_gross, invoice.party.lang, invoice.lines[0].unit, digits=4) if invoice.lines else &apos;&apos;&gt;</text:placeholder></text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:s/></text:span></text:span></text:p>
<text:p text:style-name="P4"/>
<text:p text:style-name="P8"><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T6">Packaging: </text:span></text:span><text:span text:style-name="Police_20_par_20_défaut"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;invoice.report_packaging or &apos;&apos;&gt;</text:placeholder></text:span></text:span></text:p>
<text:p text:style-name="Normal"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/></text:p>

View File

@@ -660,6 +660,25 @@
</style:paragraph-properties>
<style:text-properties officeooo:paragraph-rsid="002de4fa"/>
</style:style>
<style:style style:name="P63" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:margin-left="10.76cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false" style:writing-mode="lr-tb"/>
</style:style>
<style:style style:name="P64" style:family="paragraph" style:parent-style-name="P1">
<style:paragraph-properties fo:margin-left="10.76cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false" style:writing-mode="lr-tb"/>
</style:style>
<style:style style:name="MelyaFooterVat" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false" fo:border-top="0.5pt solid #808080" fo:border-bottom="0.5pt solid #808080" fo:padding-top="0.12cm" fo:padding-bottom="0.12cm"/>
<style:text-properties fo:color="#808080" style:font-name="Arial" fo:font-size="10pt" style:font-size-asian="10pt" style:font-size-complex="10pt"/>
</style:style>
<style:style style:name="MelyaFooterBottom" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties>
<style:tab-stops>
<style:tab-stop style:type="center" style:position="8.35cm"/>
<style:tab-stop style:type="right" style:position="16.7cm"/>
</style:tab-stops>
</style:paragraph-properties>
<style:text-properties fo:color="#808080" style:font-name="Arial" fo:font-size="9pt" style:font-size-asian="9pt" style:font-size-complex="9pt"/>
</style:style>
<style:style style:name="T1" style:family="text">
<style:text-properties style:font-name="Arial Mt" fo:font-size="16pt" style:font-size-asian="16pt" style:font-size-complex="16pt"/>
</style:style>
@@ -828,7 +847,12 @@
</style:style>
</office:automatic-styles>
<office:master-styles>
<style:master-page style:name="Standard" style:page-layout-name="pm1" draw:style-name="dp1"/>
<style:master-page style:name="Standard" style:page-layout-name="pm1" draw:style-name="dp1">
<style:footer>
<text:p text:style-name="MelyaFooterVat">VAT NR. &#8211; NOT SUBJECT TO VAT IN SWITZERLAND</text:p>
<text:p text:style-name="MelyaFooterBottom"><text:tab/>We certify this invoice authentic and definitive<text:tab/>Page <text:page-number text:select-page="current">1</text:page-number>/<text:page-count>1</text:page-count></text:p>
</style:footer>
</style:master-page>
</office:master-styles>
<office:body>
<office:text text:use-soft-page-breaks="true">
@@ -1724,9 +1748,9 @@
<text:p text:style-name="Standard"><text:tab/><text:tab/><text:span text:style-name="T35"><text:placeholder text:placeholder-type="text">&lt;sale.report_melya_proforma_number&gt;</text:placeholder></text:span><text:tab/><text:tab/><text:tab/><text:span text:style-name="T35"><text:placeholder text:placeholder-type="text">&lt;format_date(sale.sale_date, sale.party.lang) if sale.sale_date else &apos;&apos;&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="Standard"/>
<text:p text:style-name="Standard"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:span text:style-name="T10">Buyer:</text:span></text:p>
<text:p text:style-name="P63"><text:span text:style-name="T10">Buyer:</text:span></text:p>
<text:p text:style-name="P1"><text:placeholder text:placeholder-type="text">&lt;for each=&quot;line in sale.report_melya_buyer_address.splitlines()&quot;&gt;</text:placeholder></text:p>
<text:p text:style-name="P1"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:placeholder text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
<text:p text:style-name="P64"><text:placeholder text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
<text:p text:style-name="P1"><text:placeholder text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="Standard"/>
@@ -1756,7 +1780,7 @@
<text:p text:style-name="P25" loext:marker-style-name="T39"/>
<text:p text:style-name="P33" loext:marker-style-name="T26"><text:span text:style-name="T18"/></text:p>
<text:p text:style-name="P33" loext:marker-style-name="T26"><text:span text:style-name="T18"/></text:p>
<text:p text:style-name="P39" loext:marker-style-name="T26"><text:span text:style-name="T10"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].quantity&gt;</text:placeholder></text:span><text:span text:style-name="T17"><text:s/></text:span><text:span text:style-name="T16"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].unit.rec_name.upper() if sale.lines and sale.lines[0].unit else &apos;&apos;&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="P39" loext:marker-style-name="T26"><text:span text:style-name="T10"><text:placeholder text:placeholder-type="text">&lt;format_number(sale.lines[0].quantity, sale.party.lang, digits=4) if sale.lines else &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T17"><text:s/></text:span><text:span text:style-name="T16"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].unit.rec_name.upper() if sale.lines and sale.lines[0].unit else &apos;&apos;&gt;</text:placeholder></text:span></text:p>
</table:table-cell>
<table:table-cell table:style-name="Tableau1.B2" office:value-type="string">
<text:p text:style-name="P25" loext:marker-style-name="T39"/>
@@ -1782,7 +1806,7 @@
</table:table>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P20"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/></text:p>
<text:p text:style-name="P46"><text:span text:style-name="T24"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/>Total quantity</text:span>: <text:span text:style-name="T22"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].quantity&gt;</text:placeholder></text:span><text:span text:style-name="T10"><text:s/></text:span><text:span text:style-name="T23"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].unit.rec_name.upper() if sale.lines and sale.lines[0].unit else &apos;&apos;&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="P46"><text:span text:style-name="T24"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/>Total quantity</text:span>: <text:span text:style-name="T22"><text:placeholder text:placeholder-type="text">&lt;format_number(sale.lines[0].quantity, sale.party.lang, digits=4) if sale.lines else &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T10"><text:s/></text:span><text:span text:style-name="T23"><text:placeholder text:placeholder-type="text">&lt;sale.lines[0].unit.rec_name.upper() if sale.lines and sale.lines[0].unit else &apos;&apos;&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="Standard"/>
<text:p text:style-name="P47"><text:span text:style-name="T22"><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/><text:tab/>Total amount:</text:span> <text:span text:style-name="T21"><text:placeholder text:placeholder-type="text">&lt;format_currency(sale.lines[0].amount, sale.party.lang, sale.currency)&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="Standard"/>