fixing bugs

MOHEMM-Q3-DEV-LATEST
enadhilal 4 years ago
parent b60fd8be8a
commit a57ed5fd01

@ -26,11 +26,10 @@ export class BusinessCardComponent implements OnInit {
ngOnInit() {
this.userInfo = JSON.parse(localStorage.getItem('bussiness-card-info'));
this.direction = TranslatorService.getCurrentLanguageName();
console.log(this.userInfo);
this.authService
.loadAuthenticatedUser()
.subscribe((user: AuthenticatedUser) => {
console.log(user);
if (user) {
let jobTitle = user.POSITION_NAME.split('.');
if (jobTitle && jobTitle.length > 1) {

@ -437,6 +437,7 @@ export class WorklistMainComponent implements OnInit {
result.GetAbsenceCollectionNotificationBodyList;
}
} else if (Type === "ADDRESS") {
console.log(result.GetAddressNotificationBodyList)
if (result.GetAddressNotificationBodyList) {
this.notificationBodyRes =
result.GetAddressNotificationBodyList;

@ -71,7 +71,7 @@
</div>
<div *ngIf="transactionDetails && transactionDetails.length>0" class="transaction-list">
<ion-card *ngFor="let transaction of transactionDetails">
<div class="date">{{transaction.CREATION_DATE}}</div>
<div [ngClass]="direction ==='en'? 'date-en':'date-ar'">{{transaction.CREATION_DATE}}</div>
<ion-label class="ion-text-wrap">
<ion-text color="primary">
<p class="display-created bold" >{{'transaction, created-for' | translate}}</p>

@ -17,7 +17,7 @@
.color-black{
color:#000;
}
.date{
.date-en{
position: absolute;
font-size: 14px;
padding: 10px;
@ -26,6 +26,15 @@
color:#969696;
margin: -8px;
}
.date-ar{
position: absolute;
font-size: 14px;
padding: 10px;
left: 10px;
width: 100px;
color:#969696;
margin: -8px;
}
.transaction-list{
margin-top:20px;
}

@ -199,7 +199,7 @@ ion-thumbnail.menu-thumb {
margin: -12px 0px 0px 25px;
}
.service-row-ar {
width: 108%;
width: 104%;
margin: -12px 0px 0px 0px;
}
@ -1178,7 +1178,7 @@ $actionBtnSize: 36px;
.card-size-info-ar{
width: 90%;
right: 5%;
right: 3%;
padding-right: 0px;
margin-left: 0px;
}

Loading…
Cancel
Save