Skip to content

Commit

Permalink
#1295 show customer balanse alongside recent cancellations
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Feb 10, 2024
1 parent da3609f commit 795e21f
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ <h2 class="text-center text-dark mb-3">Recent Subscription Cancellations</h2>
<p>
Be sure to click the subscriber name to investigate further, since they may have since signed-up to a new, or different plan.
</p>
<h3>Total Collected &amp; Monies Owed</h3>
<p><em>"Total Collected"</em> is the total collected from that Subscriber <em>all time</em> accross <em>all</em> their subscriptions.</p>
<p><em>"Monies owed"</em> is the amount not collected, for instance due to insufficient funds accross <em>all</em> the Subscriber's account.
<br />To investigate further, click a Subscribers name.</p>

<p>Please note: 'Monies owed' is a guide: Subscribie isn't aware of payments if they are made outside of this system (such as cash).</p>


<h3>Reason Code</h3>
<ul style="list-style: disc">
Expand All @@ -39,6 +46,8 @@ <h3>Reason Code</h3>
<th>Subscription</th>
<th>Cancellation Date</th>
<th>Reason</th>
<th>Total Collected</th>
<th>Monies Owed</th>
</tr>
</thead>
<tbody>
Expand All @@ -57,6 +66,12 @@ <h3>Reason Code</h3>
<td>
{{ cancellation['cancellation_reason'] }}
</td>
<td>
{{ currencyFormat(get_geo_currency_code(), cancellation['person'].balance(skipFetchDeclineCode=True)['total_collected']) }}
</td>
<td>
{{ currencyFormat(get_geo_currency_code(), cancellation['person'].balance(skipFetchDeclineCode=True)['customer_balance']) }}
</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 795e21f

Please sign in to comment.