Browse Source

Apr 17 [UPDT] : Bug Fixed 'payment_proof_attachment'

pull/254/merge
AjmalCybro 1 year ago
parent
commit
ae27021f05
  1. 2
      payment_proof_attachment/__manifest__.py
  2. 10
      payment_proof_attachment/static/src/css/payment_proof.css
  3. 8
      payment_proof_attachment/views/sale_portal_templates.xml

2
payment_proof_attachment/__manifest__.py

@ -21,7 +21,7 @@
################################################################################
{
'name': 'Payment Proof Attachment',
'version': '15.0.1.0.0',
'version': '15.0.1.0.1',
'category': 'Website',
'summary': "Allows to attach proofs in website",
'description': "This module adds an option to your customer to attach the"

10
payment_proof_attachment/static/src/css/payment_proof.css

@ -1,7 +1,5 @@
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
@ -13,7 +11,7 @@
}
/* Modal Content */
.modal-content {
#modal_for_attachment {
position: relative;
background-color: #fefefe;
margin: auto;
@ -52,15 +50,15 @@
cursor: pointer;
}
.modal-header {
#payment_proof_modal_header {
padding: 2px 16px;
background-color: #71639E;
color: white;
}
.modal-body {padding: 2px 16px;}
#payment_proof_modal_body { {padding: 2px 16px;}
.modal-footer {
#payment_proof_modal_footer {
padding: 2px 16px;
background-color: #71639E;
color: white;

8
payment_proof_attachment/views/sale_portal_templates.xml

@ -29,17 +29,17 @@
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<div class="modal-content" id="modal_for_attachment">
<div class="modal-header" id="payment_proof_modal_header">
<h5>Upload Transaction Receipt</h5>
<span class="close_modal">
<i class="fa fa-times-circle"/>
</span>
</div>
<div class="modal-body">
<div class="modal-body" id="payment_proof_modal_body">
<p>Note :- You can attach proof of payments.</p>
</div>
<div class="modal-footer">
<div class="modal-footer" id="payment_proof_modal_footer">
<input type="file" name="file"
id="payment_proof"
multiple="true"

Loading…
Cancel
Save