Sha256: a3d957a875080c69f11ea86e191bda038be25ba335cf67b54e1fe68b5e947593
Contents?: true
Size: 809 Bytes
Versions: 2
Compression:
Stored size: 809 Bytes
Contents
<% invoice = @payment.source.find_invoice %> <% if invoice %> <div class="bitpay_invoice_details"> <h3>Bitpay Invoice Details</h3> <pre><%= JSON.pretty_generate(invoice) %></pre> </div> <%= link_to Spree.t(:bitpay_refresh_invoice), bitpay_refresh_url(payment: @payment), {id: "refresh_invoice", class: "button primary", title: Spree.t(:bitpay_refresh_invoice_description)} %> <div class="bitpay_invoice_details"> <h3>Invoice</h3> <iframe id="bitpay_view_invoice_iframe" src="<%= j bitpay_view_invoice_url(source_id: @payment.source).html_safe %>" scrolling="no" allowtransparency="true" frameborder="0"> </iframe> <br/> <%= link_to Spree.t(:bitpay_view_full_invoice), invoice["url"], {target: "_new"} %> </div> <% else %> <p>No BitPay Invoice Available</p> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_bitpay-1.0.2 | app/views/spree/admin/payments/source_views/_bitpay.html.erb |
spree_bitpay-0.1.1 | app/views/spree/admin/payments/source_views/_bitpay.html.erb |