[EDIT]支出分析画面を追記し、作成しました。

This commit is contained in:
2026-09-17 15:48:17 +09:00
parent 2dad64ab10
commit cbaee01d13

View File

@@ -20,8 +20,8 @@
<tbody>
<tr>
<th scope="row">総支出</th>
<td>¥234,000</td>
<td>+¥38,000</td>
<td th:text="'¥' + ${analysisForm.currentMonthTotalAmount}">0</td>
<td th:text="'¥' + ${analysisForm.totalDifferenceAmount}">0</td>
</tr>
</tbody>
</table>
@@ -33,24 +33,32 @@
<tr>
<th scope="col">カテゴリ別</th>
<th scope="col">支出</th>
<th scope="col">前月比<br>コース比</th>
<th scope="col">
前月比
<br>
コース比
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">食費</th>
<td>¥34,000</td>
<td>+¥8,000<br>+¥1,100</td>
</tr>
<tr>
<th scope="row">交通費</th>
<td>¥14,000</td>
<td>+¥8,000<br>+¥1,100</td>
</tr>
<tr>
<th scope="row">日用品</th>
<td>¥4,000</td>
<td>+¥8,000<br>+¥1,100</td>
<tr th:each="category : ${analysisForm.categoryAnalysisFormList}">
<th scope="row"
th;text="${category.categoryName}">
食費
</th>
<td th:text="'¥' + ${category.currentMonthAmount}">
0
</td>
<td>
<span th:text="'¥' + ${category.monthDifferenceAmount}">
</span>
<br>
<span th:text="'¥' + ${category.courseDifferenceAmount}">
</span>
</td>
</tr>
</tbody>
</table>