From b3ae4c96f7f7eb7a7078bf008fb93702a324aa5e Mon Sep 17 00:00:00 2001 From: Sultan Khan Date: Sun, 9 Jan 2022 14:24:32 +0300 Subject: [PATCH] contact --- Mohem/src/app/itemforsale/home/home.component.ts | 2 +- .../add-update-contact/add-update-contact.component.ts | 2 +- Mohem/src/assets/localization/i18n.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Mohem/src/app/itemforsale/home/home.component.ts b/Mohem/src/app/itemforsale/home/home.component.ts index 250c5f71..d53d5627 100644 --- a/Mohem/src/app/itemforsale/home/home.component.ts +++ b/Mohem/src/app/itemforsale/home/home.component.ts @@ -159,7 +159,7 @@ export class HomeComponent implements OnInit { request.append('status', this.itemCondition); console.log(this.selectedFile); if (this.selectedFile && this.selectedFile !== undefined) { - request.append('fileColl', this.selectedFile[0], this.selectedFile[0].name); + request.append('fileColl', this.addAttachRequest.toString()); } request.append('Channel', authUser.Channel.toString()); request.append('LogInToken', authUser.LogInTokenID); diff --git a/Mohem/src/app/profile/add-update-contact/add-update-contact.component.ts b/Mohem/src/app/profile/add-update-contact/add-update-contact.component.ts index 6f4c6882..0005fcd2 100644 --- a/Mohem/src/app/profile/add-update-contact/add-update-contact.component.ts +++ b/Mohem/src/app/profile/add-update-contact/add-update-contact.component.ts @@ -1335,7 +1335,7 @@ export class AddUpdateContactComponent implements OnInit { if (this.employeeBasicDetails[i].VARCHAR2_VALUE) { val = this.employeeBasicDetails[i].VARCHAR2_VALUE; } else if (this.employeeBasicDetails[i].DATE_VALUE) { - val = this.customiseDate(this.employeeBasicDetails[i].DATE_VALUE); + val = this.cs.formatDate(this.employeeBasicDetails[i].DATE_VALUE); if (this.employeeBasicDetails[i].APPLICATION_COLUMN_NAME === 'EFFECTIVE_DATE') { this.effectiveDate = this.employeeBasicDetails[i].DATE_VALUE; this.showEffectiveDate = this.employeeBasicDetails[i].SEGMENT_VALUE_DSP; diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index aaeece2d..6d68cc24 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -1496,12 +1496,12 @@ "ar": "حذف" }, "update-msg": { - "en": "Are you sure you want update this member ?", + "en": "Are you sure you want to update this member ?", "ar": "هل انت متاكد من تعديل هذا العضو؟" }, "remove-msg": { - "en": "Are you sure you want rmove this member ?", - "ar": "هل انت متاكد من حذف هذا العضو ؟" + "en": "Are you sure you want to remove this member?", + "ar": "هل أنت متأكد أنك تريد إزالة هذا العضو؟" }, "update-confirm": { "en": "member updated successfully",