...
Code Block | ||
---|---|---|
| ||
<HtmlReceiptTemplate><![CDATA[ <html> <head></head> <body> <header> <img class="center" src="https://hndpt.co/34r676D"/> {% if ($MERCHANT_NAME) %} <div> <p class="large bold center">{$MERCHANT_NAME}</p> </div> {% endif %} {% if ($MERCHANT_LOCATION) %} <div> <p class="center">{$MERCHANT_LOCATION}</p> </div> {% endif %} <div class="separator solid" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% if ($DATETIME) %} <div> <label class="left">{$DATETIME|date}</label> <span class="right">{$DATETIME|time}</span> </div> {% endif %} </header> <main> {% if ($RESPONSE) %} <div> <p class="large bold center">{$RESPONSE}</p> </div> {% endif %} {% if ($TXN_TYPE) %} <div> <p class="large bold center">{$TXN_TYPE}</p> </div> {% endif %} {% if ($AMOUNT) %} <div> <p class="xlarge bold center">{$AMOUNT|currency($CURRENCY)}</p> </div> {% endif %} <div class="separator dotted" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% if ($MID) %} <div> <label class="left bold">MID</label> <span class="right">{$MID}</span> </div> {% endif %} {% if ($TID) %} <div> <label class="left bold">TID</label> <span class="right">{$TID}</span> </div> {% endif %} {% if ($CARD_NUMBER) %} <div> <label class="left bold">{$APP_LABEL}</label> <span class="right">{$CARD_NUMBER}</span> </div> {% endif %} {% if ($ENTRY) %} <div> <label class="left bold">ENTRY MODE</label> <span class="right">{$ENTRY}</span> </div> {% endif %} {% if ($CVM) %} <div> <label class="left bold">CVM</label> <span class="right">{$CVM}</span> </div> {% endif %} {% if ($AUTH_CODE) %} <div> <label class="left bold">AUTH CODE</label> <span class="right">{$AUTH_CODE}</span> </div> {% endif %} <div class="separator dotted" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% if ($REFERENCE) %} <div> <p class="left bold">GUID</p> </div> <div> <p class="small left">{$REFERENCE}</p> </div> {% endif %} <div class="separator dotted" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% if ($RECEIPT_TYPE_DESCRIPTION) %} <div> <p class="center">{$RECEIPT_TYPE_DESCRIPTION}</p> </div> {% endif %} <div class="separator solid" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% if ($AID || $TVR || $IAD || $TSI || $ARC) %} <div> <p class="center bold">EMV DETAILS</p> </div> {% endif %} {% if ($AID) %} <div> <label class="small left bold">AID</label> <span class="left">{$AID}</span> </div> {% endif %} {% if ($TVR) %} <div> <label class="small left bold">TVR</label> <span class="left">{$TVR}</span> </div> {% endif %} {% if ($IAD) %} <div> <label class="small left bold">IAD</label> <span class="left">{$IAD}</span> </div> {% endif %} {% if ($TSI) %} <div> <label class="small left bold">TSI</label> <span class="left">{$TSI}</span> </div> {% endif %} {% if ($ARC) %} <div> <label class="small left bold">ARC</label> <span class="left">{$ARC}</span> </div> {% endif %} {% if ($AID || $TVR || $IAD || $TSI || $ARC) %} <div class="separator solid" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% endif %} </main> <footer> {% if ($SUCCESS_RESPONSE != 1) %} <div> <p class="large center">{$ERROR_MESSAGE}</p> </div> <div class="separator solid" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% endif %} <div class="separator" style="margin-top: 20px; margin-bottom: 20px;"></div> {% if ($SIGNATURE ) %} <div> <img class="center" src="{$SIGNATURE}"/> </div> <div class="separator solid" style="margin-top: 10px; height: 2px; margin-bottom: 10px;"></div> {% endif %} </footer> </body> </html> ]]> </HtmlReceiptTemplate> |
...