Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
faircoop
FairCoopTech
FairCoopSites
invoices.freedoomcop.eu
Commits
b07c8ee3
Commit
b07c8ee3
authored
Nov 13, 2017
by
santi
Browse files
Ahow the prefered payment based in the partner and not in the user
parent
55017d2c
Changes
1
Show whitespace changes
Inline
Side-by-side
partner_custom/views/report_invoice_custom.xml
View file @
b07c8ee3
...
...
@@ -5,35 +5,23 @@
<xpath
expr=
"//div[@class='col-xs-4 pull-right']"
position=
"before"
>
<div
class=
"pull-left"
>
<h4>
Payment instructions:
</h4>
<t
t-if=
"o.
user_id.
partner_id.prefered_payment == 'betabank'"
>
<t
t-if=
"o.partner_id.prefered_payment == 'betabank'"
>
<p>
Name: Betacoop eG
<br/>
IBAN: DE41 4306 0967 1152 3659 00
<br/>
BIC: GENODEM1GLS
<br/>
Bank: GLS Gemeinschaftsbank eG
<br/>
Reference:
<span
t-field=
"o.user_id.partner_id.betabank_id"
/>
/
<span
t-field=
"o.number"
/></p>
<p>
Please, is very important you write the reference in the bank transfer. Thank you for your attention.
</p>
</t>
<t
t-if=
"o.
user_id.
partner_id.prefered_payment == 'boc'"
>
<t
t-if=
"o.partner_id.prefered_payment == 'boc'"
>
<p>
Name: Bank of the Commons
<br/>
IBAN: IT99 9999 9999 9999 9999 000
<br/>
BIC: BOTC
<br/>
Bank: Bank of the Commons
<br/>
Reference:
<span
t-field=
"o.user_id.partner_id.boc_id"
/>
/
<span
t-field=
"o.number"
/></p>
</t>
<t
t-if=
"o.user_id.partner_id.prefered_payment == 'spark'"
>
<p>
Send the amount to Spark
<span
t-field=
"o.user_id.partner_id.spark_id"
/></p>
</t>
<t
t-if=
"o.user_id.partner_id.prefered_payment == 'faircoin'"
>
<p>
Send the amount in FairCoin to
<span
t-field=
"o.user_id.partner_id.faircoin_address"
/></p>
</t>
</div>
</xpath>
<!--
<xpath expr="//div/div[@class='col-xs-5 col-xs-offset-7']" position="inside">
<div class="pull-left" t-if="o.partner_id.vat">TIN: <span t-field="o.partner_id.vat"/></div>
</xpath>
-->
</template>
<template
id=
"report_external_layout_extends"
inherit_id=
"report.external_layout_header"
>
<xpath
expr=
"//div/div/div[@t-field='company.partner_id']"
position=
"before"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment