Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
invoices.freedoomcop.eu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
faircoop
FairCoopTech
FairCoopSites
invoices.freedoomcop.eu
Commits
b07c8ee3
Commit
b07c8ee3
authored
7 years ago
by
santi
Browse files
Options
Downloads
Patches
Plain Diff
Ahow the prefered payment based in the partner and not in the user
parent
55017d2c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
partner_custom/views/report_invoice_custom.xml
+2
-14
2 additions, 14 deletions
partner_custom/views/report_invoice_custom.xml
with
2 additions
and
14 deletions
partner_custom/views/report_invoice_custom.xml
+
2
−
14
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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment