64 lines
1.3 KiB
HTML
64 lines
1.3 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="date" id="journal-date" min="1900-01-01" max="2099-12-31" />
|
||
</label>
|
||
|
||
<br /><br />
|
||
|
||
<label>
|
||
摘要:
|
||
<input type="text" id="description" size="40" />
|
||
</label>
|
||
|
||
<br /><br />
|
||
|
||
<table id="lines-table">
|
||
<thead>
|
||
<tr>
|
||
<th>科目ID</th>
|
||
<th>借方</th>
|
||
<th>贷方</th>
|
||
<th></th>
|
||
</tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
|
||
<button onclick="addLine()">+ 行追加</button>
|
||
|
||
<br /><br />
|
||
|
||
<button onclick="submitJournal()">保存</button>
|
||
<button
|
||
onclick="location.href = 'index.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/journal.js"></script>
|
||
</body>
|
||
</html>
|