78 lines
1.8 KiB
HTML
78 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="ja">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<script src="js/auth.js"></script>
|
|
<title>期首残高入力</title>
|
|
<link rel="stylesheet" href="css/style.css" />
|
|
<link rel="stylesheet" href="/css/mobile.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()"
|
|
style="
|
|
margin: 0 10px 0 0;
|
|
padding: 8px 16px;
|
|
background: #28a745;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
"
|
|
>
|
|
保存
|
|
</button>
|
|
<a
|
|
href="index.html"
|
|
style="
|
|
display: inline-block;
|
|
margin: 0 0 20px 0;
|
|
padding: 6px 16px;
|
|
background: #757575;
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
"
|
|
>← メニューへ戻る</a
|
|
>
|
|
|
|
<script src="js/api.js"></script>
|
|
<script src="js/opening_balance.js"></script>
|
|
</body>
|
|
</html>
|