diff --git a/Mohem/config.xml b/Mohem/config.xml index 7bd54321..ea877b13 100644 --- a/Mohem/config.xml +++ b/Mohem/config.xml @@ -1,5 +1,5 @@ - + Al Habib MOHEMM an app created by cloud Solutions HMG @@ -108,7 +108,7 @@ - + @@ -128,7 +128,6 @@ - diff --git a/Mohem/package.json b/Mohem/package.json index 68c020db..faded0a8 100644 --- a/Mohem/package.json +++ b/Mohem/package.json @@ -91,7 +91,6 @@ "cordova-plugin-ionic-webview": "^4.1.0", "cordova-plugin-local-notification": "^0.9.0-beta.2", "cordova-plugin-nativestorage": "^2.3.2", - "cordova-plugin-sms-receive": "^1.0.2", "cordova-plugin-splashscreen": "^5.0.3", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-themeablebrowser": "^0.2.18", @@ -190,7 +189,6 @@ "uk.co.workingedge.phonegap.plugin.launchnavigator": {}, "cordova-plugin-themeablebrowser": {}, "cordova-plugin-inappbrowser": {}, - "cordova-plugin-sms-receive": {}, "cordova-plugin-local-notification": {}, "call-number": {}, "cordova-opentok-android-permissions": {}, diff --git a/Mohem/resources/android/splash/drawable-land-hdpi-screen.png b/Mohem/resources/android/splash/drawable-land-hdpi-screen.png index 7220fb0e..88eb36c3 100644 Binary files a/Mohem/resources/android/splash/drawable-land-hdpi-screen.png and b/Mohem/resources/android/splash/drawable-land-hdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-land-ldpi-screen.png b/Mohem/resources/android/splash/drawable-land-ldpi-screen.png index 90763498..0fd07dbb 100644 Binary files a/Mohem/resources/android/splash/drawable-land-ldpi-screen.png and b/Mohem/resources/android/splash/drawable-land-ldpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-land-mdpi-screen.png b/Mohem/resources/android/splash/drawable-land-mdpi-screen.png index 4f7ad01f..073b4b43 100644 Binary files a/Mohem/resources/android/splash/drawable-land-mdpi-screen.png and b/Mohem/resources/android/splash/drawable-land-mdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-land-xhdpi-screen.png b/Mohem/resources/android/splash/drawable-land-xhdpi-screen.png index c4e8d06a..94c03ac0 100644 Binary files a/Mohem/resources/android/splash/drawable-land-xhdpi-screen.png and b/Mohem/resources/android/splash/drawable-land-xhdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-land-xxhdpi-screen.png b/Mohem/resources/android/splash/drawable-land-xxhdpi-screen.png index 7c179775..8da78b6f 100644 Binary files a/Mohem/resources/android/splash/drawable-land-xxhdpi-screen.png and b/Mohem/resources/android/splash/drawable-land-xxhdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-land-xxxhdpi-screen.png b/Mohem/resources/android/splash/drawable-land-xxxhdpi-screen.png index 9056d3d8..b01610d4 100644 Binary files a/Mohem/resources/android/splash/drawable-land-xxxhdpi-screen.png and b/Mohem/resources/android/splash/drawable-land-xxxhdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-hdpi-screen.png b/Mohem/resources/android/splash/drawable-port-hdpi-screen.png index d43c8c61..41d982bd 100644 Binary files a/Mohem/resources/android/splash/drawable-port-hdpi-screen.png and b/Mohem/resources/android/splash/drawable-port-hdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-ldpi-screen.png b/Mohem/resources/android/splash/drawable-port-ldpi-screen.png index 7ea3bea7..1dd2449b 100644 Binary files a/Mohem/resources/android/splash/drawable-port-ldpi-screen.png and b/Mohem/resources/android/splash/drawable-port-ldpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-mdpi-screen.png b/Mohem/resources/android/splash/drawable-port-mdpi-screen.png index 26eb160c..f8ac90c9 100644 Binary files a/Mohem/resources/android/splash/drawable-port-mdpi-screen.png and b/Mohem/resources/android/splash/drawable-port-mdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-xhdpi-screen.png b/Mohem/resources/android/splash/drawable-port-xhdpi-screen.png index 16a8ab39..02739aa3 100644 Binary files a/Mohem/resources/android/splash/drawable-port-xhdpi-screen.png and b/Mohem/resources/android/splash/drawable-port-xhdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-xxhdpi-screen.png b/Mohem/resources/android/splash/drawable-port-xxhdpi-screen.png index e72e0594..6538c957 100644 Binary files a/Mohem/resources/android/splash/drawable-port-xxhdpi-screen.png and b/Mohem/resources/android/splash/drawable-port-xxhdpi-screen.png differ diff --git a/Mohem/resources/android/splash/drawable-port-xxxhdpi-screen.png b/Mohem/resources/android/splash/drawable-port-xxxhdpi-screen.png index 736ea361..17d965c0 100644 Binary files a/Mohem/resources/android/splash/drawable-port-xxxhdpi-screen.png and b/Mohem/resources/android/splash/drawable-port-xxxhdpi-screen.png differ diff --git a/Mohem/resources/splash.png b/Mohem/resources/splash.png index 48a0340f..2d04f1ad 100755 Binary files a/Mohem/resources/splash.png and b/Mohem/resources/splash.png differ diff --git a/Mohem/src/app/absence/absence-confirm/absence-confirm.component.scss b/Mohem/src/app/absence/absence-confirm/absence-confirm.component.scss index 7b3eaa1f..8cdb50a6 100644 --- a/Mohem/src/app/absence/absence-confirm/absence-confirm.component.scss +++ b/Mohem/src/app/absence/absence-confirm/absence-confirm.component.scss @@ -257,7 +257,7 @@ ion-card-content.confirm-details{ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .confirmEitOkButton{ @@ -266,7 +266,7 @@ ion-card-content.confirm-details{ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background: #65C399; + --background: #269DB8; width: 80% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/absence/home/home.component.html b/Mohem/src/app/absence/home/home.component.html index 8447e812..cb229b7b 100644 --- a/Mohem/src/app/absence/home/home.component.html +++ b/Mohem/src/app/absence/home/home.component.html @@ -110,7 +110,7 @@ left: 59%; bottom: 73px; color: black; - background-color: #094875; + background-color: #269DB8; width: 16%; height: 6px;"> @@ -155,7 +155,7 @@
- +

