This commit is contained in:
2025-11-13 15:37:50 +07:00
parent b3fa94f904
commit 1664be0c8b
7 changed files with 56 additions and 22 deletions

View File

@@ -77,13 +77,25 @@
<div class="quick-log__grid">
<label>
<span>หมวดหมู่</span>
<select>
<!-- @for(){
<option>
{{ country.name }}
</option>
} -->
</select>
@if(mode == 'i'){
<select class="w-full h-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-100 focus:border-blue-50 transition-all bg-white">
<option value="">ไม่เลือก</option>
@for (item of myDropAct.income; track item.dtlcod) {
<option [value]="item.dtlcod">
{{ item.dtlnam }}
</option>
}
</select>
}@else if(mode == 'e'){
<select class="w-full h-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-blue-100 focus:border-blue-50 transition-all bg-white">
<option value="">ไม่เลือก</option>
@for (item of myDropAct.expense; track item.dtlcod) {
<option [value]="item.dtlcod">
{{ item.dtlnam }}
</option>
}
</select>
}
</label>
<label>
<span>ยอดเงิน (฿)</span>