Files
njts-accounting-core/frontend/opening_balance.html
2025-12-14 23:54:48 +09:00

49 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>期首残高入力</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<h1>期首残高入力</h1>
<label>
会計年度:
<input type="number" id="fiscalYear" value="2025" />
</label>
<button onclick="loadOpeningBalances()">読込</button>
<br /><br />
<table id="balanceTable">
<thead>
<tr>
<th>科目コード</th>
<th>科目名</th>
<th>借方期首</th>
<th>贷方期首</th>
</tr>
</thead>
<tbody></tbody>
</table>
<br />
<div>
<strong>借方合計:</strong><span id="totalDebit">0</span><br />
<strong>贷方合計:</strong><span id="totalCredit">0</span><br />
<strong>差額:</strong><span id="diff">0</span>
</div>
<br />
<button onclick="saveOpeningBalances()">保存</button>
<a href="index.html">← 戻る</a>
<script src="js/api.js"></script>
<script src="js/opening_balance.js"></script>
</body>
</html>
s