64 lines
1.4 KiB
HTML
64 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="ja">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<script src="js/auth.js"></script>
|
|
<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>
|
|
<button
|
|
onclick="location.href = 'trial-balance.html'"
|
|
class="back-button"
|
|
style="
|
|
margin: 0 0 20px 0;
|
|
padding: 8px 16px;
|
|
background: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
"
|
|
>
|
|
← 試算表に戻る
|
|
</button>
|
|
|
|
<script src="js/api.js"></script>
|
|
<script src="js/opening_balance.js"></script>
|
|
</body>
|
|
</html>
|