You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.7 KiB

  1. {% extends "base_bare.html" %}
  2. {% block title %}Invoice MS-HC-{{ tx.id|upper }} - healthchecks.io{% endblock %}
  3. {% block content %}
  4. <h1>SIA Monkey See Monkey Do</h1>
  5. <p>
  6. Gaujas iela 4-2<br />
  7. Valmiera, LV-4201, Latvia<br />
  8. VAT: LV44103100701
  9. </p>
  10. <p class="text-right">Date Issued: {{ tx.created_at|date }}</p>
  11. <p class="text-right">Invoice Id: MS-HC-{{ tx.id|upper }}</p>
  12. <table class="table">
  13. <tr>
  14. <th>Description</th>
  15. <th>Start</th>
  16. <th>End</th>
  17. <th class="text-right">{{ tx.currency_iso_code }}</th>
  18. </tr>
  19. <tr>
  20. <td>healthchecks.io paid plan</td>
  21. <td>{{ tx.subscription_details.billing_period_start_date }}</td>
  22. <td>{{ tx.subscription_details.billing_period_end_date }}</td>
  23. <td class="text-right">
  24. {% if tx.currency_iso_code == "USD" %}
  25. ${{ tx.amount }}
  26. {% elif tx.currency_iso_code == "EUR" %}
  27. €{{ tx.amount }}
  28. {% else %}
  29. {{ tx.currency_iso_code }} {{ tx.amount }}
  30. {% endif %}
  31. </td>
  32. </tr>
  33. <tr>
  34. <td colspan="4" class="text-right">
  35. <strong>
  36. Total:
  37. {% if tx.currency_iso_code == "USD" %}
  38. ${{ tx.amount }}
  39. {% elif tx.currency_iso_code == "EUR" %}
  40. €{{ tx.amount }}
  41. {% else %}
  42. {{ tx.currency_iso_code }} {{ tx.amount }}
  43. {% endif %}
  44. </strong>
  45. </td>
  46. </tr>
  47. </table>
  48. <p><strong>Bill to:</strong></p>
  49. <p>{{ request.user.email }}</p>
  50. <p class="text-center">
  51. If you have a credit card on file it will be automatically charged within 24 hours.
  52. </p>
  53. {% endblock %}