Skip to content

Commit

Permalink
Update templates.xml
Browse files Browse the repository at this point in the history
moved ded after fpo
  • Loading branch information
toyrobot authored Aug 11, 2023
1 parent f147d73 commit 8a4ece2
Showing 1 changed file with 31 additions and 28 deletions.
59 changes: 31 additions & 28 deletions bankayma_account/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,34 +236,6 @@
</t>
</select>
</div>
<div id="vendor_doc_description" />
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('amount') and 'o_has_error' or ''}"
>
<label class="col-form-label" for="amount">Amount</label>
<input
type="number"
min="0"
t-attf-class="form-control #{errors.get('amount') and 'is-invalid' or ''}"
required="required"
name="amount"
id="amount"
t-att-value="post.get('amount')"
/>
</div>
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('description') and 'o_has_error' or ''}"
>
<label class="col-form-label" for="description">Description</label>
<input
type="text"
t-attf-class="form-control #{errors.get('description') and 'is-invalid' or ''}"
required="required"
name="description"
id="description"
t-att-value="post.get('description')"
/>
</div>
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('tax_percentage') and 'o_has_error' or ''}"
>
Expand Down Expand Up @@ -293,6 +265,37 @@
t-att-value="post.get('max_amount', request.env.user.partner_id.bankayma_vendor_max_amount)"
/>
</div>
<div class="clearfix" />

<div id="vendor_doc_description" />
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('amount') and 'o_has_error' or ''}"
>
<label class="col-form-label" for="amount">Amount</label>
<input
type="number"
min="0"
t-attf-class="form-control #{errors.get('amount') and 'is-invalid' or ''}"
required="required"
name="amount"
id="amount"
t-att-value="post.get('amount')"
/>
</div>
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('description') and 'o_has_error' or ''}"
>
<label class="col-form-label" for="description">Description</label>
<input
type="text"
t-attf-class="form-control #{errors.get('description') and 'is-invalid' or ''}"
required="required"
name="description"
id="description"
t-att-value="post.get('description')"
/>
</div>

<div class="clearfix" />
<div
t-attf-class="mb-3 col-xl-6 #{errors.get('upload') and 'o_has_error' or ''}"
Expand Down

0 comments on commit 8a4ece2

Please sign in to comment.