-เพิ่มการรองรับ interfaces/dashboard.interface.ts

This commit is contained in:
2025-11-13 14:20:15 +07:00
parent 78ce686f97
commit 37ca45701b
4 changed files with 55 additions and 3 deletions

View File

@@ -77,7 +77,13 @@
<div class="quick-log__grid">
<label>
<span>หมวดหมู่</span>
<input type="text" placeholder="เลือกหมวดหมู่" />
<select>
<!-- @for(){
<option>
{{ country.name }}
</option>
} -->
</select>
</label>
<label>
<span>ยอดเงิน (฿)</span>

View File

@@ -1,6 +1,7 @@
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';
import { GeneralService } from '../../services/generalservice';
import { IDropAct } from '../interfaces/dashboard.interface'
@Component({
selector: 'app-main-dashboard',
@@ -15,7 +16,7 @@ export class MainDashboardComponent implements OnInit {
isSubmitting: boolean = false;
arrearsForm!: FormGroup;
saveFrm!: FormGroup;
myDropAct!: IDropAct;
readonly ownerName = 'Nuttakit';