Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Show coinbase order ID on receipts
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Apr 10, 2015
1 parent 30fad5d commit 4a3a837
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions www/%username/receipts/%exchange_id.int.html.spt
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,22 @@ else:
<h1>Receipt</h1>

<div id="their-info">
{{ card.name }}
({{ participant.username }})<br />
{{ card.number }} ({{ card.brand }})<br />
{{ card.address.line1 }}<br />
{% if card.address.line2 %}
{{ card.address.line2 }}<br />
{% if route and route.network == 'coinbase-payin' %}
{{ participant.username }} <br /> <br />
Coinbase Order ID: {{ route.address }} <br /><br />
{% else %}
{{ card.name }}
({{ participant.username }})<br />
{{ card.number }} ({{ card.brand }})<br />
{{ card.address.line1 }}<br />
{% if card.address.line2 %}
{{ card.address.line2 }}<br />
{% endif %}
{{ card.address.city }}{% if card.address.city %},{% endif %}
{{ card.address.state }}
{{ card.address.postal_code }}<br />
{{ locale.countries.get(card.address.country_code, '') }}
{% endif %}
{{ card.address.city }}{% if card.address.city %},{% endif %}
{{ card.address.state }}
{{ card.address.postal_code }}<br />
{{ locale.countries.get(card.address.country_code, '') }}
</div>

<table>
Expand Down

0 comments on commit 4a3a837

Please sign in to comment.