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', 'name': 'Payment Proof Attachment',
'version': '15.0.1.0.0', 'version': '15.0.1.0.1',
'category': 'Website', 'category': 'Website',
'summary': "Allows to attach proofs in website", 'summary': "Allows to attach proofs in website",
'description': "This module adds an option to your customer to attach the" '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 { .modal {
display: none; /* Hidden by default */ display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */ padding-top: 100px; /* Location of the box */
left: 0; left: 0;
top: 0; top: 0;
@ -13,7 +11,7 @@
} }
/* Modal Content */ /* Modal Content */
.modal-content { #modal_for_attachment {
position: relative; position: relative;
background-color: #fefefe; background-color: #fefefe;
margin: auto; margin: auto;
@ -52,15 +50,15 @@
cursor: pointer; cursor: pointer;
} }
.modal-header { #payment_proof_modal_header {
padding: 2px 16px; padding: 2px 16px;
background-color: #71639E; background-color: #71639E;
color: white; color: white;
} }
.modal-body {padding: 2px 16px;} #payment_proof_modal_body { {padding: 2px 16px;}
.modal-footer { #payment_proof_modal_footer {
padding: 2px 16px; padding: 2px 16px;
background-color: #71639E; background-color: #71639E;
color: white; color: white;

8
payment_proof_attachment/views/sale_portal_templates.xml

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

Loading…
Cancel
Save