You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.0 KiB
55 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- This XML template defines the structure for changing the PIN in a wallet and-->
|
|
<!-- displaying chang pin success message.-->
|
|
<template id="wallet_forgot_pin" name="Wallet Details">
|
|
<br/>
|
|
<center>
|
|
<h3>Change PIN</h3>
|
|
</center>
|
|
<br/>
|
|
<div class="col-12 col-lg-6 o_setting_box" id="re_login_data">
|
|
<input type="text"
|
|
placeholder="Enter your current password "
|
|
name="pswd"
|
|
class="form-control"
|
|
id="current_pswd"
|
|
required="required"
|
|
autocapitalize="off"/>
|
|
<br/>
|
|
<input type="password"
|
|
placeholder="Confirm your password "
|
|
name="new_pswd"
|
|
class="form-control"
|
|
id="new_confirm_pswd"
|
|
t-attf-class="form-control #{'form-control-sm' if form_small else ''}"
|
|
required="required"
|
|
autocapitalize="off"/>
|
|
<div t-attf-class="clearfix oe_login_buttons text-center gap-1 d-grid mb-1 {{'pt-2' if form_small else 'pt-3'}}">
|
|
<button class="btn btn-primary" id="change_button"
|
|
type="submit">
|
|
Set PIN
|
|
</button>
|
|
</div>
|
|
<p class="alert alert-danger wrong_change_pin d-none"
|
|
role="alert">
|
|
<span>Wrong/Login Password</span>
|
|
</p>
|
|
</div>
|
|
</template>
|
|
<!-- Displaying the Transaction histories.-->
|
|
<template id="no_histories" name="Wallet Details">
|
|
<br/>
|
|
<center>
|
|
<h3>No Histories</h3>
|
|
</center>
|
|
<br/>
|
|
</template>
|
|
<template id="change_pin_success" name="Wallet Details">
|
|
<br/>
|
|
<center>
|
|
<h3>Changed PIN Successfully</h3>
|
|
</center>
|
|
<br/>
|
|
</template>
|
|
</odoo>
|
|
|