Add Payment order template

This commit is contained in:
2026-04-07 13:59:16 +02:00
parent 9f06398b2c
commit 78e9e06a8b
2 changed files with 30 additions and 15 deletions

View File

@@ -1646,7 +1646,7 @@
<table:table-column table:style-name="Tableau1.A"/> <table:table-column table:style-name="Tableau1.A"/>
<table:table-row table:style-name="Tableau1.1"> <table:table-row table:style-name="Tableau1.1">
<table:table-cell table:style-name="Tableau1.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau1.A1" office:value-type="string">
<text:h text:style-name="P6" text:outline-level="3">PAYMENT ORDER &lt;records[0].report_payment_order_document_reference or &apos;&apos;&gt;</text:h> <text:h text:style-name="P6" text:outline-level="3">PAYMENT ORDER <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_document_reference or &apos;&apos;&gt;</text:placeholder></text:h>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
</table:table> </table:table>
@@ -1667,7 +1667,7 @@
<text:p text:style-name="P10" loext:marker-style-name="T20"><text:span text:style-name="T11">From:</text:span><text:span text:style-name="T11"/></text:p> <text:p text:style-name="P10" loext:marker-style-name="T20"><text:span text:style-name="T11">From:</text:span><text:span text:style-name="T11"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau2.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau2.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T15"><text:span text:style-name="T15">Account Number : &lt;records[0].report_payment_order_from_account_nb or &apos;&apos;&gt;</text:span><text:span text:style-name="T15"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T15"><text:span text:style-name="T15">Account Number : <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_from_account_nb or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T15"/></text:p>
<text:p text:style-name="P17" loext:marker-style-name="T15"/> <text:p text:style-name="P17" loext:marker-style-name="T15"/>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
@@ -1676,7 +1676,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T12">To:</text:span><text:span text:style-name="T12"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T12">To:</text:span><text:span text:style-name="T12"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau2.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau2.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T12">&lt;records[0].report_payment_order_to_bank_name or &apos;&apos;&gt; / &lt;records[0].report_payment_order_to_bank_city or &apos;&apos;&gt;</text:span><text:span text:style-name="T12"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T12"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_to_bank_name or &apos;&apos;&gt;</text:placeholder> / <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_to_bank_city or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T12"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
</table:table> </table:table>
@@ -1695,7 +1695,7 @@
<text:p text:style-name="P7" loext:marker-style-name="T20"><text:span text:style-name="T9">Amount:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P7" loext:marker-style-name="T20"><text:span text:style-name="T9">Amount:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P7" loext:marker-style-name="T21"><text:span text:style-name="T17">&lt;records[0].report_payment_order_amount or &apos;&apos;&gt;</text:span><text:span text:style-name="T16">&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt; &lt;records[0].report_payment_order_amount or &apos;&apos;&gt;</text:span><text:span text:style-name="T17"></text:span><text:span text:style-name="T16"> (&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt; &lt;records[0].report_payment_order_amount or &apos;&apos;&gt;)</text:span><text:span text:style-name="T17"></text:span></text:p> <text:p text:style-name="P7" loext:marker-style-name="T21"><text:span text:style-name="T17"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_amount or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T16"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt;</text:placeholder> <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_amount or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T17"></text:span><text:span text:style-name="T16"> (<text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt;</text:placeholder> <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_amount or &apos;&apos;&gt;</text:placeholder>)</text:span><text:span text:style-name="T17"></text:span></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1703,7 +1703,7 @@
<text:p text:style-name="P15" loext:marker-style-name="T9"/> <text:p text:style-name="P15" loext:marker-style-name="T9"/>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">(&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt; &lt;records[0].report_payment_order_amount_text or &apos;&apos;&gt;)</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">(<text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_currency_code or &apos;&apos;&gt;</text:placeholder> <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_amount_text or &apos;&apos;&gt;</text:placeholder>)</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1719,7 +1719,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Value:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Value:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">&lt;records[0].report_payment_order_value_date or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_value_date or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1735,7 +1735,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Beneficiary:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Beneficiary:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">&lt;records[0].report_payment_order_company_address or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_company_address or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1751,7 +1751,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Account no.:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Account no.:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">&lt;records[0].report_payment_order_beneficiary_account_nb or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_beneficiary_account_nb or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1767,9 +1767,9 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Bank:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Bank:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T9"><text:span text:style-name="T9">&lt;records[0].report_payment_order_beneficiary_bank_name or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T9"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_beneficiary_bank_name or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
<text:p text:style-name="P11" loext:marker-style-name="T9"><text:span text:style-name="T9">&lt;records[0].report_payment_order_beneficiary_bank_city or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T9"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_beneficiary_bank_city or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T23"></text:span><text:span text:style-name="T22">Swift code: &lt;records[0].report_payment_order_swift_code or &apos;&apos;&gt;</text:span><text:span text:style-name="T23"></text:span></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T23"></text:span><text:span text:style-name="T22">Swift code: <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_swift_code or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T23"></text:span></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1785,7 +1785,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T10"></text:span><text:span text:style-name="T9">Corresponding Bank:</text:span><text:span text:style-name="T10"> </text:span></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T10"></text:span><text:span text:style-name="T9">Corresponding Bank:</text:span><text:span text:style-name="T10"> </text:span></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T10"></text:span><text:span text:style-name="T9">&lt;records[0].report_payment_order_other_instructions or &apos;&apos;&gt;</text:span><text:span text:style-name="T10"></text:span></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T10"></text:span><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_other_instructions or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T10"></text:span></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
<table:table-row table:style-name="Tableau3.1"> <table:table-row table:style-name="Tableau3.1">
@@ -1801,7 +1801,7 @@
<text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Reference:</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T20"><text:span text:style-name="T9">Reference:</text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
<table:table-cell table:style-name="Tableau3.A1" office:value-type="string"> <table:table-cell table:style-name="Tableau3.A1" office:value-type="string">
<text:p text:style-name="P10" loext:marker-style-name="T20"><text:span text:style-name="T9">&lt;records[0].report_payment_order_reference or &apos;&apos;&gt;</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P10" loext:marker-style-name="T20"><text:span text:style-name="T9"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_reference or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T9"/></text:p>
</table:table-cell> </table:table-cell>
</table:table-row> </table:table-row>
</table:table> </table:table>
@@ -1837,12 +1837,12 @@
</table:table> </table:table>
</draw:text-box> </draw:text-box>
</draw:frame><text:span text:style-name="T9">Please provide the swift copy: </text:span><text:span text:style-name="T9"/></text:p> </draw:frame><text:span text:style-name="T9">Please provide the swift copy: </text:span><text:span text:style-name="T9"/></text:p>
<text:p text:style-name="P18" loext:marker-style-name="T15"><text:span text:style-name="T9">To </text:span><text:span text:style-name="T15">&lt;records[0].report_payment_order_current_user_email or &apos;&apos;&gt;</text:span></text:p> <text:p text:style-name="P18" loext:marker-style-name="T15"><text:span text:style-name="T9">To </text:span><text:span text:style-name="T15"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_current_user_email or &apos;&apos;&gt;</text:placeholder></text:span></text:p>
<text:p text:style-name="P18" loext:marker-style-name="T10"><text:span text:style-name="T10"></text:span><text:span text:style-name="T10"/></text:p> <text:p text:style-name="P18" loext:marker-style-name="T10"><text:span text:style-name="T10"></text:span><text:span text:style-name="T10"/></text:p>
<text:p text:style-name="P14" loext:marker-style-name="T9"/> <text:p text:style-name="P14" loext:marker-style-name="T9"/>
<text:p text:style-name="P18" loext:marker-style-name="T9"><text:span text:style-name="T9">Thanking you in advance,</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P18" loext:marker-style-name="T9"><text:span text:style-name="T9">Thanking you in advance,</text:span><text:span text:style-name="T9"/></text:p>
<text:p text:style-name="P18" loext:marker-style-name="T9"><text:span text:style-name="T9">Best Regards,</text:span><text:span text:style-name="T9"/></text:p> <text:p text:style-name="P18" loext:marker-style-name="T9"><text:span text:style-name="T9">Best Regards,</text:span><text:span text:style-name="T9"/></text:p>
<text:p text:style-name="P11" loext:marker-style-name="T15"><text:span text:style-name="T15">&lt;records[0].report_payment_order_current_user or &apos;&apos;&gt;</text:span><text:span text:style-name="T15"/></text:p> <text:p text:style-name="P11" loext:marker-style-name="T15"><text:span text:style-name="T15"><text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_current_user or &apos;&apos;&gt;</text:placeholder></text:span><text:span text:style-name="T15"/></text:p>
<text:p text:style-name="P14" loext:marker-style-name="T9"/> <text:p text:style-name="P14" loext:marker-style-name="T9"/>
<table:table table:name="Tableau6" table:style-name="Tableau6"> <table:table table:name="Tableau6" table:style-name="Tableau6">
<table:table-column table:style-name="Tableau6.A"/> <table:table-column table:style-name="Tableau6.A"/>

