diff --git a/frontend/journal-entry.html b/frontend/journal-entry.html
index 77302d8..de765ee 100644
--- a/frontend/journal-entry.html
+++ b/frontend/journal-entry.html
@@ -56,7 +56,11 @@
}
@media print {
@page {
- margin: 20mm;
+ margin: 20mm 20mm 25mm 20mm;
+ @bottom-center {
+ content: "ページ " counter(page);
+ font-size: 0.75em;
+ }
}
body * {
visibility: hidden;
@@ -90,11 +94,7 @@
text-align: right;
}
.page-number {
- display: block;
- text-align: center;
- margin-top: 10px;
- font-size: 0.9em;
- color: #666;
+ display: none !important;
}
#printArea table {
font-size: 0.85em;
@@ -1181,7 +1181,7 @@
const conditionsText =
conditions.length > 0 ? conditions.join(" | ") : "検索条件: すべて";
- // 月ごとにテーブルを生成(印刷用)
+ // 月ごとにテーブルを生成(印刷用)
Object.keys(monthGroups)
.sort()
.forEach((month, index) => {
@@ -1200,13 +1200,15 @@
}
section.innerHTML = `
-
仕訳検索結果
-
+
+ | 仕訳検索結果 |
+
+
+ | ${conditionsText} |
+ ${monthDisplay} |
+
| 日付 |
摘要 |
@@ -1365,13 +1367,15 @@
}
section.innerHTML = `
- 仕訳検索結果
-
+
+ | 仕訳検索結果 |
+
+
+ | ${conditionsText} |
+ ${monthDisplay} |
+
| 日付 |
摘要 |