Add problem report for CORE phone numbers too long

This commit is contained in:
Lance Edgar 2023-09-02 13:48:48 -05:00
parent 2af89f2cbf
commit 66d1cdd0a9
3 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1,19 @@
## -*- coding: utf-8; -*-
<%inherit file="/base_problems.html.mako" />
<%def name="summary()">
<p>
There are ${len(problems)} member records which have a phone
number that is too long to properly fit in the `Customers`
table.&nbsp; Please investigate and fix at your convenience.
</p>
</%def>
<%def name="simple_row(member, i)">
<tr>
<td>${member.card_number}</td>
<td>${member.phone}</td>
</tr>
</%def>
${self.simple_table(["Card #", "Phone Number"])}