diff --git a/ng-ttc-frontend/src/app/app.module.ts b/ng-ttc-frontend/src/app/app.module.ts index 668afd3..68fa7a5 100644 --- a/ng-ttc-frontend/src/app/app.module.ts +++ b/ng-ttc-frontend/src/app/app.module.ts @@ -28,6 +28,7 @@ import { CachingInterceptor } from './services/caching.interceptor'; import { MainProject } from './component/main-project/main-project'; import { MainProjectContent } from './content/main-project-content/main-project-content'; import { MainProjectAdd } from './component/main-project-add/main-project-add'; +import { BudgetAprovalContent } from './content/budget-aproval-content/budget-aproval-content'; // import { BudgetAproval } from './component/budget-aproval/budget-aproval'; // import { AccDateFormatPipe } from './pipe/dtmtodatetime.pipe'; // import { DtmtodatetimePipe } from './dtmtodatetime.pipe'; @@ -39,7 +40,8 @@ import { MainProjectAdd } from './component/main-project-add/main-project-add'; SidebarContentComponent, SidebarComponent, LicensePrivacyTermsComponent, - TokenTimerComponent + TokenTimerComponent, + // BudgetAprovalContent // MainProjectAdd, // MainProject, // MainProjectContent, diff --git a/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.css b/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.css index e69de29..0cf2623 100644 --- a/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.css +++ b/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.css @@ -0,0 +1,16 @@ + .animate-fade-in-down { animation: fadeInDown 0.3s ease-out; } + .animate-fade-in { animation: fadeIn 0.2s ease-out; } + + @keyframes fadeInDown { + from { opacity: 0; transform: translateY(-10px); } + to { opacity: 1; transform: translateY(0); } + } + @keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } + } + input[type=number]::-webkit-inner-spin-button, + input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; + } diff --git a/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.html b/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.html index 90a8491..dd2e64f 100644 --- a/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.html +++ b/ng-ttc-frontend/src/app/component/budget-aproval/budget-aproval.html @@ -1,307 +1,339 @@ -
โครงการ: {{projectTitle}}
+| ลำดับ | -ชื่องบประมาณ | -จำนวนเงิน | -ดำเนินการ | -
|---|---|---|---|
| {{ i + 1 }} | -{{ p.code }} | - -- - | - -- - - - - | -
| # | +รายการ / หมวดงบ | +จำนวนเงิน (บาท) | +จัดการ | +
|---|---|---|---|
| {{ i + 1 }} | + +
+ {{ idx.trnbdgnam }}
+ {{ idx.trnbdgcod }}
+ |
+
+ + {{ idx.trnexpbdg | number:'1.2-2' }} + | + +
+
+
+
+
+ |
+
|
+ 📭
+ ยังไม่มีรายการงบประมาณ + |
+ |||
| รวมยอดสุทธิ | ++ {{ getTotalAmount() | number:'1.2-2' }} + THB + | +
+
+
+
+
+
+
+
+ |
+ |
+ @if(myTrnMst.length === 0) {
+ คุณต้องการ ยกเลิกการจัดสรรงบประมาณ
ของโครงการนี้ใช่หรือไม่?
+ } @else {
+ คุณต้องการ บันทึกข้อมูลการจัดสรรงบประมาณ
ของโครงการนี้ใช่หรือไม่?
+ }
+
- ไม่พบรายการคงเหลือ (ลบทั้งหมด) -
+ } +คุณต้องการลบรายการนี้ใช่หรือไม่?
+การกระทำนี้ไม่สามารถย้อนกลับได้ (ในหน้าจอนี้)
+