@@ -164,7 +164,7 @@
- +

@@ -173,7 +173,7 @@
- +

@@ -182,7 +182,7 @@
- +

@@ -191,7 +191,7 @@
- +

@@ -200,7 +200,7 @@
- +

@@ -209,7 +209,7 @@
- +

@@ -218,7 +218,7 @@
- +

diff --git a/Mohem/src/app/absence/home/home.component.scss b/Mohem/src/app/absence/home/home.component.scss index 6f6728ed..a3f81d81 100644 --- a/Mohem/src/app/absence/home/home.component.scss +++ b/Mohem/src/app/absence/home/home.component.scss @@ -9,7 +9,7 @@ } .addClass{ - background-color: #094875; + background-color: #269DB8; width: 80px; height: 80px; right: 8%; @@ -47,7 +47,7 @@ margin-top: 0; margin-bottom: 0; /* border-radius: 12px !important; */ - background: #094875; + background: #269DB8; border-bottom: 1px solid #a7a4a4; border-top: 1px solid #cac8c8; margin-left: -13px; @@ -57,7 +57,7 @@ .header-div { - background-color: #65C399; + background-color: #269DB8; text-transform: capitalize; height: 160px; /* position: relative; */ @@ -66,7 +66,7 @@ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } @@ -242,7 +242,7 @@ margin-top: -13px; .contentEit:before { position: absolute; content: ""; - // background: #65C399; + // background: #269DB8; height: 140px; width: 100%; left: 0; @@ -285,7 +285,7 @@ margin-top: -13px; // bottom: 146px; // color: black; // background-color: #CB3232; -// // background-color: #094875; +// // background-color: #269DB8; // width: 11%; // height: 6px; // } diff --git a/Mohem/src/app/absence/submit-absence-modal/submit-absence-modal.component.scss b/Mohem/src/app/absence/submit-absence-modal/submit-absence-modal.component.scss index 1253a5da..5a81509a 100644 --- a/Mohem/src/app/absence/submit-absence-modal/submit-absence-modal.component.scss +++ b/Mohem/src/app/absence/submit-absence-modal/submit-absence-modal.component.scss @@ -32,7 +32,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background:: #65C399; + --background:: #269DB8; width: 100% !important; color: white!important; border-radius: 16px !important; @@ -43,7 +43,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background:: #094875; + --background:: #269DB8; width: 100% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/absence/submit-absence/submit-absence.component.scss b/Mohem/src/app/absence/submit-absence/submit-absence.component.scss index 945d7e68..deb4981b 100644 --- a/Mohem/src/app/absence/submit-absence/submit-absence.component.scss +++ b/Mohem/src/app/absence/submit-absence/submit-absence.component.scss @@ -5,7 +5,7 @@ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .confirmEitOkButton{ @@ -14,7 +14,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background: #65C399; + --background: #269DB8; width: 80% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/absence/view-attachments/view-attachments.component.scss b/Mohem/src/app/absence/view-attachments/view-attachments.component.scss index c8b999eb..1e941e1b 100644 --- a/Mohem/src/app/absence/view-attachments/view-attachments.component.scss +++ b/Mohem/src/app/absence/view-attachments/view-attachments.component.scss @@ -1,3 +1,3 @@ .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } \ No newline at end of file diff --git a/Mohem/src/app/app.component.html b/Mohem/src/app/app.component.html index fc438362..abbe1186 100644 --- a/Mohem/src/app/app.component.html +++ b/Mohem/src/app/app.component.html @@ -64,7 +64,7 @@
@@ -155,7 +155,7 @@ diff --git a/Mohem/src/app/app.component.scss b/Mohem/src/app/app.component.scss index b768bcbc..220c3a9c 100644 --- a/Mohem/src/app/app.component.scss +++ b/Mohem/src/app/app.component.scss @@ -75,7 +75,7 @@ header .logout{ - background-color:#65C399; + background-color:#269DB8; border: none; color:white; // padding: 20px; @@ -94,7 +94,7 @@ padding: 6px 24px; } .logout-ar{ - background-color: #65C399; + background-color: #269DB8; border: none; color: white; text-align: center; diff --git a/Mohem/src/app/attendance-tracking/home/home.component.ts b/Mohem/src/app/attendance-tracking/home/home.component.ts index 74d39020..1dae54fe 100644 --- a/Mohem/src/app/attendance-tracking/home/home.component.ts +++ b/Mohem/src/app/attendance-tracking/home/home.component.ts @@ -135,6 +135,6 @@ openDialog() { }, this.ts.trPK('general', 'ok'), () => {}, this.ts.trPK('general', 'cancel'), this.ts.trPK('vacation-rule', 'confirmation'), - this.ts.trPK('attendance-tracking', 'confirm-alert1') + this.ts.trPK('attendance-tracking', 'confirm-alert2')); + this.ts.trPK('attendance-tracking', 'confirm-alert1')); } } diff --git a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.html b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.html index 9e3d4134..ae5467ea 100644 --- a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.html +++ b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.html @@ -44,14 +44,14 @@ left: 79%; bottom: 35px; color: black; - background-color: #65C399; + background-color: #269DB8; width: 20%; height: 6px;">
diff --git a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.scss b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.scss index 08de2bcf..dccd6552 100644 --- a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.scss +++ b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.scss @@ -2,7 +2,7 @@ --background: #f0efef; } .header-div { - background: #65C399; + background: #269DB8; color: var(--light); text-transform: capitalize; display: block; @@ -24,7 +24,7 @@ .navbar{ font-size: 10px !important; - --background: #65C399 !important; + --background: #269DB8 !important; color: aliceblue !important; // margin-top: 10px !important; @@ -34,7 +34,7 @@ // margin-left:330px !important; margin-top: 0px !important; font-size: 35px !important; - background: #65C399; + background: #269DB8; color: aliceblue; margin-left: 0px !important; @@ -45,7 +45,7 @@ margin-left:100px !important; margin-top: 0px !important; font-size: 23px !important; - background: #65C399 !important; + background: #269DB8 !important; color: aliceblue !important; } @@ -139,7 +139,7 @@ height: 250px !important; background:var(--primary); background: -moz-linear-gradient(45deg, var(--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); background: -webkit-linear-gradient(45deg, (--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); - background: #65C399; + background: #269DB8; // background: linear-gradient(90deg, #85C48D 0%, #85C48D 13%, #2BB5C6 98%, #2BB5C6 100%); color:var(--light); text-transform: capitalize; diff --git a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.ts b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.ts index 4b3f01ac..044998c5 100644 --- a/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.ts +++ b/Mohem/src/app/attendance/monthly-attendance/monthly-attendance.component.ts @@ -50,9 +50,9 @@ public data = { backgroundColor: [ - '#65C399', + '#269DB8', - '#094875', + '#269DB8', ], borderWidth: 2 diff --git a/Mohem/src/app/authentication/login/login.component.html b/Mohem/src/app/authentication/login/login.component.html index ba5b928a..f499b664 100644 --- a/Mohem/src/app/authentication/login/login.component.html +++ b/Mohem/src/app/authentication/login/login.component.html @@ -23,7 +23,7 @@ - + --> diff --git a/Mohem/src/app/authentication/login/login.component.scss b/Mohem/src/app/authentication/login/login.component.scss index da05689e..080bb5d5 100644 --- a/Mohem/src/app/authentication/login/login.component.scss +++ b/Mohem/src/app/authentication/login/login.component.scss @@ -158,7 +158,7 @@ img.centerDiv { } .middle-circle { position: relative; - background:var(--darkblue) !important; + background:#1a586d !important; border-radius: 50%; height: 160px; width: 170px; @@ -166,7 +166,7 @@ img.centerDiv { } .last-circle { position: inherit; - background: var(--lightblue) !important; + background: #65C399 !important; border-radius: 50%; height: 166px; width: 140px; diff --git a/Mohem/src/app/authentication/sms-page/sms-page.page.html b/Mohem/src/app/authentication/sms-page/sms-page.page.html index 815489bd..6a4e3a79 100644 --- a/Mohem/src/app/authentication/sms-page/sms-page.page.html +++ b/Mohem/src/app/authentication/sms-page/sms-page.page.html @@ -9,7 +9,7 @@ - + -->
diff --git a/Mohem/src/app/eit/add-eit/add-eit.component.scss b/Mohem/src/app/eit/add-eit/add-eit.component.scss index b1a550c8..00701426 100644 --- a/Mohem/src/app/eit/add-eit/add-eit.component.scss +++ b/Mohem/src/app/eit/add-eit/add-eit.component.scss @@ -25,7 +25,7 @@ ion-label { .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .addEitOkButton{ white-space: normal !important; @@ -33,7 +33,7 @@ ion-label { min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - background-color: #65C399; + background-color: #269DB8; width: 80% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/eit/confirm-add-eit/confirm-add-eit.component.scss b/Mohem/src/app/eit/confirm-add-eit/confirm-add-eit.component.scss index a412c465..22672913 100644 --- a/Mohem/src/app/eit/confirm-add-eit/confirm-add-eit.component.scss +++ b/Mohem/src/app/eit/confirm-add-eit/confirm-add-eit.component.scss @@ -227,7 +227,7 @@ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .title{ margin-top: -37px; @@ -243,7 +243,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - background-color: #65C399; + background-color: #269DB8; width: 80% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/eit/eit-list/eit-list.component.html b/Mohem/src/app/eit/eit-list/eit-list.component.html index f8192efd..261eb065 100644 --- a/Mohem/src/app/eit/eit-list/eit-list.component.html +++ b/Mohem/src/app/eit/eit-list/eit-list.component.html @@ -223,7 +223,7 @@ - +

diff --git a/Mohem/src/app/eit/eit-list/eit-list.component.scss b/Mohem/src/app/eit/eit-list/eit-list.component.scss index 85ec5859..c1c3c196 100644 --- a/Mohem/src/app/eit/eit-list/eit-list.component.scss +++ b/Mohem/src/app/eit/eit-list/eit-list.component.scss @@ -52,7 +52,7 @@ h4 { margin-top: 0; margin-bottom: 0; /* border-radius: 12px !important; */ - background: #094875; + background: #269DB8; border-bottom: 1px solid #a7a4a4; border-top: 1px solid #cac8c8; margin-left: -13px; @@ -69,7 +69,7 @@ h4 { .header-div { - background-color: #65C399; + background-color: #269DB8; text-transform: capitalize; height: 160px; // position: relative; @@ -78,11 +78,11 @@ h4 { } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .addClass{ - background-color: #094875; + background-color: #269DB8; width: 80px; height: 80px; right: 8%; @@ -99,7 +99,7 @@ h4 { .contentEit:before { position: absolute; content: ""; -// background: #65C399; +// background: #269DB8; height: 140px; width: 100%; left: 0; @@ -119,7 +119,7 @@ z-index: 1; .content:before { position: absolute; content: ""; -background: #65C399; +background: #269DB8; height: 140px; width: 100%; left: 0; @@ -221,7 +221,7 @@ z-index: 1; } .blue-dote{ - background-color: #65C399; + background-color: #269DB8; width: 12px; height: 12px; border-radius: 50% !important; @@ -294,7 +294,7 @@ z-index: 1; } .child-dote{ - background-color: #65C399; + background-color: #269DB8; width: 15px; height: 15px; border-radius: 50% !important; @@ -303,7 +303,7 @@ z-index: 1; margin-right: 5px; } .child-dote-ar{ - background-color: #65C399; + background-color: #269DB8; width: 15px; height: 15px; border-radius: 50% !important; diff --git a/Mohem/src/app/eit/eit-list/eit-list.component.ts b/Mohem/src/app/eit/eit-list/eit-list.component.ts index 678c7915..ab521197 100644 --- a/Mohem/src/app/eit/eit-list/eit-list.component.ts +++ b/Mohem/src/app/eit/eit-list/eit-list.component.ts @@ -100,7 +100,7 @@ export class EitListComponent implements OnInit { { data: [this.accrualNetInfants, this.accrualUNetChild, this.accrualNetAdult], backgroundColor: [ '#1FA269', - '#65C399', + '#269DB8', '#3CB9D5', ], borderWidth: 2 } diff --git a/Mohem/src/app/eit/eit-update-list/eit-update-list.component.html b/Mohem/src/app/eit/eit-update-list/eit-update-list.component.html index 5ea12523..1fb0a2cd 100644 --- a/Mohem/src/app/eit/eit-update-list/eit-update-list.component.html +++ b/Mohem/src/app/eit/eit-update-list/eit-update-list.component.html @@ -29,7 +29,7 @@
- +
diff --git a/Mohem/src/app/eit/eit-update-list/eit-update-list.component.scss b/Mohem/src/app/eit/eit-update-list/eit-update-list.component.scss index b8ff9967..f4ce5a98 100644 --- a/Mohem/src/app/eit/eit-update-list/eit-update-list.component.scss +++ b/Mohem/src/app/eit/eit-update-list/eit-update-list.component.scss @@ -4,7 +4,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - background-color: #65C399; + background-color: #269DB8; width: 80% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/eit/home/home.component.scss b/Mohem/src/app/eit/home/home.component.scss index 3ac9e0f9..546cdfd0 100644 --- a/Mohem/src/app/eit/home/home.component.scss +++ b/Mohem/src/app/eit/home/home.component.scss @@ -13,7 +13,7 @@ ion-item.custCollabs.item.item-block.item-ios { } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } ion-item.item.item-block { diff --git a/Mohem/src/app/eit/submit-eit-modal/submit-eit-modal.component.scss b/Mohem/src/app/eit/submit-eit-modal/submit-eit-modal.component.scss index 1253a5da..5a81509a 100644 --- a/Mohem/src/app/eit/submit-eit-modal/submit-eit-modal.component.scss +++ b/Mohem/src/app/eit/submit-eit-modal/submit-eit-modal.component.scss @@ -32,7 +32,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background:: #65C399; + --background:: #269DB8; width: 100% !important; color: white!important; border-radius: 16px !important; @@ -43,7 +43,7 @@ min-height: 45px !important; min-width: 5px !important; margin: 8px !important; - --background:: #094875; + --background:: #269DB8; width: 100% !important; color: white!important; border-radius: 16px !important; diff --git a/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts b/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts index c79c8ae7..85b79181 100644 --- a/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts +++ b/Mohem/src/app/hmg-common/services/attend-services/attend-scan.service.ts @@ -28,6 +28,7 @@ export class AttendScanService { deviceID: string; scannedResult: any; userData: any = {}; + public isFakeLocationUsed = false; constructor(private device: Device, private zbar: ZBar, private geolocation: Geolocation, @@ -44,7 +45,8 @@ export class AttendScanService { this.userData = this.common.sharedService.getSharedData(AuthenticatedUser.SHARED_DATA, false); } - public getDeviceLocation() { + getDeviceLocation() { + this.isFakeLocationUsed = false; const isVirtual = this.device.isVirtual; if (isVirtual === true) { alert('emulater>>>>>>>' + isVirtual); @@ -57,14 +59,12 @@ export class AttendScanService { this.backgroundGeolocation.getCurrentLocation({ timeout: 10000, enableHighAccuracy: true, maximumAge: 3000 }).then((resp) => { if (this.platform.is('android')) { if (resp && (resp.latitude && resp.longitude)) { - console.log(resp); if (resp.isFromMockProvider || resp.mockLocationsEnabled) { - this.common.presentAlert(this.ts.trPK('home', 'fake-location')); - } else { - this.lat = resp.latitude; - this.longt = resp.longitude; - this.attendance(); + this.isFakeLocationUsed = true; } + this.lat = resp.latitude; + this.longt = resp.longitude; + this.attendance(); } } else { if (resp && (resp.latitude && resp.longitude)) { @@ -95,18 +95,39 @@ export class AttendScanService { } - public scanCode() { - this.barcodeScanner.scan().then(barcodeData => { - if (!barcodeData.cancelled) { - this.scannedResult = barcodeData; - this.deviceID = this.device.uuid; - this.swipeAttendance(); - } - }).catch(err => { - console.log('Error', err); - }); + scanCode() { + this.barcodeScanner + .scan() + .then(barcodeData => { + if (!barcodeData.cancelled) { + this.scannedResult = barcodeData; + this.deviceID = this.device.uuid; + if (this.isFakeLocationUsed) { + this.fakeSwipeAttendance(); + } else { + this.swipeAttendance(); + } + } + }) + .catch(err => { + console.log('Error', err); + }); } + fakeSwipeAttendance() { + const request: any = {}; + request.Latitude = this.lat; + request.Longitude = this.longt; + request.QRValue = this.scannedResult.text; + request.UID = this.deviceID; + request.EmployeeID = this.userData.EMPLOYEE_NUMBER; + this.attendance_service.fakeAttendanceSwipeScanner(request, () => {console.log('Error inside in swipe attendance');}) + .subscribe((result: Response) => { + if (this.common.validResponse(result)) { + this.common.presentAlert(this.ts.trPK('home', 'fake-location')); + } + }); + } public swipeAttendance() { const request: attendanceSwipeScannerRequest = new attendanceSwipeScannerRequest(); diff --git a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts index 91f681f5..a2bee59c 100644 --- a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts +++ b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts @@ -125,8 +125,8 @@ export class AuthenticationService { } public setPublicFields(request: Request): Request { - request.VersionID = 2.1;//2.0,1.4 - request.Channel = 31; + request.VersionID = 2.3; + request.Channel = 33; request.LanguageID = TranslatorService.getCurrentLanguageCode(); //request.IPAdress = '10.10.10.10'; //request.SessionID = "any thing"; // ??? required for not authorized login funny diff --git a/Mohem/src/app/hmg-common/services/connector/connector.service.ts b/Mohem/src/app/hmg-common/services/connector/connector.service.ts index 2857c3b1..acd8ff0e 100644 --- a/Mohem/src/app/hmg-common/services/connector/connector.service.ts +++ b/Mohem/src/app/hmg-common/services/connector/connector.service.ts @@ -24,8 +24,8 @@ export class ConnectorService { public static timeOut = 120 * 1000; // public static host = 'http://10.50.100.113:6060/'; // development service -public static host = 'https://uat.hmgwebservices.com/'; - // public static host = 'https://hmgwebservices.com/'; +// public static host = 'https://uat.hmgwebservices.com/'; + public static host = 'https://hmgwebservices.com/'; // public static host = 'http://10.50.100.198:6060/'; // public static host = 'http://10.50.100.113:6060/'; // development service /* public static host = 'http://10.50.100.198:6060/'; diff --git a/Mohem/src/app/hmg-common/ui/circle-calendar/circle-calendar.component.scss b/Mohem/src/app/hmg-common/ui/circle-calendar/circle-calendar.component.scss index d6c4a4be..2bf170c9 100644 --- a/Mohem/src/app/hmg-common/ui/circle-calendar/circle-calendar.component.scss +++ b/Mohem/src/app/hmg-common/ui/circle-calendar/circle-calendar.component.scss @@ -8,14 +8,14 @@ .navbar{ font-size: 10px !important; - --background: #65C399 !important; + --background: #269DB8 !important; color: aliceblue !important; } .menu { margin-top: 0px !important; font-size: 35px !important; - background: #65C399; + background: #269DB8; color: aliceblue; margin-left: 0px !important; @@ -25,7 +25,7 @@ margin-left:100px !important; margin-top: 0px !important; font-size: 23px !important; - background: #65C399 !important; + background: #269DB8 !important; color: aliceblue !important; } @@ -92,7 +92,7 @@ background:var(--primary); background: -moz-linear-gradient(45deg, var(--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); background: -webkit-linear-gradient(45deg, (--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); - background: #65C399; + background: #269DB8; // background: linear-gradient(90deg, #85C48D 0%, #85C48D 13%, #2BB5C6 98%, #2BB5C6 100%); color:var(--light); text-transform: capitalize; diff --git a/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.scss b/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.scss index 585627d0..f0dc7258 100644 --- a/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.scss +++ b/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.scss @@ -191,7 +191,7 @@ height: 360px !important; .p5{ font-size: 14px; text-align: center; - background-color: #094875; + background-color: #269DB8; color: white; margin-top: -13px; margin-bottom: -3px; diff --git a/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.ts b/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.ts index 1b25ee4e..56f31536 100644 --- a/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.ts +++ b/Mohem/src/app/hmg-common/ui/circle-calendar/date-info-modal/date-info-modal.component.ts @@ -94,7 +94,7 @@ export class DateInfoModalComponent implements OnInit { { data: [this.percChart], backgroundColor: [ - '#094875' + '#269DB8' ], borderWidth: 2 }] diff --git a/Mohem/src/app/hmg-common/ui/file-uploder-profile/file-uploder-profile.component.scss b/Mohem/src/app/hmg-common/ui/file-uploder-profile/file-uploder-profile.component.scss index 9210cb05..dc77de05 100644 --- a/Mohem/src/app/hmg-common/ui/file-uploder-profile/file-uploder-profile.component.scss +++ b/Mohem/src/app/hmg-common/ui/file-uploder-profile/file-uploder-profile.component.scss @@ -10,8 +10,8 @@ .btnImge{ // button{ border-color:transparent !important; - --background: #65C399 !important; - background: #65C399 !important; + --background: #269DB8 !important; + background: #269DB8 !important; height: 57px !important; width: 60px !important; @@ -21,7 +21,7 @@ } //test .changeIcon{ - background: #65C399 !important; + background: #269DB8 !important; border-radius: 50% !important; width: 73px; height: 55px; diff --git a/Mohem/src/app/hmg-common/ui/generic-header/generic-header.component.scss b/Mohem/src/app/hmg-common/ui/generic-header/generic-header.component.scss index 8f5ef95d..a8495839 100644 --- a/Mohem/src/app/hmg-common/ui/generic-header/generic-header.component.scss +++ b/Mohem/src/app/hmg-common/ui/generic-header/generic-header.component.scss @@ -22,5 +22,5 @@ line-height: 46px; } .header-toolbar-new { - --background: #65C399; + --background: #269DB8; } \ No newline at end of file diff --git a/Mohem/src/app/hmg-common/ui/nav-buttons/nav-buttons.component.scss b/Mohem/src/app/hmg-common/ui/nav-buttons/nav-buttons.component.scss index 43d3f25b..a9861567 100644 --- a/Mohem/src/app/hmg-common/ui/nav-buttons/nav-buttons.component.scss +++ b/Mohem/src/app/hmg-common/ui/nav-buttons/nav-buttons.component.scss @@ -4,6 +4,6 @@ ion-menu-button { font-size: 0.8cm; color: white; - background: #65C399; + background: #269DB8; margin: 0 auto; } \ No newline at end of file diff --git a/Mohem/src/app/home/home.page.html b/Mohem/src/app/home/home.page.html index d79d925b..05491459 100644 --- a/Mohem/src/app/home/home.page.html +++ b/Mohem/src/app/home/home.page.html @@ -64,7 +64,7 @@
{{'home,time-left' | translate}} { if (this.platform.is('android')) { if (resp && (resp.latitude && resp.longitude)) { - console.log(resp); if (resp.isFromMockProvider || resp.mockLocationsEnabled) { - this.common.presentAlert(this.ts.trPK('home', 'fake-location')); - } else { - this.lat = resp.latitude; - this.longt = resp.longitude; - this.attendance(); + this.isFakeLocationUsed = true; } + this.lat = resp.latitude; + this.longt = resp.longitude; + this.attendance(); } } else { if (resp && (resp.latitude && resp.longitude)) { @@ -506,7 +505,11 @@ export class HomePage implements OnInit { if (!barcodeData.cancelled) { this.scannedResult = barcodeData; this.deviceID = this.device.uuid; - this.swipeAttendance(); + if (this.isFakeLocationUsed) { + this.fakeSwipeAttendance(); + } else { + this.swipeAttendance(); + } } }) .catch(err => { @@ -514,6 +517,21 @@ export class HomePage implements OnInit { }); } + fakeSwipeAttendance() { + const request: any = {}; + request.Latitude = this.lat; + request.Longitude = this.longt; + request.QRValue = this.scannedResult.text; + request.UID = this.deviceID; + request.EmployeeID = this.userData.EMPLOYEE_NUMBER; + this.attendanceService.fakeAttendanceSwipeScanner(request, () => {console.log('Error inside in swipe attendance');}) + .subscribe((result: Response) => { + if (this.common.validResponse(result)) { + this.common.presentAlert(this.ts.trPK('home', 'fake-location')); + } + }); + } + swipeAttendance() { const request: attendanceSwipeScannerRequest = new attendanceSwipeScannerRequest(); request.Latitude = this.lat; @@ -719,6 +737,7 @@ openattentracking() { openStatsButton(link: any) { // tslint:disable-next-line: triple-equals if (link == '0') { + this.isFakeLocationUsed = false; this.getDeviceLocation(); // tslint:disable-next-line: triple-equals } else if (link == '1') { diff --git a/Mohem/src/app/home/services/attendance.services.ts b/Mohem/src/app/home/services/attendance.services.ts index 9c0e71d0..71b946da 100644 --- a/Mohem/src/app/home/services/attendance.services.ts +++ b/Mohem/src/app/home/services/attendance.services.ts @@ -8,6 +8,7 @@ import { attendanceSwipeScannerRequest } from '../models/attendanceSwipe.Request }) export class AttendanceService { public AttendanceSwipeURL : string ='Services/SWP.svc/REST/AuthenticateAndSwipeUser'; + public FakeAttendanceSwipeURL : string ='Services/SWP.svc/REST/CreateIssueInfo'; constructor( public con: ConnectorService, public authService: AuthenticationService @@ -17,4 +18,9 @@ export class AttendanceService { this.authService.authenticateRequest(request); return this.con.post(this.AttendanceSwipeURL,request,onError,errorLabel); } + + public fakeAttendanceSwipeScanner(request, onError?: any, errorLabel?: string): Observable { + this.authService.authenticateRequest(request); + return this.con.post(this.FakeAttendanceSwipeURL,request,onError,errorLabel); + } } \ No newline at end of file diff --git a/Mohem/src/app/my-team/details/details.component.scss b/Mohem/src/app/my-team/details/details.component.scss index df918ed7..136a9943 100644 --- a/Mohem/src/app/my-team/details/details.component.scss +++ b/Mohem/src/app/my-team/details/details.component.scss @@ -20,7 +20,7 @@ ion-title{ .contentBg:before { position: absolute; content: ""; - background: #65C399; + background: #269DB8; height: 140px; width: 100%; left: 0; @@ -89,7 +89,7 @@ ion-title{ border-radius: $actionBtnSize; margin: 0 auto; display: block; - background-color: #65C399; + background-color: #269DB8; line-height: $actionBtnSize; margin-bottom: 3px; img{ @@ -130,7 +130,7 @@ ion-title{ .active-Segment { font-size: 0.3cm !important; - background: #65C399 !important; + background: #269DB8 !important; text-transform: none; --color-checked: none; border-radius: 100px; @@ -162,7 +162,7 @@ ion-title{ } .search-dropdown{ - background: #65C399; + background: #269DB8; ion-select { .select-text{ margin-left: -10px; @@ -223,7 +223,7 @@ ion-title{ .activeArrow{ height: 20px; width: 20px; - color: #65C399; + color: #269DB8; } .disabledArrow{ height: 20px; @@ -234,7 +234,7 @@ ion-title{ .activeArrow-ar{ height: 20px; width: 20px; - color: #65C399; + color: #269DB8; margin-right: 275px; } .disabledArrow-ar{ @@ -389,13 +389,13 @@ ion-title{ } .green-label-container{ - border-top: 5px solid #65C399; + border-top: 5px solid #269DB8; padding: 1px 0px; margin: 15px 0px } .blue-label-container{ - border-top: 5px solid #094875; + border-top: 5px solid #292F42; padding: 1px 0px; margin: 15px 0px } diff --git a/Mohem/src/app/my-team/details/details.component.ts b/Mohem/src/app/my-team/details/details.component.ts index 91805532..42f15451 100644 --- a/Mohem/src/app/my-team/details/details.component.ts +++ b/Mohem/src/app/my-team/details/details.component.ts @@ -280,8 +280,8 @@ export class DetailsComponent implements OnInit { { data: [this.absentDays, this.attendedDays], backgroundColor: [ - '#094875', - '#65C399' + '#269DB8', + '#269DB8' ], borderWidth: 2 }] diff --git a/Mohem/src/app/my-team/home/home.component.scss b/Mohem/src/app/my-team/home/home.component.scss index 735f5987..ded6a0aa 100644 --- a/Mohem/src/app/my-team/home/home.component.scss +++ b/Mohem/src/app/my-team/home/home.component.scss @@ -18,7 +18,7 @@ ion-title{ .contentBg:before { position: absolute; content: ""; - background: #65C399; + background: #269DB8; height: 140px; width: 100%; left: 0; @@ -89,7 +89,7 @@ ion-content { } } .search-dropdown{ - background: #65C399; + background: #269DB8; ion-select { .select-text{ margin-left: -10px; diff --git a/Mohem/src/app/my-team/home/home.component.ts b/Mohem/src/app/my-team/home/home.component.ts index 1dab5abb..edc30021 100644 --- a/Mohem/src/app/my-team/home/home.component.ts +++ b/Mohem/src/app/my-team/home/home.component.ts @@ -39,7 +39,7 @@ export class HomeComponent implements OnInit { { data: [100], backgroundColor: [ - '#65C399' + '#269DB8' ], borderWidth: 5 }] diff --git a/Mohem/src/app/notification/home/home.component.scss b/Mohem/src/app/notification/home/home.component.scss index 88200d03..e9575ea3 100644 --- a/Mohem/src/app/notification/home/home.component.scss +++ b/Mohem/src/app/notification/home/home.component.scss @@ -246,7 +246,7 @@ height: 100%; .contentBg:before { position: absolute; content: ""; -background: #65C399; +background: #269DB8; height: 140px; width: 100%; left: 0; @@ -381,7 +381,7 @@ left: -35px; border-radius: 50%; width: 15px; height: 15px; -background-color: #38c9b3; +background-color: #269DB8; top: 1px; } @@ -448,7 +448,7 @@ border-radius: 15px; .text-span-active{ font-size: 12px; color: #888; -background-color:#65C399; +background-color:#269DB8; width: 93%; height: 30px; border: 1px solid; diff --git a/Mohem/src/app/notification/work-list-attach-view/work-list-attach-view.component.scss b/Mohem/src/app/notification/work-list-attach-view/work-list-attach-view.component.scss index c8b999eb..1e941e1b 100644 --- a/Mohem/src/app/notification/work-list-attach-view/work-list-attach-view.component.scss +++ b/Mohem/src/app/notification/work-list-attach-view/work-list-attach-view.component.scss @@ -1,3 +1,3 @@ .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } \ No newline at end of file diff --git a/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html b/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html index a03ddca2..70329cb2 100644 --- a/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html +++ b/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html @@ -1,5 +1,5 @@ - + {{ 'vacation-rule, search-employee' | translate}} diff --git a/Mohem/src/app/payslip/home/home.component.scss b/Mohem/src/app/payslip/home/home.component.scss index 0abf02aa..5b6eeb2b 100644 --- a/Mohem/src/app/payslip/home/home.component.scss +++ b/Mohem/src/app/payslip/home/home.component.scss @@ -70,14 +70,14 @@ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .colorBG{ --background: #f0efef; } .header-div { - background-color: #65C399; + background-color: #269DB8; text-transform: capitalize; height: 119px; position: relative; @@ -320,7 +320,7 @@ margin-top: 0; margin-bottom: 0; /* border-radius: 12px !important; */ - background: #094875; + background: #269DB8; border-bottom: 1px solid #a7a4a4; border-top: 1px solid #cac8c8; margin-left: -13px; @@ -368,7 +368,7 @@ left: 83%; bottom: 117px; color: black; - background-color: #65C399; + background-color: #269DB8; width: 16%; height: 6px; } @@ -377,13 +377,13 @@ // left: 77%; // bottom: 117px; // color: black; - // background-color: #65C399; + // background-color: #269DB8; // width: 20%; height: 6px; position: relative; left: 4%; bottom: 117px; color: black; - background-color: #65C399; + background-color: #269DB8; width: 15%; height: 6px; } @@ -394,7 +394,7 @@ left: 83%; bottom: 67px; color: black; - background-color: #094875; + background-color: #269DB8; width: 16%; height: 6px; } @@ -403,13 +403,13 @@ // left: 77%; // bottom: 67px; // color: black; - // background-color: #094875; + // background-color: #269DB8; // width: 20%; height: 6px; position: relative; left: 4%; bottom: 67px; color: black; - background-color: #094875; + background-color: #269DB8; width: 15%; height: 6px; } \ No newline at end of file diff --git a/Mohem/src/app/payslip/home/home.component.ts b/Mohem/src/app/payslip/home/home.component.ts index 51f8016c..8be10fe1 100644 --- a/Mohem/src/app/payslip/home/home.component.ts +++ b/Mohem/src/app/payslip/home/home.component.ts @@ -239,8 +239,8 @@ slidePrev(object, slideView) { datasets: [ { data: [this.earingTotal,this.deductionTotal], backgroundColor: [ - '#65C399', - '#094875', ], + '#269DB8', + '#269DB8', ], borderWidth: 2 } ] diff --git a/Mohem/src/app/profile/edit-profile/edit-profile.component.scss b/Mohem/src/app/profile/edit-profile/edit-profile.component.scss index 432f0612..ccb2a610 100644 --- a/Mohem/src/app/profile/edit-profile/edit-profile.component.scss +++ b/Mohem/src/app/profile/edit-profile/edit-profile.component.scss @@ -9,14 +9,14 @@ } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .colorBG{ --background: #f0efef; } .header-div{ text-transform: capitalize; - background: #65C399; + background: #269DB8; display: block; position: relative; height: 113px; @@ -78,7 +78,7 @@ .gridService{ - // background-color: #094875; + // background-color: #269DB8; margin-top: 87px; border-radius: 10px; margin-bottom: -49px; @@ -88,7 +88,7 @@ } .columns{ margin: 10px; - background: #094875; + background: #269DB8; border-radius: 27px; padding-left: 30px; padding-right: 6px; @@ -97,7 +97,7 @@ } .columns-ar{ margin: 10px; - background: #094875; + background: #269DB8; border-radius: 27px; padding-left: 7px; padding-right: 3px; diff --git a/Mohem/src/app/profile/home/home.component.scss b/Mohem/src/app/profile/home/home.component.scss index ab1cf255..d60f3b9c 100644 --- a/Mohem/src/app/profile/home/home.component.scss +++ b/Mohem/src/app/profile/home/home.component.scss @@ -7,7 +7,7 @@ ion-col.colBold, ion-col.colBold > label{ } .header-div{ text-transform: capitalize; - background: #65C399; + background: #269DB8; display: block; position: relative; height: 160px; diff --git a/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.scss b/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.scss index 1c96ac08..c824c8a6 100644 --- a/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.scss +++ b/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.scss @@ -6,7 +6,7 @@ } .header-div{ text-transform: capitalize; - background: #65C399; + background: #269DB8; display: block; position: relative; height: 160px; diff --git a/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.ts b/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.ts index 2b08b130..a755c831 100644 --- a/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.ts +++ b/Mohem/src/app/profile/performance-evaluation/performance-evaluation.component.ts @@ -46,7 +46,7 @@ export class PerformanceEvaluationComponent implements OnInit { colorScheme = { - domain: ['#65C399', '#094875', '#3CB9D5', '#1FA269', '#0D155E'] + domain: ['#269DB8', '#269DB8', '#3CB9D5', '#1FA269', '#0D155E'] }; ngOnInit() { diff --git a/Mohem/src/app/profile/profile-image/profile-image.component.scss b/Mohem/src/app/profile/profile-image/profile-image.component.scss index 1f9d686b..c686e7e3 100644 --- a/Mohem/src/app/profile/profile-image/profile-image.component.scss +++ b/Mohem/src/app/profile/profile-image/profile-image.component.scss @@ -9,7 +9,7 @@ // border-radius: 50% !important; // } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } .imgCircle{ @@ -50,5 +50,5 @@ width: 234px; } .header-toolbar-new{ - --background: #65C399; + --background: #269DB8; } \ No newline at end of file diff --git a/Mohem/src/app/time-card/time-card-details/time-card-details.component.scss b/Mohem/src/app/time-card/time-card-details/time-card-details.component.scss index ba490355..ef433546 100644 --- a/Mohem/src/app/time-card/time-card-details/time-card-details.component.scss +++ b/Mohem/src/app/time-card/time-card-details/time-card-details.component.scss @@ -185,7 +185,7 @@ // .header-div { -// background-color: #65C399; +// background-color: #269DB8; // text-transform: capitalize; // height: 180px; // position: relative; @@ -214,7 +214,7 @@ // .navbar{ // font-size: 10px !important; -// --background: #65C399 !important; +// --background: #269DB8 !important; // color: aliceblue !important; // // margin-top: 10px !important; @@ -224,7 +224,7 @@ // // margin-left:330px !important; // margin-top: 0px !important; // font-size: 35px !important; -// background: #65C399; +// background: #269DB8; // color: aliceblue; // margin-left: 0px !important; @@ -235,7 +235,7 @@ // margin-left:100px !important; // margin-top: 0px !important; // font-size: 23px !important; -// background: #65C399 !important; +// background: #269DB8 !important; // color: aliceblue !important; // } @@ -374,7 +374,7 @@ // background:var(--primary); // background: -moz-linear-gradient(45deg, var(--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); // background: -webkit-linear-gradient(45deg, (--primary) 0%, var(--secondary) 36%,var(--secondary) 59%, var(--customnavy) 100%); -// background: #65C399; +// background: #269DB8; // // background: linear-gradient(90deg, #85C48D 0%, #85C48D 13%, #2BB5C6 98%, #2BB5C6 100%); // color:var(--light); // text-transform: capitalize; @@ -508,7 +508,7 @@ ion-title{ .contentBg:before { position: absolute; content: ""; -background: #65C399; +background: #269DB8; height: 140px; width: 100%; left: 0; @@ -577,7 +577,7 @@ $actionBtnSize : 36px; border-radius: $actionBtnSize; margin: 0 auto; display: block; - background-color: #65C399; + background-color: #269DB8; line-height: $actionBtnSize; margin-bottom: 3px; img{ @@ -617,7 +617,7 @@ $actionBtnSize : 36px; .active-Segment { font-size: 0.3cm !important; - background: #65C399 !important; + background: #269DB8 !important; text-transform: none; --color-checked: none; border-radius: 100px; @@ -649,7 +649,7 @@ $actionBtnSize : 36px; } .search-dropdown{ - background: #65C399; + background: #269DB8; ion-select { .select-text{ margin-left: -10px; @@ -864,13 +864,13 @@ $actionBtnSize : 36px; } .green-label-container{ - border-top: 5px solid #65C399; + border-top: 5px solid #269DB8; padding: 1px 0px; margin: 15px 0px } .blue-label-container{ - border-top: 5px solid #094875; + border-top: 5px solid #292F42; padding: 1px 0px; margin: 15px 0px } diff --git a/Mohem/src/app/time-card/time-card-details/time-card-details.component.ts b/Mohem/src/app/time-card/time-card-details/time-card-details.component.ts index ca5aabc3..638d68e0 100644 --- a/Mohem/src/app/time-card/time-card-details/time-card-details.component.ts +++ b/Mohem/src/app/time-card/time-card-details/time-card-details.component.ts @@ -184,8 +184,8 @@ export class TimeCardDetailsComponent implements OnInit { { data: [this.absentDays, this.attendedDays], backgroundColor: [ - '#094875', - '#65C399' + '#269DB8', + '#269DB8' ], borderWidth: 2 }] diff --git a/Mohem/src/assets/icon/login/lock.png b/Mohem/src/assets/icon/login/lock.png index eb5bea35..c2092651 100644 Binary files a/Mohem/src/assets/icon/login/lock.png and b/Mohem/src/assets/icon/login/lock.png differ diff --git a/Mohem/src/assets/imgs/menu_mohemm_logo.png b/Mohem/src/assets/imgs/menu_mohemm_logo.png index 005db9ec..5536c07e 100644 Binary files a/Mohem/src/assets/imgs/menu_mohemm_logo.png and b/Mohem/src/assets/imgs/menu_mohemm_logo.png differ diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index add5c3f0..297a4d18 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -873,6 +873,10 @@ } }, "home": { + "fake-location": { + "en": "We traced out that you try to use a fake location! This is considered a violation, and HR has been notified.", + "ar": ".لقد تتبعنا أنك تحاول استخدام موقع مزيف! يعتبر هذا مخالفة وقد تم إخطار الموارد البشرية" + }, "position-error": { "en": "Error getting your location. Please try again!", "ar": "Error getting your location. Please try again!" @@ -2596,11 +2600,11 @@ "ar": "احصائيات الحضور" }, "confirm-alert1": { - "en": "Are you sure, you want to", - "ar": "هل انت متأكد تريد لإنصراف من العمل؟" + "en": "Are you sure, you want to swipe?", + "ar": "هل أنت متأكد أنك تريد التمرير؟" }, "confirm-alert2": { - "en": " check out", + "en": "swipe", "ar": "" }, "confirm-alert3": { diff --git a/Mohem/src/theme/styles.scss b/Mohem/src/theme/styles.scss index b2cddf6a..983a2d04 100644 --- a/Mohem/src/theme/styles.scss +++ b/Mohem/src/theme/styles.scss @@ -1322,7 +1322,7 @@ border:0px --background: #094773 !important; } .header-toolbar-new { - --background: #65C399; + --background: #269DB8; } @@ -1340,7 +1340,7 @@ border:0px // margin-left:0; // } // .search-dropdown{ -// background: #65C399; +// background: #269DB8; // ion-select { // .select-text{ // margin-left: -10px; @@ -1413,7 +1413,7 @@ border:0px &.present { color:#fff !important; &:before { - background-color: #65C399 !important; + background-color: #269DB8 !important; } } @@ -1421,7 +1421,7 @@ border:0px &.absent { color:#fff !important; &:before { - background-color:#1a586d !important; + background-color:#292F42 !important; } } @@ -1473,7 +1473,7 @@ border:0px // border-radius: 50%; // } // .absent::after{ -// background: #094875; +// background: #269DB8; // } // .present::after{ @@ -1522,7 +1522,7 @@ table.monthview-datetable th small { top: auto; bottom: -8px; .swiper-pagination-bullet-active { - background: #094875; + background: #269DB8; } } diff --git a/Mohem/src/theme/variables.scss b/Mohem/src/theme/variables.scss index 0297d1fd..963c1e72 100644 --- a/Mohem/src/theme/variables.scss +++ b/Mohem/src/theme/variables.scss @@ -69,8 +69,8 @@ --red:#BE1E2D; --blue:#223262; --cyanblue:#1b75bc; - --newgreen:#65C399; - --darkblue:#094875; + --newgreen:#269DB8; + --darkblue:#269DB8; --lightblue:#3cb9d5; --newred:#cb3232; // $font-family-base: $fontFamilyMediumEN !default;