edit direction

enad-issues
Mohamed Mekawy 6 years ago
parent 333b4e7f80
commit 671021bd79

@ -16,6 +16,7 @@ import { POItemHistoryRes } from '../models/POItemHistoryRes';
styleUrls: ['./item-history.component.scss'],
})
export class ItemHistoryComponent implements OnInit {
direction:string;
getPassPOInfo: any;
itemHistoryRes: any;
IsReachEnd: boolean = false;
@ -30,6 +31,7 @@ export class ItemHistoryComponent implements OnInit {
private modalCtrl: ModalController,
public worklistService: WorklistService
) {
this.direction = TranslatorService.getCurrentLanguageName();
this.getPassPOInfo = this.cs.sharedService.getSharedData('passPOInfo');
this.getPassItemHistoreyList = this.cs.sharedService.getSharedData('passItemHisList');
//itemHistoryRes

@ -13,6 +13,7 @@ import { MOItemHistoryRes } from '../models/MOItemHistoryRes';
styleUrls: ['./mo-item-history.component.scss'],
})
export class MoItemHistoryComponent implements OnInit {
direction:string;
getPassMOInfo: any;
itemHistoryRes: any;
IsReachEnd: boolean = false;
@ -26,6 +27,8 @@ export class MoItemHistoryComponent implements OnInit {
public ts: TranslatorService,
public worklistService: WorklistService
) {
this.direction = TranslatorService.getCurrentLanguageName();
this.getPassMOInfo = this.cs.sharedService.getSharedData('passMOReq');
this.MOItemHistoryReq = new MOItemHistoryReq();

@ -17,6 +17,7 @@ import { QuotationAnalysisResponse } from '../models/quotationAnalysisRes';
styleUrls: ['./qutation-analysis.component.scss'],
})
export class QutationAnalysisComponent implements OnInit {
direction:string;
IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 100;
@ -31,6 +32,7 @@ export class QutationAnalysisComponent implements OnInit {
public ts: TranslatorService,
private modalCtrl: ModalController,
public worklistService: WorklistService) {
this.direction = TranslatorService.getCurrentLanguageName();
this.getPassPOItemID = this.cs.sharedService.getSharedData('passPOInfo',false);
this.getPassPOHeaderID = this.cs.sharedService.getSharedData('passPOHeader',false);
this.getPassItemHistoreyList = this.cs.sharedService.getSharedData('passItemHisList',false);

Loading…
Cancel
Save