@ -3,7 +3,7 @@
[headerText]="'submitAbsence, submitAbsence' | translate">
</app-generic-header>
<content padding>
<ion-content padding>
<div [ngClass]=" direction === 'en' ? 'custom-text-area-element Field-en' : 'custom-text-area-element Field-ar'" >
<label class="label" position='floating' class="colBold requiredClass">{{ts.trPK('submitAbsence','absenceType')}} </label>
@ -58,7 +58,7 @@
</ion-item>
<div id="dynamic-abs-container" >
</div>
</content>
</ion-content>
<ion-footer>
<div class="centerDiv">
<ion-button class="confirmEitOkButton" (click)="validateAbcenseTransaction()">{{ts.trPK('general','next')}}</ion-button>
@ -75,11 +75,11 @@ export class HMGUtils {
const long = Number(_res.split(',')[1]);
const mockValue = _res.split(',')[2];
if (mockValue == 'true') {
mock = true;
} else {
mock = false;
}
// if (mockValue == 'true') {
// mock = true;
// } else {
// mock = false;
// }
callBack({"latitude":lat, "longitude":long, "isfake":mock})
this.common.presentAlert(this.ts.trPK('general', 'invalid-huawei-location'));
@ -142,7 +142,7 @@ export class AuthenticationService {
mobileType = 'android';
request.VersionID = 3;
request.VersionID = 3.1;
request.Channel = 31;
request.LanguageID = TranslatorService.getCurrentLanguageCode();
request.MobileType = mobileType;