fixed moe issues

MOE_MAIN-COLOR_CHANGES
umasoodch 3 years ago
parent c2fe2063cb
commit a35ffbd5bd

@ -122,6 +122,10 @@ export class AddEitComponent implements OnInit {
EITTransactionsRequest.SUBMIT_EIT_ACTION EITTransactionsRequest.SUBMIT_EIT_ACTION
); );
} }
// window.addEventListener('keyboardDidShow', () => {
// document.activeElement.scrollIntoView(false);
// });
} }
ngOnInit() {} ngOnInit() {}

@ -1,4 +1,5 @@
import { Component, OnInit, Input } from '@angular/core'; import { Component, OnInit, Input } from '@angular/core';
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
@Component({ @Component({
selector: 'app-card-filter', selector: 'app-card-filter',
@ -11,8 +12,16 @@ export class CardFilterComponent implements OnInit {
@Input() active: boolean; @Input() active: boolean;
@Input() color: string; @Input() color: string;
direction: string;
constructor() { } constructor() { }
ngOnInit() {} ngOnInit() {
this.direction = TranslatorService.getCurrentLanguageName();
console.log(this.direction);
if (this.direction == 'ar') {
this.text = 'الموارد البشرية';
}
}
} }

@ -49,7 +49,7 @@
<ion-label>{{ts.trPK('vacation-rule','itemType')}}</ion-label> <ion-label>{{ts.trPK('vacation-rule','itemType')}}</ion-label>
<ion-select okText="{{ts.trPK('general','ok')}}" cancelText="{{ts.trPK('general','cancel')}}" <ion-select okText="{{ts.trPK('general','ok')}}" cancelText="{{ts.trPK('general','cancel')}}"
[(ngModel)]="itemType"> [(ngModel)]="itemType">
<ion-select-option value="HRSSA">HR</ion-select-option> <ion-select-option value="HRSSA">{{text}}</ion-select-option>
<!-- <ion-select-option value="POAPPRV">PO</ion-select-option> <!-- <ion-select-option value="POAPPRV">PO</ion-select-option>
<ion-select-option value="REQAPPRV">PR</ion-select-option> <ion-select-option value="REQAPPRV">PR</ion-select-option>
<ion-select-option value="INVMOA">MR</ion-select-option> <ion-select-option value="INVMOA">MR</ion-select-option>

@ -17,6 +17,7 @@ export class WorklistAdvancedSearchComponent implements OnInit {
public notificationType = ''; public notificationType = '';
public itemType; public itemType;
public direction: string; public direction: string;
public text = 'HR';
constructor( constructor(
public modalController: ModalController, public modalController: ModalController,
@ -25,7 +26,9 @@ export class WorklistAdvancedSearchComponent implements OnInit {
this.direction = TranslatorService.getCurrentLanguageName(); this.direction = TranslatorService.getCurrentLanguageName();
} }
ngOnInit() {} ngOnInit() {
this.text = this.direction == 'en' ? 'HR': 'الموارد البشرية';
}
public dismissModal() { public dismissModal() {
this.modalController.dismiss(); this.modalController.dismiss();

@ -15,7 +15,7 @@
<ion-radio slot="start" color="secondary" mode='md' value="1"></ion-radio> <ion-radio slot="start" color="secondary" mode='md' value="1"></ion-radio>
</ion-item> </ion-item>
<ion-item lines="none"> <ion-item lines="none" style="pointer-events: none;opacity: .3;">
<ion-label> <ion-label>
<h3 *ngIf="sourceName === 'basicDetails'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info')}}</h3> <h3 *ngIf="sourceName === 'basicDetails'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info')}}</h3>
<h3 *ngIf="sourceName === 'address'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info-address')}}</h3> <h3 *ngIf="sourceName === 'address'" style="color: black; font-size: 20px; white-space: break-spaces !important">{{ts.trPK('general','new-info-address')}}</h3>

@ -423,7 +423,7 @@
}, },
"close": { "close": {
"en": "Close", "en": "Close",
"ar": "إغلق" "ar": "إغلاق"
}, },
"back": { "back": {
"en": "Back", "en": "Back",
@ -2140,16 +2140,16 @@
"ar": "فشل تحميل بعض الملفات المرفقة" "ar": "فشل تحميل بعض الملفات المرفقة"
}, },
"approval-message-success": { "approval-message-success": {
"en": "Your request has been submitted for approvals.", "en": "Your request has been submitted successfully!",
"ar": "تم إرسال طلبك للحصول على الموافقات." "ar": "تم تقديم الطلب بنجاح"
}, },
"basic-approval-message-success": { "basic-approval-message-success": {
"en": "Update Basic details request has been submitted for approvals.", "en": "Your request has been submitted successfully!",
"ar": "تم إرسال طلب تحديث التفاصيل الأساسية للموافقات." "ar": "تم تقديم الطلب بنجاح"
}, },
"contact-approval-message-success": { "contact-approval-message-success": {
"en": "Update Contact details request has been submitted for approvals.", "en": "Your request has been submitted successfully!",
"ar": "تم إرسال طلب تحديث تفاصيل الاتصال للحصول على الموافقات." "ar": "تم تقديم الطلب بنجاح"
}, },
"delete-perm": { "delete-perm": {
"en": "Are you sure from deleting this file permanently?", "en": "Are you sure from deleting this file permanently?",

Loading…
Cancel
Save