Skip to content

Commit

Permalink
v2.3.0 add new items
Browse files Browse the repository at this point in the history
  • Loading branch information
s20041205 committed Jan 19, 2025
1 parent 3517ddf commit 9c30be9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Release History
### Bookkeepting
//TODO: refactored (moving script codes to script.js)
- Jan 19, 2025 **v2.3.0**
- Items added
- Mar 15, 2023 **v2.2.5**
- Budget retrieve column bug fixed
- Mar 13, 2023 **v2.2.4**
Expand Down
20 changes: 8 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.23/css/dataTables.bootstrap4.min.css">

<title>Home Sweet Home</title>
<script src="script.js" defer></script>

</head>

Expand All @@ -29,7 +30,7 @@
<a
href="https://docs.google.com/spreadsheets/d/1ZNPbB2IAaM23TGnwfXr4bTbijXXBPwMMNTZa_O5ERhE/edit?usp=sharing"
target="_self">記帳</a> /
<a>v2.2.5</a>
<a>v2.3.0</a>
</div>
<div class="col-6 text-right">
<i>STLin &copy;
Expand Down Expand Up @@ -81,7 +82,7 @@
</div>
-->
<!-- Section form items -->
<script type="text/javascript">
<script>
//-------------------------------------------------------------------
var today = new Date();
var date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();
Expand Down Expand Up @@ -184,11 +185,11 @@
subclass[0] = ['早餐', '午餐', '晚餐', '食材', '水果', '零食', '飲料'];
subclass[1] = ['衣服', '鞋子', '包包', '配件', '理髮', '美容'];
subclass[2] = ['房租', '水費', '電費', '瓦斯費', '網路費', '生活消耗品', '家電', '家具', '生活物品', '維修費'];
subclass[3] = ['汽油燃料', '維修保養', '火車高鐵', '捷運', '公車', '客運', '計程車', '飛機', '公共租借', '停車費', '過路費'];
subclass[4] = ['文具', '書籍', '材料', '課程學費'];
subclass[5] = ['手機費', '3C產品', '旅宿', '門票', '遊戲', '電影', '數位服務', '國外旅遊'];
subclass[6] = ['門診', '手術', '藥品', '醫療用品', '運動'];
subclass[7] = ['捐款', '孝親費', '交際'];
subclass[3] = ['汽油燃料', '維修保養', '火車高鐵', '捷運', '公車/客運', '計程車', '飛機', '公共租借', '停車費', '過路費', '汽車用品', '交通卡'];
subclass[4] = ['文具', '書籍', '材料', '課程學費', '教具'];
subclass[5] = ['手機費', '3C產品', '旅宿', '門票', '遊戲', '電影', '數位服務', '國外旅遊','飾品'];
subclass[6] = ['門診', '手術', '藥品', '醫療用品', '運動', '保健食品', '自費項目'];
subclass[7] = ['捐款', '孝親費', '交際', '貸出'];
subclass[8] = ['貸款', '稅務', '罰單', '保險', '手續費', '其他'];

function changeBalance(index) {
Expand Down Expand Up @@ -284,11 +285,6 @@
subclassSelect.innerHTML = "";
}

function display_debug(str)
{
alert(str)
}

</script>

</div>
Expand Down
12 changes: 12 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(function(){
'use strict';



function display_debug(str)
{
alert(str)
}


})();

0 comments on commit 9c30be9

Please sign in to comment.