Configure defaults, payments, and transactional emails.
| Code | Type | Value | Usage | Expires | Status | Action |
|---|---|---|---|---|---|---|
| = htmlspecialchars((string)($d['code'] ?? ''), ENT_QUOTES, 'UTF-8') ?> | = htmlspecialchars((string)($d['discount_type'] ?? ''), ENT_QUOTES, 'UTF-8') ?> | = number_format((float)($d['discount_value'] ?? 0), 2) ?> | = (int)($d['used_count'] ?? 0) ?>/= (int)($d['max_uses'] ?? 0) === 0 ? 'INF' : (int)($d['max_uses'] ?? 0) ?> | = htmlspecialchars((string)($d['expires_at'] ?? 'No expiry'), ENT_QUOTES, 'UTF-8') ?> | = (int)($d['is_active'] ?? 0) === 1 ? 'active' : 'off' ?> |
| # | Item | Units | Revenue | Window |
|---|---|---|---|---|
| = (int)($row['rank_no'] ?? 0) ?> | = htmlspecialchars((string)($row['item_label'] ?? ''), ENT_QUOTES, 'UTF-8') ?> | = (int)($row['units'] ?? 0) ?> | = htmlspecialchars((string)($settings['store_currency'] ?? 'GBP'), ENT_QUOTES, 'UTF-8') ?> = number_format((float)($row['revenue'] ?? 0), 2) ?> | = htmlspecialchars((string)($row['snapshot_from'] ?? 'all'), ENT_QUOTES, 'UTF-8') ?> -> = htmlspecialchars((string)($row['snapshot_to'] ?? ''), ENT_QUOTES, 'UTF-8') ?> |