diff --git a/boxoffice/templates/cash_receipt.html.jinja2 b/boxoffice/templates/cash_receipt.html.jinja2 deleted file mode 100644 index 464c7cfc..00000000 --- a/boxoffice/templates/cash_receipt.html.jinja2 +++ /dev/null @@ -1,310 +0,0 @@ - - - -
- - - -{% trans %}CIN:{% endtrans %} {{ org.details.get('cin') }}
- {%- elif org.details.get('llpin') %} -{% trans %}LLPIN:{% endtrans %} {{ org.details.get('llpin') }}
- {%- endif %} - {%- if org.details.get('pan') %} -{% trans %}PAN:{% endtrans %} {{ org.details.get('pan') }}
- {%- endif %} - {%- if org.details.get('service_tax_no') %} -{% trans %}Service Tax No:{% endtrans %} {{ org.details.get('service_tax_no') }}
- {%- endif %} - {%- if org.details.get('website') %} - - {%- endif %} - -{% trans %}Bill To{% endtrans %} | -|
---|---|
{% trans %}Name{% endtrans %} | -{{ order.buyer_fullname }} | -
{% trans %}Email{% endtrans %} | -{{ order.buyer_email }} | -
{% trans %}Phone{% endtrans %} | -{{ order.buyer_phone }} | -
{% trans %}Receipt#{% endtrans %} | -{{ order.receipt_no }} | -
{% trans %}Date{% endtrans %} | -{{ order.paid_at | longdate }} | -
{% trans %}Ticket No.{% endtrans %} | -{% trans %}Base Price{% endtrans %} | -{% trans %}Discount{% endtrans %} | -{% trans %}Final Price{% endtrans %} | -
---|---|---|---|
{{ line_item.line_item_seq }} | -
- {{ line_item.ticket.title }} - {{ line_item.ticket.description }} - |
- ||
- {{ currency_symbol }} {{ line_item.base_amount }} - |
-
- {{ currency_symbol }} {{ line_item.discounted_amount }} - {% if line_item.discount_policy %} -{{ line_item.discount_policy.title }} - {% endif %} - |
-
- {{ currency_symbol }} {{ line_item.final_amount }} - |
- |
- | {% trans %}Total paid{% endtrans %} | -{{ currency_symbol }} {{ order.paid_amount }} |
- |
- | {% trans %}Net paid (post refund){% endtrans %} | -{{ currency_symbol }} {{ order.net_amount }} |
-
{% trans %}Refunds{% endtrans %}
-{% trans %}No.{% endtrans %} | -{% trans %}Receipt#{% endtrans %} | -{% trans %}Refund date{% endtrans %} | -{% trans %}Refund reason{% endtrans %} | -{% trans %}Amount{% endtrans %} | -||
---|---|---|---|---|---|---|
{{ loop.index }} | -{{ order.receipt_no }} | -- {% if transaction.refunded_at %} - {{ transaction.refunded_at | longdate }} - {%- endif %} - | - {%- if transaction.refund_description %} -{{ transaction.refund_description }} | - {%- elif transaction.refunded_at %} -{% trans date=transaction.refunded_at|longdate %}Refunded on {{ date }}{% endtrans %} | - {%- else %} -{% trans %}Refund{% endtrans %} | - {%- endif %} -{{ currency_symbol }} {{ transaction.amount }} |
-
- | {% trans %}Total refund{% endtrans %} | -{{ currency_symbol }} {{ order.refunded_amount }} | -
+ + | +
+ | + + ++ | + + + + ++ | + +|
+ + |
+ {#
+ Set the email width. Defined in two places:
+ 1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 600px.
+ 2. MSO tags for Desktop Windows Outlook enforce a 600px width.
+ #}
+
+
+
+
+ {# Email content : BEGIN #}
+
+
|
+
+ + | |
+ | + + ++ | + + + ++ | + +
+ {% trans %}Hasgeek Learning Private Limited{% endtrans %} + {% trans %}Need help?{% endtrans %} {{ config['SITE_SUPPORT_EMAIL'] }} • {{ config['SITE_SUPPORT_PHONE'] }} + |
+
+
+ {{ btn_text }}
+
+ |
+
+ {%- trans %}Receipt no. {% endtrans -%} + {{ order.receipt_no }} +
+{{ org.details.get('name') }}
+
+ + {%- trans %}Address{% endtrans -%} + +{{ org.details.get('address')|safe }} + |
+
+ + {%- trans %}PAN{% endtrans -%} + +{{ org.details.get('pan') }} + |
+
+ + {%- trans %}CIN{% endtrans -%} + +{{ org.details.get('cin') }} + |
+
+ + {%- trans %}Email{% endtrans -%} + +{{ org.contact_email }} + |
+
+ {%- trans %}Buyer details{% endtrans -%} +
+
+ + {%- trans -%}Name{%- endtrans -%} + +{{ order.buyer_fullname }} + |
+
+ + {%- trans %}Phone{% endtrans -%} + +{{ order.buyer_phone }} + |
+
+ + {%- trans %}Paid on{% endtrans -%} + +{{ order.paid_at | longdate }} + |
+
+ + {%- trans %}Email{% endtrans -%} + +{{ order.buyer_email }} + |
+
+ {%- trans %}Order Summary{% endtrans -%} +
+{{ loop.index }}{{ '. ' + line_item.ticket.title }}
+{{ currency_symbol }} {{ line_item.base_amount }}
+
+ + {%- trans %}Sub-total{% endtrans-%} + + |
+
+ {{ currency_symbol }} {{ total_base_amount }} + |
+ ||
+ + {%- trans %}Discount{% endtrans -%} + + |
+
+ {% if total_discount_amount %}
+ {{ currency_symbol }} {{ total_discount_amount }} + {% else %} +{{ currency_symbol }} 0 + {% endif %} + |
+ ||
+ + {%- trans %}Total Paid{% endtrans -%} + + |
+
+ {{ currency_symbol }} {{ final_amount }} + |
+
+ {%- trans %}Refund{% endtrans -%} +
+
+ + {%- trans -%}Refund receipt{%- endtrans -%} + +{{ order.receipt_no }} + |
+
+ + {%- trans %}Refund date{% endtrans -%} + ++ {{ refund.refunded_at | longdate }} + + |
+
+ + {{ loop.index }}{{ '. ' + refund.refund_description }} + + |
+ {%- elif refund.refunded_at %}
+
+ + {%- trans date=refund.refunded_at|longdate %}Refunded on{{ date }}{% endtrans -%} + + |
+ {%- else %}
+
+ + {%- trans %}Refund{% endtrans -%} + + |
+ {%- endif %}
+ {{ currency_symbol }} {{ refund.amount }} |
+ ||||||
+ + {%- trans %}Total Refund{% endtrans-%} + + |
+
+ {{ currency_symbol }} {{ order.refunded_amount }} + |
+ ||||||||
+ + {%- trans %}Net Paid{% endtrans -%} + + |
+
+ + {{ currency_symbol }} {{ order.refunded_amount }} + + |
+
+ {%- trans %}To access the benefits of this ticket please ensure you are logged in to your Hasgeek account with this same email address.{% endtrans -%} +
+Cancellation and transfer
+ {{ org.details.get('refund_policy')|safe }} +