Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% financialscheduledtransaction where:'Guid == "{{PageParameter.ScheduledTransactionGuid}}"' securityenabled:'false'%}
- {% if financialscheduledtransaction.Status == "Failed" %} <div id="scheduleFailing" class="alert alert-danger alert-message">
- <div class="d-flex align-items-center"> <i class="fa fa-exclamation-triangle fa-2x mr-2"></i>
- <div>
- <div class="alert-message-heading mb-0"><strong>Schedule Failing</strong> </div>
- {% assign hasDeclinedTrans = false %}
- {% assign transactions = financialscheduledtransaction.Transactions | OrderBy: 'CreatedDateTime desc' %}
- {% assign schedulePaymentCreatedAt = financialscheduledtransaction.FinancialPaymentDetail.CreatedDateTime %}
- {{scheduleModifiedDateTime}}
- {% for trans in transactions limit:1 %}
- {% assign status = trans.Status %}
- {% if status == "DECLINED" or status == "UNKNOWN" or status == "REVERSED" or status == "LATE_RETURN" or status ==
- "RETURNED" %}
- {% assign hasDeclinedTrans = true %}
- <p style="text-transform: none; font-size: 12px"> {{ trans.Status }} <strong>·</strong> {{trans.StatusMessage}} </p>
- {% endif %}
- {% endfor %}
- </div>
- </div>
- <p class="js-notification-text; {% if hasDeclinedTrans == false %} mt-3 {% endif %}" style="text-transform: none;">
- The most recent transaction for the schedule below has failed. The users will need to edit the schedule and update the payment method.</p>
- </div>
- {% endif %}
- {% endfinancialscheduledtransaction %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement