diff --git a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html index 9a8f338..30180ae 100644 --- a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html +++ b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.html @@ -3,7 +3,7 @@
-
Deposit History
+
입금내역
- -
- - - To - -
- - Cc - - - Bcc - + + +
+
+
상태
+
충전금액
+
처리날짜
+
신청날짜
+
+ + +
+
{{ info.state }}
+
{{ info.chargeMoney }}
+
{{ info.processDate }}
+
{{ info.applicationDate }}
+
+
+
+
+
+
+ + +
+ There are no data!
- - - - - Cc - - - - - - Bcc - - - - - - Subject - - - - - - - -
-
- - - - - - - - -
- -
- - - - - - -
-
+
diff --git a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts index 380d329..1fb83a5 100644 --- a/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts +++ b/src/app/modules/beteran/compose/compose/deposit-history-compose.component.ts @@ -5,6 +5,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'deposit-history-compose', templateUrl: './deposit-history-compose.component.html', + styles: [ + /* language=SCSS */ + ` + .deposit-history-grid { + /* 상태 충전 처리 신청 */ + grid-template-columns: 150px 150px 150px 150px; + } + `, + ], encapsulation: ViewEncapsulation.None, }) export class DepositHistoryComposeComponent implements OnInit { @@ -29,6 +38,21 @@ export class DepositHistoryComposeComponent implements OnInit { private _formBuilder: FormBuilder ) {} + depositHistory = [ + { + state: 'ㄷㄱㄹㅇ', + chargeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + { + state: 'ㄷㄱㄹㅇ', + chargeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + ]; + // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks // ----------------------------------------------------------------------------------------------------- @@ -91,4 +115,14 @@ export class DepositHistoryComposeComponent implements OnInit { * Send the message */ send(): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } } diff --git a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html index 5eb6d19..eeea97f 100644 --- a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html +++ b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.html @@ -3,7 +3,7 @@
-
Withdraw History
+
출금내역
- -
- - - To - -
- - Cc - - - Bcc - + + +
+
+
상태
+
환전금액
+
처리날짜
+
신청날짜
+
+ + +
+
{{ info.state }}
+
{{ info.exchangeMoney }}
+
{{ info.processDate }}
+
{{ info.applicationDate }}
+
+
+
+
+
+
+ + +
+ There are no data!
- - - - - Cc - - - - - - Bcc - - - - - - Subject - - - - - - - -
-
- - - - - - - - -
- -
- - - - - - -
-
+
diff --git a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts index 31e50d7..e8edbbd 100644 --- a/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts +++ b/src/app/modules/beteran/compose/compose/withdraw-history-compose.component.ts @@ -5,6 +5,15 @@ import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'withdraw-history-compose', templateUrl: './withdraw-history-compose.component.html', + styles: [ + /* language=SCSS */ + ` + .withdraw-history-grid { + /* 상태 충전 처리 신청 */ + grid-template-columns: 150px 150px 150px 150px; + } + `, + ], encapsulation: ViewEncapsulation.None, }) export class WithdrawHistoryComposeComponent implements OnInit { @@ -29,6 +38,21 @@ export class WithdrawHistoryComposeComponent implements OnInit { private _formBuilder: FormBuilder ) {} + withdrawHistory = [ + { + state: 'ㄷㄱㄹㅇ', + exchangeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + { + state: 'ㄷㄱㄹㅇ', + exchangeMoney: 123000, + processDate: '2022.08.23', + applicationDate: '2022.08.23', + }, + ]; + // ----------------------------------------------------------------------------------------------------- // @ Lifecycle hooks // ----------------------------------------------------------------------------------------------------- @@ -91,4 +115,14 @@ export class WithdrawHistoryComposeComponent implements OnInit { * Send the message */ send(): void {} + + /** + * Track by function for ngFor loops + * + * @param index + * @param item + */ + __trackByFn(index: number, item: any): any { + return item.id || index; + } }