+
+
+
+
+ Select Report
+
+
+
+
+
+
+ {{item.ty}}
+
+
+
+
+ Refresh
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/pages/history/history.page.ts b/src/app/pages/history/history.page.ts
index 0940ba8..302356b 100644
--- a/src/app/pages/history/history.page.ts
+++ b/src/app/pages/history/history.page.ts
@@ -1,5 +1,7 @@
-import { Component, OnInit } from '@angular/core';
-import {NavController} from "@ionic/angular";
+import {Component, OnInit, ViewChild} from '@angular/core';
+import {LoadingController, NavController} from "@ionic/angular";
+import {SessionDataProviderService} from "../../store/session-data-provider.service";
+import {WrenchService} from "../../services/wrench.service";
@Component({
selector: 'app-history',
@@ -7,11 +9,21 @@ import {NavController} from "@ionic/angular";
styleUrls: ['./history.page.scss'],
})
export class HistoryPage implements OnInit {
+ @ViewChild('slected_report_type') slected_report_type;
+historyTypes:any=[];
constructor(
- private navctr: NavController
- ) { }
+ private navctr: NavController,
+ public sessionDataProviderService:SessionDataProviderService,
+ private loadingCtrl: LoadingController,
+ private wrenchService: WrenchService,
+ ) {
+ this.historyTypes= this.sessionDataProviderService.history_types;
+ }
+ refreshReport(){
+
+ }
ngOnInit() {
}
diff --git a/src/app/pages/profile/profile.page.html b/src/app/pages/profile/profile.page.html
index 119ec49..8e6d670 100644
--- a/src/app/pages/profile/profile.page.html
+++ b/src/app/pages/profile/profile.page.html
@@ -145,11 +145,11 @@