Requested Date | Effective Date | Bundle Name | Event Type | Details | Reason Code / Comments | Actions |
---|---|---|---|---|---|---|
<% if invoice.invoice_date.present? %> <%= invoice.invoice_date %> <% else %> [unknown] <% end %> | <% if invoice.target_date.present? %> <%= invoice.target_date %> <% else %> [unknown] <% end %> |
<% if invoice_stub.bundle_keys.present? %>
<% invoice_stub.bundle_keys.split(",").each do |bundle_key| %>
<%= link_to @bundle_names[bundle_key], Kaui.bundle_home_path.call(bundle_key) %> <% end %> <% end %> |
<%= "INVOICE" %> |
<%= "Amount:" %> <%= humanized_money_with_symbol invoice.amount_to_money(@account.currency) %> (<%= @account.currency %>) <%= "Balance:" %> <%= humanized_money_with_symbol invoice.balance_to_money(@account.currency) %> (<%= @account.currency %>) <% if invoice.credit_adjustment.present? && invoice.credit_adjustment > 0 %> <%= "Credit adjustment:" %> <%= humanized_money_with_symbol invoice.credit_adjustment_to_money(@account.currency) %> (<%= @account.currency %>) <% end %> <% if invoice.credit_balance_adjustment.present? && invoice.credit_balance_adjustment > 0 %> <%= "Credit balance adjustment:" %> <%= humanized_money_with_symbol invoice.credit_balance_adjustment_to_money(@account.currency) %> (<%= @account.currency %>) <% end %> <% if invoice.refund_adjustment.present? && invoice.refund_adjustment < 0 %> <%= "Refund adjustment:" %> <%= humanized_money_with_symbol invoice.refund_adjustment_to_money(@account.currency) %> (<%= @account.currency %>) <% end %> <%= "Invoice #" %> <%= link_to invoice.invoice_number, invoice_path(:id => invoice.invoice_id) %> |
<% if invoice_stub.audit_logs.present? %>
<% invoice_stub.audit_logs.each do |entry| %>
<%= entry.description unless entry.changed_by == 'Transition' %> <% end %> <% end %> |
|
<% if refund.requested_date.present? %> <%= format_date(refund.requested_date).html_safe %> <% else %> [unknown] <% end %> | <% if refund.effective_date.present? %> <%= format_date(refund.effective_date).html_safe %> <% else %> [unknown] <% end %> |
<% payment.bundle_keys.split(",").each do |bundle_key| %>
<%= link_to @bundle_names[bundle_key], Kaui.bundle_home_path.call(bundle_key) %> <% end %> |
<%= "REFUND" %> |
<%= "Adjusted:" %> <% if refund.adjusted %>yes<% else %>no<% end %> <%= "Payment id:" %> <%= refund.payment_id %> <%= "Refund Amount:" %> <%= humanized_money_with_symbol refund.amount_to_money %> (<%= refund.currency %>) |
<% if refund.audit_logs.present? %>
<%= refund.audit_logs[0].description %> <% end %> |
|
<% if chargeback.effective_date.present? %> <%= format_date(chargeback.effective_date).html_safe %> <% else %> [unknown] <% end %> | <% if chargeback.effective_date.present? %> <%= format_date(chargeback.effective_date).html_safe %> <% else %> [unknown] <% end %> |
<% payment.bundle_keys.split(",").each do |bundle_key| %>
<%= link_to @bundle_names[bundle_key], Kaui.bundle_home_path.call(bundle_key) %> <% end %> |
<%= "CHARGEBACK" %> |
<%= "Payment id:" %> <%= chargeback.payment_id %> <%= "Chargeback Amount:" %> <%= humanized_money_with_symbol chargeback.chargeback_amount_to_money(payment.currency) %> (<%= payment.currency %>) |
<% if chargeback.audit_logs.present? %>
<%= chargeback.audit_logs[0].description %> <% end %> |
<% end %> <% end %> <% @timeline.payments.each do |payment| %> <% if payment.bundle_keys.present? %> <% bundles = payment.bundle_keys.split(",").map {|bundle_key| @bundle_names[bundle_key] }.join(",") %> <% end %> <% if payment.invoice_id.present? %> <% invoice = @invoices_by_id[payment.invoice_id] %> <% else %> <% invoice = nil %> <% end %> |
<% if payment.requested_date.present? %> <%= format_date(payment.requested_date).html_safe %> <% else %> [unknown] <% end %> | <% if payment.effective_date.present? %> <%= format_date(payment.effective_date).html_safe %> <% else %> [unknown] <% end %> |
<% payment.bundle_keys.split(",").each do |bundle_key| %>
<%= link_to @bundle_names[bundle_key], Kaui.bundle_home_path.call(bundle_key) %> <% end %> |
<%= "PAYMENT" %> |
<%= "Payment id:" %> <%= payment.payment_id %> <%= "Total amount:" %> <%= humanized_money_with_symbol payment.amount_to_money %> (<%= payment.currency %>) <%= "Paid amount:" %> <%= humanized_money_with_symbol payment.paid_amount_to_money %> (<%= payment.currency %>) class="alert-error" <% elsif payment.status == 'SUCCESS' %>class="alert-success" <% end %>> <%= payment.status %> <%= "Invoice #" %> <%= link_to invoice.invoice_number, invoice_path(:id => invoice.invoice_id) %> |
<% if payment.audit_logs.present? %>
<% payment.audit_logs.each do |entry| %>
<%= entry.description unless entry.changed_by == 'PaymentRequestProcessor' %> <% end %> <% end %> |
|
<% if event.requested_date.present? %> <%= format_date(event.requested_date).html_safe %> <% else %> [unknown] <% end %> | <% if event.effective_date.present? %> <%= format_date(event.effective_date).html_safe %> <% else %> [unknown] <% end %> |
<%= link_to @bundle_names[bundle.external_key], Kaui.bundle_home_path.call(bundle.external_key) %> |
<%= event.event_type %> | <%= event.product %> <%= event.billing_period == 'NO_BILLING_PERIOD' || event.billing_period.nil? ? "" : event.billing_period.downcase.capitalize %> <%= event.phase.downcase.capitalize if event.phase.present? %> |
<% if event.audit_logs.present? %>
<% event.audit_logs.each do |entry| %>
<%= entry.description %> <% end %> <% end %> |