View Transaction page visual tweaks
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
jChenvan 2025-07-10 16:16:19 -04:00
parent b6e82256c0
commit e3029fcb23
2 changed files with 14 additions and 14 deletions

View File

@ -130,7 +130,7 @@ label {
} }
td.amount-cell { td.amount-cell {
text-align: right; text-align: left;
} }
/* Version display */ /* Version display */

View File

@ -135,15 +135,15 @@
<table class="table table-bordered"> <table class="table table-bordered">
<tbody> <tbody>
<tr> <tr>
<th style="width: 20%;">Transaction Type:</th> <td style="width: 20%;">Transaction Type</td>
<td>{{ transaction['transaction_type'] }}</td> <td>{{ transaction['transaction_type'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Company/Division:</th> <td>Company/Division</td>
<td>{{ transaction['company_division'] }}</td> <td>{{ transaction['company_division'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Address:</th> <td>Address</td>
<td> <td>
{{ transaction['address_1'] }}<br> {{ transaction['address_1'] }}<br>
{% if transaction['address_2'] %}{{ transaction['address_2'] }}<br>{% endif %} {% if transaction['address_2'] %}{{ transaction['address_2'] }}<br>{% endif %}
@ -152,43 +152,43 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<th>Primary:</th> <td>Primary</td>
<td>{{ 'Yes' if transaction['is_primary'] else 'No' }}</td> <td>{{ 'Yes' if transaction['is_primary'] else 'No' }}</td>
</tr> </tr>
<tr> <tr>
<th>Source Date:</th> <td>Source Date</td>
<td>{{ transaction['source_date'].strftime('%Y-%m-%d') if transaction['source_date'] else 'N/A' }}</td> <td>{{ transaction['source_date'].strftime('%Y-%m-%d') if transaction['source_date'] else 'N/A' }}</td>
</tr> </tr>
<tr> <tr>
<th>Source Description:</th> <td>Source Description</td>
<td>{{ transaction['source_description'] }}</td> <td>{{ transaction['source_description'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Grant Type:</th> <td>Grant Type</td>
<td>{{ transaction['grant_type'] }}</td> <td>{{ transaction['grant_type'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Description:</th> <td>Description</td>
<td>{{ transaction['description'] }}</td> <td>{{ transaction['description'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Amount:</th> <td>Amount</td>
<td class="amount-cell"><span class="currency-value">{{ transaction['amount']|currency }}</span></td> <td class="amount-cell"><span class="currency-value">{{ transaction['amount']|currency }}</span></td>
</tr> </tr>
<tr> <tr>
<th>Recipient:</th> <td>Recipient</td>
<td>{{ transaction['recipient'] }}</td> <td>{{ transaction['recipient'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Commodity Class:</th> <td>Commodity Class</td>
<td>{{ transaction['commodity_class'] }}</td> <td>{{ transaction['commodity_class'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Contract Number:</th> <td>Contract Number</td>
<td>{{ transaction['contract_number'] }}</td> <td>{{ transaction['contract_number'] }}</td>
</tr> </tr>
<tr> <tr>
<th>Comments:</th> <td>Comments</td>
<td>{{ transaction['comments'] }}</td> <td>{{ transaction['comments'] }}</td>
</tr> </tr>
</tbody> </tbody>