Guest User

Untitled

a guest
Feb 13th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. <% if order.payee.verified_and_has_identity_info? %>
  2. <% if order.payee?(user)%>
  3. <% if order.payer.verified_advanced_verification_result.present? %>
  4. <div class = "payment-tips verification-info">
  5. <span class = "tips-text">
  6. To ensure the asset safety of both, the buyer has to use the ATM cards approved by Advanced Verification to pay the seller.Advanced Verification detail of the counterparty : <br>
  7. Name: <%= order.payer.passed_advanced_verification_info(:real_name) %>; Bank: <%= order.payer.passed_advanced_verification_info(:bank_name) %>; ATM Card Number: <%= order.payer.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payer.passed_advanced_verification_info(:bank_card_number).last(4) %>
  8. </span>
  9. </div>
  10. <% elsif order.payer.verified_and_has_identity_info? %>
  11. <div class = "payment-tips verification-info">
  12. <span class = "tips-text">
  13. If you choose to transfer by ATM card, please use card with the owner's name of <%= order.payee.identity_info.real_name %> to pay the seller, in order to avoid trading disputes.<br>
  14. Your name with Identity Verification (<%= render_human_id_type(order.payee.identity_info): <% = order.payee.identity_info.real_name%> <% = link_to ("Incorrect name?", account_user_path, target: "_blank") %><br>
  15. Seller name with Identity Verification (<%= render_human_id_type(order.payer.identity_info) %>): <%= order.payer.identity_info.real_name %>
  16. </span>
  17. </div>
  18. <% end %>
  19. <% end %>
  20.  
  21. <% if order.payer? (user)%>
  22. <% if order.payee.verified_advanced_verification_result.present? %>
  23. <div class = "payment-tips verification-info">
  24. <span class = "tips-text">
  25. To ensure the asset safety of both, the seller must confirm that the buyer use an ATM card approved by Advanced Verification.Advanced Verification detail of the counterparty : <br>
  26. Name: <%= order.payee.passed_advanced_verification_info(:real_name) %>; Bank: <%= order.payee.passed_advanced_verification_info(:bank_name) %>; ATM Card Number: <%= order.payee.passed_advanced_verification_info(:bank_card_number).first(4) %>********<%= order.payee.passed_advanced_verification_info(:bank_card_number).last(4) %>
  27. </span>
  28. </div>
  29. <% elsif order.payee.verified_and_has_identity_info? %>
  30. <div class = "payment-tips verification-info">
  31. <span class = "tips-text">
  32. To ensure the safety of funds, if the buyer uses an ATM card to pay you, be sure to check the details of bank income after payment and verify the name of the payee. Refuse to receive any payment from the third-party with inconsistent name of the Identity Verification of the counterparty.<br />
  33. The counterparty's name with Identity Verification (<%= render_human_id_type(order.payee.identity_info) %>): <%= order.payee.identity_info.real_name %><br>
  34. <% if order.payer.verified_and_has_identity_info? %>
  35. Your name with Identity Verification (<%= render_human_id_type(order.payer.identity_info) %>): <%= order.payer.identity_info.real_name %> <%= link_to("Incorrect name?", account_user_path, target:" _blank ")%>
  36. <% end %>
  37. </span>
  38. </div>
  39. <% end %>
  40. <% end %>
  41. <% end %>
Add Comment
Please, Sign In to add comment