summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-02-01 15:00:07 -0300
committerSebastian <sebasjm@gmail.com>2024-02-01 15:00:07 -0300
commit2fda31767a4d74d935ffd56130ad49b4eec1f2f7 (patch)
tree9a969b9e6811090adc77cb1bc954ceed6b0f1127
parenta4c3a207f296ee3b6c2971fe5a27f4c42126fa26 (diff)
downloadwallet-core-2fda31767a4d74d935ffd56130ad49b4eec1f2f7.tar.gz
wallet-core-2fda31767a4d74d935ffd56130ad49b4eec1f2f7.tar.bz2
wallet-core-2fda31767a4d74d935ffd56130ad49b4eec1f2f7.zip
from fa86b6d486ff9dfe9c5072018d45eab6929215dc
-rw-r--r--backend/show_order_details.en.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/backend/show_order_details.en.html b/backend/show_order_details.en.html
index e1fdc4fbe..f87bf6950 100644
--- a/backend/show_order_details.en.html
+++ b/backend/show_order_details.en.html
@@ -2,7 +2,7 @@
<!doctype html>
<html>
<head>
- <meta charSet="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><noscript><meta http-equiv="refresh" content="1" /></noscript><title>Status of your order for {{ order_summary }}</title><script>
+ <meta charSet="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Status of your order for {{ order_summary }}</title><script>
var contractTermsStr = '{{{contract_terms_json}}}';
</script>
<style>/* linaria:index_15ba2f5.linaria.css */
@@ -1224,7 +1224,7 @@ body {
<script id="built_time_data">
</script>
<body>
- <div class="p1b3vqup"><header><h1>Details of order {{ contract_terms.order_id }}</h1></header><section>{{#refund_amount}}<section><div class="i1pkgksb"><b>Refunded:</b> The merchant refunded you <b>{{ refund_amount }}</b>.</div></section>{{/refund_amount}}{{#contract_terms.fulfillment_message}}<section><div class="i1pkgksb"><b>{{ contract_terms.fulfillment_message }}</b>.</div></section>{{/contract_terms.fulfillment_message}}<section><dl class="t2c81u8"><dt>Order summary:</dt><dd>{{ contract_terms.summary }}</dd>{{#contract_terms.fulfillment_url}}<dt>Fulfillment URL:</dt><dd><a href="{{ contract_terms.fulfillment_url }}">{{ contract_terms.fulfillment_url }}</a></dd>{{/contract_terms.fulfillment_url}}<dt>Amount paid:</dt><dd>{{ contract_terms.amount }}</dd><dt>Order date:</dt><dd>{{ contract_terms.timestamp_str }} </dd><dt>Merchant name:</dt><dd>{{ contract_terms.merchant.name }}</dd></dl></section>{{#contract_terms.hasProducts}}<section><h2>Products purchased</h2><dl class="t1mav7fx">{{#contract_terms.products}}<p>{{description}}</p><dl><dt>Quantity:</dt><dd>{{quantity}}</dd><dt>Price:</dt><dd>{{price}}</dd>{{#hasTaxes}}{{#taxes}}<dt>{{name}}</dt><dd>{{tax}}</dd>{{/taxes}}{{/hasTaxes}}{{#delivery_date}}<dt>Delivered on:</dt><dd>{{ delivery_date_str }} </dd>{{/delivery_date}}{{#unit}}<dt>Product unit:</dt><dd>{{.}}</dd>{{/unit}}{{#product_id}}<dt>Product ID:</dt><dd>{{.}}</dd>{{/product_id}}</dl>{{/contract_terms.products}}</dl></section>{{/contract_terms.hasProducts}}{{#contract_terms.has_delivery_info}}<section><h2>Delivery information</h2><dl class="t2c81u8">{{#contract_terms.delivery_date}}<dt>Delivery date:</dt><dd>{{ contract_terms.delivery_date_str }} </dd>{{/contract_terms.delivery_date}}{{#contract_terms.delivery_location}}<dt>Delivery address:</dt>{{#contract_terms.delivery_location.building_name}}<dd>{{ contract_terms.delivery_location.building_name }} {{ contract_terms.delivery_location.building_number }}</dd>{{/contract_terms.delivery_location.building_name}}{{#contract_terms.delivery_location.country}}<dd>{{ contract_terms.delivery_location.country }} {{ contract_terms.delivery_location.country_subdivision }}</dd>{{/contract_terms.delivery_location.country}}{{#contract_terms.delivery_location.district}}<dd>{{ contract_terms.delivery_location.district }}</dd>{{/contract_terms.delivery_location.district}}{{#contract_terms.delivery_location.post_code}}<dd>{{ contract_terms.delivery_location.post_code }}</dd>{{/contract_terms.delivery_location.post_code}}{{#contract_terms.delivery_location.street}}<dd>{{ contract_terms.delivery_location.street }}</dd>{{/contract_terms.delivery_location.street}}{{#contract_terms.delivery_location.town}}<dd>{{ contract_terms.delivery_location.town }}</dd>{{/contract_terms.delivery_location.town}}{{#contract_terms.delivery_location.town_location}}<dd>{{ contract_terms.delivery_location.town_location }}</dd>{{/contract_terms.delivery_location.town_location}}{{/contract_terms.delivery_location}}</dl></section>{{/contract_terms.has_delivery_info}}<section><h2>Full payment information</h2><dl class="t2c81u8"><dt>Amount paid:</dt><dd>{{ contract_terms.amount }}</dd><dt>Wire transfer method:</dt><dd>{{ contract_terms.wire_method }}</dd><dt>Payment deadline:</dt><dd>{{ contract_terms.pay_deadline_str }} </dd><dt>Exchange transfer deadline:</dt><dd>{{ contract_terms.wire_transfer_deadline_str }} </dd><dt>Maximum deposit fee:</dt><dd>{{ contract_terms.max_fee }}</dd><dt>Maximum wire fee:</dt><dd>{{ contract_terms.max_wire_fee }}</dd><dt>Wire fee amortization:</dt><dd>{{ contract_terms.wire_fee_amortization }} transactions</dd></dl></section><section><h2>Refund information</h2><dl class="t2c81u8"><dt>Refund deadline:</dt><dd>{{ contract_terms.refund_deadline_str }} </dd>{{#contract_terms.auto_refund}}<dt>Attempt autorefund for:</dt><dd>{{ contract_terms.auto_refund_str }} </dd>{{/contract_terms.auto_refund}}</dl></section><section><h2>Additional order details</h2><dl class="t2c81u8"><dt>Public reorder URL:</dt><dd> -- not defined yet -- </dd>{{#contract_terms.fulfillment_url}}<dt>Fulfillment URL:</dt><dd>{{ contract_terms.fulfillment_url }}</dd>{{/contract_terms.fulfillment_url}}</dl></section><section><h2>Full merchant information</h2><dl class="t2c81u8"><dt>Merchant name:</dt><dd>{{ contract_terms.merchant.name }}</dd><dt>Merchant address:</dt>{{#contract_terms.merchant.address.building_name}}<dd>{{ contract_terms.merchant.address.building_name }} {{ contract_terms.merchant.address.building_number }}</dd>{{/contract_terms.merchant.address.building_name}}{{#contract_terms.merchant.address.country}}<dd>{{ contract_terms.merchant.address.country }} {{ contract_terms.merchant.address.country_subdivision }}</dd>{{/contract_terms.merchant.address.country}}{{#contract_terms.merchant.address.district}}<dd>{{ contract_terms.merchant.address.district }}</dd>{{/contract_terms.merchant.address.district}}{{#contract_terms.merchant.address.post_code}}<dd>{{ contract_terms.merchant.address.post_code }}</dd>{{/contract_terms.merchant.address.post_code}}{{#contract_terms.merchant.address.street}}<dd>{{ contract_terms.merchant.address.street }}</dd>{{/contract_terms.merchant.address.street}}{{#contract_terms.merchant.address.town}}<dd>{{ contract_terms.merchant.address.town }}</dd>{{/contract_terms.merchant.address.town}}{{#contract_terms.merchant.address.town_location}}<dd>{{ contract_terms.merchant.address.town_location }}</dd>{{/contract_terms.merchant.address.town_location}}<dt>Merchant's jurisdiction:</dt>{{#contract_terms.merchant.jurisdiction.building_name}}<dd>{{ contract_terms.merchant.jurisdiction.building_name }} {{ contract_terms.merchant.jurisdiction.building_number }}</dd>{{/contract_terms.merchant.jurisdiction.building_name}}{{#contract_terms.merchant.jurisdiction.country}}<dd>{{ contract_terms.merchant.jurisdiction.country }} {{ contract_terms.merchant.jurisdiction.country_subdivision }}</dd>{{/contract_terms.merchant.jurisdiction.country}}{{#contract_terms.merchant.jurisdiction.district}}<dd>{{ contract_terms.merchant.jurisdiction.district }}</dd>{{/contract_terms.merchant.jurisdiction.district}}{{#contract_terms.merchant.jurisdiction.post_code}}<dd>{{ contract_terms.merchant.jurisdiction.post_code }}</dd>{{/contract_terms.merchant.jurisdiction.post_code}}{{#contract_terms.merchant.jurisdiction.street}}<dd>{{ contract_terms.merchant.jurisdiction.street }}</dd>{{/contract_terms.merchant.jurisdiction.street}}{{#contract_terms.merchant.jurisdiction.town}}<dd>{{ contract_terms.merchant.jurisdiction.town }}</dd>{{/contract_terms.merchant.jurisdiction.town}}{{#contract_terms.merchant.jurisdiction.town_location}}<dd>{{ contract_terms.merchant.jurisdiction.town_location }}</dd>{{/contract_terms.merchant.jurisdiction.town_location}}<dt>Merchant URI:</dt><dd>{{ contract_terms.merchant_base_url }}</dd><dt>Merchant's public key:</dt><dd>{{ contract_terms.merchant_pub }}</dd></dl></section>{{#contract_terms.hasAuditors}}<section><h2>Auditors accepted by the merchant</h2><dl class="t2c81u8">{{#contract_terms.auditors}}<p>{{name}}</p><dt>Auditor's public key:</dt><dd>{{auditor_pub}}</dd><dt>Auditor's URL:</dt><dd>{{url}}</dd>{{/contract_terms.auditors}}</dl></section>{{/contract_terms.hasAuditors}}{{#contract_terms.hasExchanges}}<section><h2>Exchanges accepted by the merchant</h2><dl class="t2c81u8">{{#contract_terms.exchanges}}<dt>Exchange's URL:</dt><dd>{{url}}</dd><dt>Public key:</dt><dd>{{master_pub}}</dd>{{/contract_terms.exchanges}}</dl></section>{{/contract_terms.hasExchanges}}</section><footer class="fef0x5t"><p><a href="https://taler.net/">Learn more about GNU Taler on our website.</a><p>Copyright © 2014—2021 Taler Systems SA</p></p></footer></div>
+ <div class="p1b3vqup"><header><h1>Details of order {{ contract_terms.order_id }}</h1></header><section>{{#refund_amount}}<section><div class="i1pkgksb"><b>Refunded:</b> The merchant refunded you <b>{{ refund_amount }}</b>.</div></section>{{/refund_amount}}{{#contract_terms.fulfillment_message}}<section><div class="i1pkgksb"><b>{{ contract_terms.fulfillment_message }}</b>.</div></section>{{/contract_terms.fulfillment_message}}<section><dl class="t2c81u8"><dt>Order summary:</dt><dd>{{ contract_terms.summary }}</dd>{{#contract_terms.fulfillment_url}}<dt>Fulfillment URL:</dt><dd><a href="{{ contract_terms.fulfillment_url }}">{{ contract_terms.fulfillment_url }}</a></dd>{{/contract_terms.fulfillment_url}}<dt>Amount paid:</dt><dd>{{ contract_terms.amount }}</dd><dt>Order date:</dt><dd>{{ contract_terms.timestamp_str }} </dd><dt>Merchant name:</dt><dd>{{ contract_terms.merchant.name }}</dd></dl></section>{{#contract_terms.hasProducts}}<section><h2>Products purchased</h2><dl class="t1mav7fx">{{#contract_terms.products}}<p>{{description}}</p><dl><dt>Quantity:</dt><dd>{{quantity}}</dd><dt>Price:</dt><dd>{{price}}</dd>{{#hasTaxes}}{{#taxes}}<dt>{{name}}</dt><dd>{{tax}}</dd>{{/taxes}}{{/hasTaxes}}{{#delivery_date}}<dt>Delivered on:</dt><dd>{{ delivery_date_str }} </dd>{{/delivery_date}}{{#unit}}<dt>Product unit:</dt><dd>{{.}}</dd>{{/unit}}{{#product_id}}<dt>Product ID:</dt><dd>{{.}}</dd>{{/product_id}}</dl>{{/contract_terms.products}}</dl></section>{{/contract_terms.hasProducts}}{{#contract_terms.has_delivery_info}}<section><h2>Delivery information</h2><dl class="t2c81u8">{{#contract_terms.delivery_date}}<dt>Delivery date:</dt><dd>{{ contract_terms.delivery_date_str }} </dd>{{/contract_terms.delivery_date}}{{#contract_terms.delivery_location}}<dt>Delivery address:</dt>{{#contract_terms.delivery_location.building_name}}<dd>{{ contract_terms.delivery_location.building_name }} {{ contract_terms.delivery_location.building_number }}</dd>{{/contract_terms.delivery_location.building_name}}{{#contract_terms.delivery_location.country}}<dd>{{ contract_terms.delivery_location.country }} {{ contract_terms.delivery_location.country_subdivision }}</dd>{{/contract_terms.delivery_location.country}}{{#contract_terms.delivery_location.district}}<dd>{{ contract_terms.delivery_location.district }}</dd>{{/contract_terms.delivery_location.district}}{{#contract_terms.delivery_location.post_code}}<dd>{{ contract_terms.delivery_location.post_code }}</dd>{{/contract_terms.delivery_location.post_code}}{{#contract_terms.delivery_location.street}}<dd>{{ contract_terms.delivery_location.street }}</dd>{{/contract_terms.delivery_location.street}}{{#contract_terms.delivery_location.town}}<dd>{{ contract_terms.delivery_location.town }}</dd>{{/contract_terms.delivery_location.town}}{{#contract_terms.delivery_location.town_location}}<dd>{{ contract_terms.delivery_location.town_location }}</dd>{{/contract_terms.delivery_location.town_location}}{{/contract_terms.delivery_location}}</dl></section>{{/contract_terms.has_delivery_info}}<section><h2>Full payment information</h2><dl class="t2c81u8"><dt>Exchange transfer deadline:</dt>{{#contract_terms.wire_transfer_deadline_str}}<dd>{{ contract_terms.wire_transfer_deadline_str }} </dd>{{/contract_terms.wire_transfer_deadline_str}}{{^contract_terms.wire_transfer_deadline_str}}<dd>Wire transfer settled.</dd>{{/contract_terms.wire_transfer_deadline_str}}{{#contract_terms.max_fee}}<dt>Maximum deposit fee:</dt><dd>{{ contract_terms.max_fee }}</dd>{{/contract_terms.max_fee}}{{#contract_terms.max_wire_fee}}<dt>Maximum wire fee:</dt><dd>{{ contract_terms.max_wire_fee }}</dd>{{/contract_terms.max_wire_fee}}{{#contract_terms.wire_fee_amortization}}<dt>Wire fee amortization:</dt><dd>{{ contract_terms.wire_fee_amortization }} transactions</dd>{{/contract_terms.wire_fee_amortization}}</dl></section><section><h2>Refund information</h2><dl class="t2c81u8"><dt>Refund deadline:</dt><dd>{{ contract_terms.refund_deadline_str }} </dd>{{#contract_terms.auto_refund}}<dt>Attempt autorefund for:</dt><dd>{{ contract_terms.auto_refund_str }} </dd>{{/contract_terms.auto_refund}}</dl></section><section><h2>Additional order details</h2><dl class="t2c81u8"><dt>Public reorder URL:</dt><dd> -- not defined yet -- </dd>{{#contract_terms.fulfillment_url}}<dt>Fulfillment URL:</dt><dd>{{ contract_terms.fulfillment_url }}</dd>{{/contract_terms.fulfillment_url}}</dl></section><section><h2>Full merchant information</h2><dl class="t2c81u8"><dt>Merchant name:</dt><dd>{{ contract_terms.merchant.name }}</dd><dt>Merchant address:</dt>{{#contract_terms.merchant.address.building_name}}<dd>{{ contract_terms.merchant.address.building_name }} {{ contract_terms.merchant.address.building_number }}</dd>{{/contract_terms.merchant.address.building_name}}{{#contract_terms.merchant.address.country}}<dd>{{ contract_terms.merchant.address.country }} {{ contract_terms.merchant.address.country_subdivision }}</dd>{{/contract_terms.merchant.address.country}}{{#contract_terms.merchant.address.district}}<dd>{{ contract_terms.merchant.address.district }}</dd>{{/contract_terms.merchant.address.district}}{{#contract_terms.merchant.address.post_code}}<dd>{{ contract_terms.merchant.address.post_code }}</dd>{{/contract_terms.merchant.address.post_code}}{{#contract_terms.merchant.address.street}}<dd>{{ contract_terms.merchant.address.street }}</dd>{{/contract_terms.merchant.address.street}}{{#contract_terms.merchant.address.town}}<dd>{{ contract_terms.merchant.address.town }}</dd>{{/contract_terms.merchant.address.town}}{{#contract_terms.merchant.address.town_location}}<dd>{{ contract_terms.merchant.address.town_location }}</dd>{{/contract_terms.merchant.address.town_location}}<dt>Merchant's jurisdiction:</dt>{{#contract_terms.merchant.jurisdiction.building_name}}<dd>{{ contract_terms.merchant.jurisdiction.building_name }} {{ contract_terms.merchant.jurisdiction.building_number }}</dd>{{/contract_terms.merchant.jurisdiction.building_name}}{{#contract_terms.merchant.jurisdiction.country}}<dd>{{ contract_terms.merchant.jurisdiction.country }} {{ contract_terms.merchant.jurisdiction.country_subdivision }}</dd>{{/contract_terms.merchant.jurisdiction.country}}{{#contract_terms.merchant.jurisdiction.district}}<dd>{{ contract_terms.merchant.jurisdiction.district }}</dd>{{/contract_terms.merchant.jurisdiction.district}}{{#contract_terms.merchant.jurisdiction.post_code}}<dd>{{ contract_terms.merchant.jurisdiction.post_code }}</dd>{{/contract_terms.merchant.jurisdiction.post_code}}{{#contract_terms.merchant.jurisdiction.street}}<dd>{{ contract_terms.merchant.jurisdiction.street }}</dd>{{/contract_terms.merchant.jurisdiction.street}}{{#contract_terms.merchant.jurisdiction.town}}<dd>{{ contract_terms.merchant.jurisdiction.town }}</dd>{{/contract_terms.merchant.jurisdiction.town}}{{#contract_terms.merchant.jurisdiction.town_location}}<dd>{{ contract_terms.merchant.jurisdiction.town_location }}</dd>{{/contract_terms.merchant.jurisdiction.town_location}}<dt>Merchant URI:</dt><dd>{{ contract_terms.merchant_base_url }}</dd><dt>Merchant's public key:</dt><dd>{{ contract_terms.merchant_pub }}</dd></dl></section>{{#contract_terms.hasAuditors}}<section><h2>Auditors accepted by the merchant</h2><dl class="t2c81u8">{{#contract_terms.auditors}}<p>{{name}}</p><dt>Auditor's public key:</dt><dd>{{auditor_pub}}</dd><dt>Auditor's URL:</dt><dd>{{url}}</dd>{{/contract_terms.auditors}}</dl></section>{{/contract_terms.hasAuditors}}{{#contract_terms.hasExchanges}}<section><h2>Exchanges accepted by the merchant</h2><dl class="t2c81u8">{{#contract_terms.exchanges}}<dt>Exchange's URL:</dt><dd>{{url}}</dd><dt>Public key:</dt><dd>{{master_pub}}</dd>{{/contract_terms.exchanges}}</dl></section>{{/contract_terms.hasExchanges}}</section><footer class="fef0x5t"><p><a href="https://taler.net/">Learn more about GNU Taler on our website.</a><p>Copyright © 2014—2021 Taler Systems SA</p></p></footer></div>
<script>"use strict";
var page = (() => {
var __defProp = Object.defineProperty;
@@ -4457,10 +4457,7 @@ var page = (() => {
}), /* @__PURE__ */ h3("meta", {
name: "viewport",
content: "width=device-width, initial-scale=1.0"
- }), /* @__PURE__ */ h3("noscript", null, /* @__PURE__ */ h3("meta", {
- "http-equiv": "refresh",
- content: "1"
- })), /* @__PURE__ */ h3("title", null, "Status of your order for", " ", order_summary ? order_summary : `{{ order_summary }}`), /* @__PURE__ */ h3("script", null, `
+ }), /* @__PURE__ */ h3("title", null, "Status of your order for", " ", order_summary ? order_summary : `{{ order_summary }}`), /* @__PURE__ */ h3("script", null, `
var contractTermsStr = '{{{contract_terms_json}}}';
`));
}
@@ -4483,7 +4480,7 @@ var page = (() => {
const hasDeliveryInfo = btr || !!(contract_terms == null ? void 0 : contract_terms.delivery_date) || !!(contract_terms == null ? void 0 : contract_terms.delivery_location);
return /* @__PURE__ */ h3(Page, null, /* @__PURE__ */ h3("header", null, /* @__PURE__ */ h3("h1", null, "Details of order", " ", (contract_terms == null ? void 0 : contract_terms.order_id) || `{{ contract_terms.order_id }}`)), /* @__PURE__ */ h3("section", null, btr && `{{#refund_amount}}`, (btr || refund_amount) && /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3(InfoBox, null, /* @__PURE__ */ h3("b", null, "Refunded:"), " The merchant refunded you", " ", /* @__PURE__ */ h3("b", null, refund_amount || `{{ refund_amount }}`), ".")), btr && `{{/refund_amount}}`, btr && `{{#contract_terms.fulfillment_message}}`, (btr || (contract_terms == null ? void 0 : contract_terms.fulfillment_message)) && /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3(InfoBox, null, /* @__PURE__ */ h3("b", null, (contract_terms == null ? void 0 : contract_terms.fulfillment_message) || `{{ contract_terms.fulfillment_message }}`), ".")), btr && `{{/contract_terms.fulfillment_message}}`, /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Order summary:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.summary) || `{{ contract_terms.summary }}`), btr && `{{#contract_terms.fulfillment_url}}`, /* @__PURE__ */ h3("dt", null, "Fulfillment URL:"), /* @__PURE__ */ h3("dd", null, /* @__PURE__ */ h3("a", {
href: (contract_terms == null ? void 0 : contract_terms.fulfillment_url) || `{{ contract_terms.fulfillment_url }}`
- }, (contract_terms == null ? void 0 : contract_terms.fulfillment_url) || `{{ contract_terms.fulfillment_url }}`)), btr && `{{/contract_terms.fulfillment_url}}`, /* @__PURE__ */ h3("dt", null, "Amount paid:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.amount) || `{{ contract_terms.amount }}`), /* @__PURE__ */ h3("dt", null, "Order date:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.timestamp) ? (contract_terms == null ? void 0 : contract_terms.timestamp.t_s) != "never" ? format(contract_terms == null ? void 0 : contract_terms.timestamp.t_s, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.timestamp_str }}`, " "), /* @__PURE__ */ h3("dt", null, "Merchant name:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.merchant.name) || `{{ contract_terms.merchant.name }}`))), btr && `{{#contract_terms.hasProducts}}`, !productList.length ? null : /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Products purchased"), /* @__PURE__ */ h3(TableSimple, null, btr && "{{#contract_terms.products}}", productList.map((p4, i5) => {
+ }, (contract_terms == null ? void 0 : contract_terms.fulfillment_url) || `{{ contract_terms.fulfillment_url }}`)), btr && `{{/contract_terms.fulfillment_url}}`, /* @__PURE__ */ h3("dt", null, "Amount paid:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.amount) || `{{ contract_terms.amount }}`), /* @__PURE__ */ h3("dt", null, "Order date:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.timestamp) ? (contract_terms == null ? void 0 : contract_terms.timestamp.t_s) != "never" ? format((contract_terms == null ? void 0 : contract_terms.timestamp.t_s) * 1e3, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.timestamp_str }}`, " "), /* @__PURE__ */ h3("dt", null, "Merchant name:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.merchant.name) || `{{ contract_terms.merchant.name }}`))), btr && `{{#contract_terms.hasProducts}}`, !productList.length ? null : /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Products purchased"), /* @__PURE__ */ h3(TableSimple, null, btr && "{{#contract_terms.products}}", productList.map((p4, i5) => {
const taxList = btr ? [{}] : p4.taxes || [];
return /* @__PURE__ */ h3(p, {
key: i5
@@ -4496,7 +4493,7 @@ var page = (() => {
btr,
location: contract_terms == null ? void 0 : contract_terms.delivery_location,
templateName: "contract_terms.delivery_location"
- })), btr && `{{/contract_terms.delivery_location}}`)), btr && `{{/contract_terms.has_delivery_info}}`, /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Full payment information"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Amount paid:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.amount) || `{{ contract_terms.amount }}`), /* @__PURE__ */ h3("dt", null, "Wire transfer method:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.wire_method) || `{{ contract_terms.wire_method }}`), /* @__PURE__ */ h3("dt", null, "Payment deadline:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.pay_deadline) ? (contract_terms == null ? void 0 : contract_terms.pay_deadline.t_s) != "never" ? format(contract_terms == null ? void 0 : contract_terms.pay_deadline.t_s, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.pay_deadline_str }}`, " "), /* @__PURE__ */ h3("dt", null, "Exchange transfer deadline:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline) ? (contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline.t_s) != "never" ? format(contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline.t_s, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.wire_transfer_deadline_str }}`, " "), /* @__PURE__ */ h3("dt", null, "Maximum deposit fee:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.max_fee) || `{{ contract_terms.max_fee }}`), /* @__PURE__ */ h3("dt", null, "Maximum wire fee:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.max_wire_fee) || `{{ contract_terms.max_wire_fee }}`), /* @__PURE__ */ h3("dt", null, "Wire fee amortization:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.wire_fee_amortization) || `{{ contract_terms.wire_fee_amortization }}`, " ", "transactions"))), /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Refund information"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Refund deadline:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.refund_deadline) ? (contract_terms == null ? void 0 : contract_terms.refund_deadline.t_s) != "never" ? format(contract_terms == null ? void 0 : contract_terms.refund_deadline.t_s, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.refund_deadline_str }}`, " "), btr && `{{#contract_terms.auto_refund}}`, (btr || (contract_terms == null ? void 0 : contract_terms.auto_refund)) && /* @__PURE__ */ h3(p, null, /* @__PURE__ */ h3("dt", null, "Attempt autorefund for:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.auto_refund) ? (contract_terms == null ? void 0 : contract_terms.auto_refund.d_us) != "forever" ? formatDuration(intervalToDuration({
+ })), btr && `{{/contract_terms.delivery_location}}`)), btr && `{{/contract_terms.has_delivery_info}}`, /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Full payment information"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Exchange transfer deadline:"), btr && `{{#contract_terms.wire_transfer_deadline_str}}`, /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline) ? (contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline.t_s) != "never" ? format((contract_terms == null ? void 0 : contract_terms.wire_transfer_deadline.t_s) * 1e3, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.wire_transfer_deadline_str }}`, " "), btr && `{{/contract_terms.wire_transfer_deadline_str}}`, btr && `{{^contract_terms.wire_transfer_deadline_str}}`, /* @__PURE__ */ h3("dd", null, "Wire transfer settled."), btr && `{{/contract_terms.wire_transfer_deadline_str}}`, btr && `{{#contract_terms.max_fee}}`, /* @__PURE__ */ h3("dt", null, "Maximum deposit fee:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.max_fee) || `{{ contract_terms.max_fee }}`), btr && `{{/contract_terms.max_fee}}`, btr && `{{#contract_terms.max_wire_fee}}`, /* @__PURE__ */ h3("dt", null, "Maximum wire fee:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.max_wire_fee) || `{{ contract_terms.max_wire_fee }}`), btr && `{{/contract_terms.max_wire_fee}}`, btr && `{{#contract_terms.wire_fee_amortization}}`, /* @__PURE__ */ h3("dt", null, "Wire fee amortization:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.wire_fee_amortization) || `{{ contract_terms.wire_fee_amortization }}`, " ", "transactions"), btr && `{{/contract_terms.wire_fee_amortization}}`)), /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Refund information"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Refund deadline:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.refund_deadline) ? (contract_terms == null ? void 0 : contract_terms.refund_deadline.t_s) != "never" ? format((contract_terms == null ? void 0 : contract_terms.refund_deadline.t_s) * 1e3, "dd MMM yyyy HH:mm:ss") : "never" : `{{ contract_terms.refund_deadline_str }}`, " "), btr && `{{#contract_terms.auto_refund}}`, (btr || (contract_terms == null ? void 0 : contract_terms.auto_refund)) && /* @__PURE__ */ h3(p, null, /* @__PURE__ */ h3("dt", null, "Attempt autorefund for:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.auto_refund) ? (contract_terms == null ? void 0 : contract_terms.auto_refund.d_us) != "forever" ? formatDuration(intervalToDuration({
start: 0,
end: contract_terms == null ? void 0 : contract_terms.auto_refund.d_us
})) : "forever" : `{{ contract_terms.auto_refund_str }}`, " ")), btr && `{{/contract_terms.auto_refund}}`)), /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Additional order details"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Public reorder URL:"), /* @__PURE__ */ h3("dd", null, " -- not defined yet -- "), btr && `{{#contract_terms.fulfillment_url}}`, (btr || (contract_terms == null ? void 0 : contract_terms.fulfillment_url)) && /* @__PURE__ */ h3(p, null, /* @__PURE__ */ h3("dt", null, "Fulfillment URL:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.fulfillment_url) || btr && `{{ contract_terms.fulfillment_url }}`)), btr && `{{/contract_terms.fulfillment_url}}`)), /* @__PURE__ */ h3("section", null, /* @__PURE__ */ h3("h2", null, "Full merchant information"), /* @__PURE__ */ h3(TableExpanded, null, /* @__PURE__ */ h3("dt", null, "Merchant name:"), /* @__PURE__ */ h3("dd", null, (contract_terms == null ? void 0 : contract_terms.merchant.name) || `{{ contract_terms.merchant.name }}`), /* @__PURE__ */ h3("dt", null, "Merchant address:"), /* @__PURE__ */ h3(Location, {