24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
|
|
<template id="transfer_acquirer_button">
|
|
<form t-if="acquirer" t-att-action="tx_url" method="post" target="_self">
|
|
<t t-if="tx_values.get('return_url')">
|
|
<input type='hidden' name='return_url' t-att-value='tx_values["return_url"]'/>
|
|
</t>
|
|
<input type='hidden' name='reference' t-att-value='reference'/>
|
|
<input type='hidden' name='amount' t-att-value='amount or "0.0"'/>
|
|
<input type='hidden' name='currency' t-att-value='currency.name'/>
|
|
<!-- submit -->
|
|
<button type="submit" width="100px"
|
|
t-att-class="submit_class">
|
|
<img t-if="not submit_txt" src="/payment_transfer/static/src/img/transfer_icon.png"/>
|
|
<span t-if="submit_txt"><t t-esc="submit_txt"/> <span class="fa fa-long-arrow-right"/></span>
|
|
</button>
|
|
</form>
|
|
</template>
|
|
|
|
</data>
|
|
</openerp>
|