+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
diff --git a/merchant/tablet-ionic/src/components/order/make-order/+warehouse-order-modal/warehouse-order-modal.component.scss b/merchant/tablet-ionic/src/components/order/make-order/+warehouse-order-modal/warehouse-order-modal.component.scss
index 4c08963a1..3e7190a19 100644
--- a/merchant/tablet-ionic/src/components/order/make-order/+warehouse-order-modal/warehouse-order-modal.component.scss
+++ b/merchant/tablet-ionic/src/components/order/make-order/+warehouse-order-modal/warehouse-order-modal.component.scss
@@ -1,7 +1,7 @@
-nb-card {
+.nb-card {
margin: 0;
- nb-card-header {
+ .nb-card-header {
border: none;
div.checkbox label {
cursor: pointer;
@@ -17,7 +17,7 @@ nb-card {
}
}
- nb-card-body {
+ .nb-card-body {
padding: 0;
ng2-smart-table {
@@ -25,7 +25,7 @@ nb-card {
}
}
- nb-card-footer {
+ .nb-card-footer {
button {
float: right;
margin-right: 2%;
diff --git a/merchant/tablet-ionic/src/pages/+carriers/add-carriers-popup/add-new-carrier/add-new-carrier.ts b/merchant/tablet-ionic/src/pages/+carriers/add-carriers-popup/add-new-carrier/add-new-carrier.ts
index 3f3d41287..61d611ab6 100644
--- a/merchant/tablet-ionic/src/pages/+carriers/add-carriers-popup/add-new-carrier/add-new-carrier.ts
+++ b/merchant/tablet-ionic/src/pages/+carriers/add-carriers-popup/add-new-carrier/add-new-carrier.ts
@@ -9,7 +9,6 @@ import {
OnChanges
} from '@angular/core';
import { ICarrierCreateObject } from '@modules/server.common/interfaces/ICarrier';
-
import { getDummyImage } from '@modules/server.common/utils';
import { FileUploader } from 'ng2-file-upload';
import { BasicInfoFormComponent } from './basic-info/basic-info-form.component';
@@ -19,8 +18,8 @@ import { LocationFormComponent } from './location/location-form.component';
@Component({
selector: 'add-new-carrier',
- templateUrl: 'add-new-carrier.html',
- styleUrls: ['/add-new-carrier.scss']
+ templateUrl: './add-new-carrier.html',
+ styleUrls: ['./add-new-carrier.scss']
})
export class AddNewCarrierComponent implements OnInit, OnDestroy, OnChanges {
uploader: FileUploader;
@@ -108,7 +107,7 @@ export class AddNewCarrierComponent implements OnInit, OnDestroy, OnChanges {
this.isNextStepThreeAvailable = false;
}
- toStep2event(data) {
+ toStep2event($event) {
this.isNextStepOneAvailable = false;
this.isNextStepTwoAvailable = true;
this.isNextStepThreeAvailable = false;
diff --git a/merchant/tablet-ionic/src/pages/+carriers/carrier-addr-popup/carrier-addr-popup.ts b/merchant/tablet-ionic/src/pages/+carriers/carrier-addr-popup/carrier-addr-popup.ts
index b978a501c..8f5264a5c 100644
--- a/merchant/tablet-ionic/src/pages/+carriers/carrier-addr-popup/carrier-addr-popup.ts
+++ b/merchant/tablet-ionic/src/pages/+carriers/carrier-addr-popup/carrier-addr-popup.ts
@@ -18,12 +18,12 @@ export class CarrierAddrPopupPage implements OnInit {
@Input()
geoLocation: GeoLocation;
- private city: any;
- private country: any;
- private street: any;
- private house: any;
- private apartment: any;
- private coordinates: any;
+ city: any;
+ country: any;
+ street: any;
+ house: any;
+ apartment: any;
+ coordinates: any;
constructor(public modalCtrl: ModalController) {}
diff --git a/merchant/tablet-ionic/src/pages/+carriers/carrier-edit-popup/carrier-edit-popup.ts b/merchant/tablet-ionic/src/pages/+carriers/carrier-edit-popup/carrier-edit-popup.ts
index 17577e18d..66c36c08c 100644
--- a/merchant/tablet-ionic/src/pages/+carriers/carrier-edit-popup/carrier-edit-popup.ts
+++ b/merchant/tablet-ionic/src/pages/+carriers/carrier-edit-popup/carrier-edit-popup.ts
@@ -127,6 +127,7 @@ export class CarrierEditPopupPage implements OnInit, OnDestroy, OnChanges {
this.cancelModal();
}
+
get password() {
return this.accountForm.password.value;
}
@@ -137,8 +138,7 @@ export class CarrierEditPopupPage implements OnInit, OnDestroy, OnChanges {
this.isNextStepThreeAvailable = false;
}
- toStep2event() {
- // This is event emitter, not a function
+ toStep2event($event) {
this.isNextStepOneAvailable = false;
this.isNextStepTwoAvailable = true;
this.isNextStepThreeAvailable = false;
@@ -155,6 +155,7 @@ export class CarrierEditPopupPage implements OnInit, OnDestroy, OnChanges {
this.isNextStepTwoAvailable = false;
this.isNextStepThreeAvailable = true;
}
+
cancelModal() {
this.modalCtrl.dismiss();
}
@@ -163,6 +164,7 @@ export class CarrierEditPopupPage implements OnInit, OnDestroy, OnChanges {
const prevOrComplete = data;
this.buttonClickEvent.emit(prevOrComplete);
}
+
onClickComplete(data) {
this._updateCarrier();
}
diff --git a/merchant/tablet-ionic/src/pages/+customers/customer-email-popup/customer-email-popup.ts b/merchant/tablet-ionic/src/pages/+customers/customer-email-popup/customer-email-popup.ts
index 94c2b2ef6..15bc7196e 100644
--- a/merchant/tablet-ionic/src/pages/+customers/customer-email-popup/customer-email-popup.ts
+++ b/merchant/tablet-ionic/src/pages/+customers/customer-email-popup/customer-email-popup.ts
@@ -11,7 +11,7 @@ export class CustomerEmailPopupPage implements OnInit {
@Input()
user: any;
- private email: any;
+ email: any;
constructor(
public loadingCtrl: LoadingController,
diff --git a/merchant/tablet-ionic/src/pages/+language/language.ts b/merchant/tablet-ionic/src/pages/+language/language.ts
index 5857cf3d3..502b3c896 100644
--- a/merchant/tablet-ionic/src/pages/+language/language.ts
+++ b/merchant/tablet-ionic/src/pages/+language/language.ts
@@ -18,8 +18,8 @@ export class LanguagePage implements OnInit {
selected: string;
constructor(
+ public translate: TranslateService,
private _deviceRouter: DeviceRouter,
- private translate: TranslateService,
private store: Store
) {}
diff --git a/merchant/tablet-ionic/src/pages/+track/track.ts b/merchant/tablet-ionic/src/pages/+track/track.ts
index 6994bfedd..2559c55c1 100644
--- a/merchant/tablet-ionic/src/pages/+track/track.ts
+++ b/merchant/tablet-ionic/src/pages/+track/track.ts
@@ -29,7 +29,7 @@ export class TrackPage implements OnInit, OnDestroy {
map: google.maps.Map;
selectedCarrier: Carrier;
- private carriers: Carrier[];
+ carriers: Carrier[];
private carriers$: Subscription;
private warehouse$: Subscription;
private params$: Subscription;
diff --git a/merchant/tablet-ionic/src/pages/+warehouse/product-pictures-popup/product-images-popup.component.html b/merchant/tablet-ionic/src/pages/+warehouse/product-pictures-popup/product-images-popup.component.html
index 07eb81a29..f8cc40820 100644
--- a/merchant/tablet-ionic/src/pages/+warehouse/product-pictures-popup/product-images-popup.component.html
+++ b/merchant/tablet-ionic/src/pages/+warehouse/product-pictures-popup/product-images-popup.component.html
@@ -12,7 +12,7 @@