fix(admin): shorten the receipt letter, show the account id
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 23s
CI / ui (pull_request) Successful in 1m16s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m49s
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 23s
CI / ui (pull_request) Successful in 1m16s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m49s
The receipt letter repeated what the receipt itself states. It now carries the amount, the moment of payment with its offset, and the link — the receipt is the document, and it opens without authentication, so there is nothing for the two to disagree about. Subject reworded to name what it is. The ledger and tax-export tables labelled the account link "card", meaning the user card. On pages about payments that reads as a bank card, which is exactly how it was misread. Both now show the first eight characters of the account id, so the column carries data — two rows from the same buyer are visible at a glance — while the link still holds the whole id.
This commit is contained in:
@@ -40,7 +40,7 @@ Money in: {{range .Totals.MoneyIn}}<strong>{{.}}</strong> {{else}}<span class="n
|
||||
{{range .Rows}}
|
||||
<tr>
|
||||
<td>{{.At}}</td>
|
||||
<td><a href="/_gm/users/{{.AccountID}}">card</a></td>
|
||||
<td><a href="/_gm/users/{{.AccountID}}"><code>{{.AccountShort}}</code></a></td>
|
||||
<td>{{.Kind}}</td>
|
||||
<td>{{.Money}}</td>
|
||||
<td>{{.ChipsDelta}}</td>
|
||||
|
||||
@@ -79,7 +79,7 @@ created; entering a receipt number means you filed it by hand.</p>
|
||||
<tbody>
|
||||
{{range .Cancels}}
|
||||
<tr>
|
||||
<td><a href="/_gm/users/{{.AccountID}}">card</a></td>
|
||||
<td><a href="/_gm/users/{{.AccountID}}"><code>{{.AccountShort}}</code></a></td>
|
||||
<td><code>{{.ReceiptUUID}}</code></td>
|
||||
<td>{{if .Failed}}<span class="note">a previous attempt was refused</span>{{else}}awaiting{{end}}</td>
|
||||
</tr>
|
||||
@@ -96,7 +96,7 @@ created; entering a receipt number means you filed it by hand.</p>
|
||||
{{range .Owed}}
|
||||
<tr>
|
||||
<td>{{.At}}</td>
|
||||
<td><a href="/_gm/users/{{.AccountID}}">card</a></td>
|
||||
<td><a href="/_gm/users/{{.AccountID}}"><code>{{.AccountShort}}</code></a></td>
|
||||
<td class="num">{{.Amount}}</td>
|
||||
<td><code>{{.Name}}</code></td>
|
||||
<td class="num">{{.Attempts}}</td>
|
||||
|
||||
Reference in New Issue
Block a user