View File

@@ -209,6 +209,21 @@ Derniere mise a jour: `2026-04-07`
- Appliquer cette regle pour `Payment Order` comme pour `Invoice`, - Appliquer cette regle pour `Payment Order` comme pour `Invoice`,
`Prepayment` et `CN/DN`. `Prepayment` et `CN/DN`.
### TR-019 - Un placeholder Relatorio doit etre dans une balise `text:placeholder`
- Dans un `.fodt`, une expression du type `&lt;records[0].report_* ...&gt;`
ecrite en texte brut peut s'afficher telle quelle a l'impression.
- Regle stricte:
- encapsuler les expressions dans
`<text:placeholder text:placeholder-type="text">...</text:placeholder>`
- ne pas laisser de token `&lt;...&gt;` directement dans un `text:span`,
`text:p`, `text:h`, etc.
- Exemple:
- incorrect:
`PAYMENT ORDER &lt;records[0].report_payment_order_document_reference or &apos;&apos;&gt;`
- correct:
`PAYMENT ORDER <text:placeholder text:placeholder-type="text">&lt;records[0].report_payment_order_document_reference or &apos;&apos;&gt;</text:placeholder>`
### TR-007 - Pour une facture trade, privilegier le lot physique comme chemin de navigation ### TR-007 - Pour une facture trade, privilegier le lot physique comme chemin de navigation
- Pour remonter d'une facture vers des donnees logistiques ou metier, ne pas dupliquer de chemins differents selon achat/vente. - Pour remonter d'une facture vers des donnees logistiques ou metier, ne pas dupliquer de chemins differents selon achat/vente.