Fairoj : issue_fixes

This commit is contained in:
venbatechnologies@gmail.com 2019-10-17 15:51:21 +05:30
parent 6e3425568b
commit f4089a1282
23 changed files with 46 additions and 14 deletions

View File

@ -92,6 +92,7 @@
<variable name="GEOLOCATION_USAGE_DESCRIPTION" value="To locate you" />
</plugin>
<plugin name="cordova-plugin-camera" spec="~4.0.3" />
<plugin name="cordova-plugin-app-version" spec="0.1.9" />
<engine name="browser" spec="5.0.4" />
<engine name="android" spec="7.1.1" />
</widget>

View File

@ -51,4 +51,4 @@
"PACKAGE_NAME": "io.ionic.starterlen"
}
}
}
}

View File

@ -38,7 +38,7 @@
"PACKAGE_NAME": "io.ionic.starter"
},
"cordova-plugin-app-version": {
"PACKAGE_NAME": "io.ionic.starterlen"
"PACKAGE_NAME": "com.sineedge.pdglender"
}
},
"dependent_plugins": {
@ -46,4 +46,4 @@
"PACKAGE_NAME": "io.ionic.starter"
}
}
}
}

0
plugins/cordova-plugin-app-version/CHANGELOG.md Executable file → Normal file
View File

0
plugins/cordova-plugin-app-version/LICENSE Executable file → Normal file
View File

0
plugins/cordova-plugin-app-version/README.md Executable file → Normal file
View File

0
plugins/cordova-plugin-app-version/VERSION Executable file → Normal file
View File

2
plugins/cordova-plugin-app-version/package.json Executable file → Normal file
View File

@ -22,7 +22,7 @@
"_resolved": "https://registry.npmjs.org/cordova-plugin-app-version/-/cordova-plugin-app-version-0.1.9.tgz",
"_shasum": "9db0607863337a710489302e5f50a904f1449bdb",
"_spec": "cordova-plugin-app-version",
"_where": "S:\\pd_office\\sineedgelenderapp",
"_where": "/home/rajasekar/project/SineEdge/sineedgelenderapp",
"author": {
"name": "whiteoctober"
},

0
plugins/cordova-plugin-app-version/plugin.xml Executable file → Normal file
View File

View File

View File

View File

0
plugins/cordova-plugin-app-version/src/windows/AppVersionProxy.js vendored Executable file → Normal file
View File

View File

0
plugins/cordova-plugin-app-version/www/AppVersionPlugin.js vendored Executable file → Normal file
View File

View File

View File

@ -45,9 +45,11 @@ export class MyApp {
// Here you can do any higher level native things you might need.
this.statusBar.styleDefault();
this.appVersionProvide.getVersionNumber().then(version_number=>{
console.log("version number",version_number);
this.app_version=version_number
},
err=>console.log(err))
},err=>{
console.log("Version Error",err);
})
if (this.platform.is('android')) {
this.statusBar.overlaysWebView(false);
this.statusBar.backgroundColorByHexString('#E00201');

View File

@ -80,7 +80,7 @@
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<mat-select matInput placeholder="Product Name" name="proName" formControlName="proName" (selectionChange)="getsubproduct($event.value)">
<mat-select placeholder="Product Name" name="proName" formControlName="proName" (selectionChange)="getsubproduct($event.value)">
<mat-option>--</mat-option>
<mat-option *ngFor = "let p of proname" [value]="p.product_id">{{p.product_name}}</mat-option>

View File

@ -165,14 +165,15 @@ btnaccess:boolean = false;
if(this.proname.dataStatus == true)
{
if(this.lenderName == 'CLIX'){
let getProductAbbr = this.proname.records.map(dval => dval.product_abbr);
console.log("dd pro name",this.proname)
let getProductAbbr = this.proname.records.products.map(dval => dval.product_abbr);
let ClixProductAbbr = ['BL','LAEP'];
let FilteredAbbr: any = [];
FilteredAbbr = ClixProductAbbr.map(x => {
let findIndex = getProductAbbr.indexOf(x);
return this.proname.records[findIndex];
return this.proname.records.products[findIndex];
});
this.proname = FilteredAbbr.length > 0 ? FilteredAbbr : this.proname.records;
this.proname = FilteredAbbr.length > 0 ? FilteredAbbr : this.proname.records.products;
}
else{
this.proname = this.proname.records.products;

View File

@ -151,7 +151,7 @@
</ion-col>
</ion-row>
<ion-row>
<ion-row *ngIf="pdFullDetails.pd_contact_person != '' && pdFullDetails.pd_contact_person != null">
<ion-col text-left>
<span><ion-icon name="md-person"></ion-icon>&nbsp; {{pdFullDetails.pd_contact_person}}</span>
</ion-col>
@ -159,6 +159,34 @@
<span><ion-icon name="md-call"></ion-icon>&nbsp;{{pdFullDetails.pd_contact_mobileno}} </span>
</ion-col>
</ion-row>
<div *ngIf="pdFullDetails.lender_credit_person_name != '' && pdFullDetails.lender_credit_person_contact_mobileno != null">
<hr>
<mat-card-subtitle>
Credit Person
</mat-card-subtitle>
<ion-row >
<ion-col text-left>
<span><ion-icon name="md-person"></ion-icon>&nbsp; {{pdFullDetails.lender_credit_person_name}}</span>
</ion-col>
<ion-col text-right>
<span><ion-icon name="md-call"></ion-icon>&nbsp;{{pdFullDetails.lender_credit_person_contact_mobileno}} </span>
</ion-col>
</ion-row>
</div>
<div *ngIf="pdFullDetails.lender_sales_person_name != '' && pdFullDetails.lender_sales_person_name != null">
<hr>
<mat-card-subtitle>
Sales Person
</mat-card-subtitle>
<ion-row >
<ion-col text-left>
<span><ion-icon name="md-person"></ion-icon>&nbsp; {{pdFullDetails.lender_sales_person_name}}</span>
</ion-col>
<ion-col text-right>
<span><ion-icon name="md-call"></ion-icon>&nbsp;{{pdFullDetails.lender_sales_contact_mobileno}} </span>
</ion-col>
</ion-row>
</div>
<hr>
<ion-row>
<ion-col>

View File

@ -50,7 +50,7 @@ export class ConstantsProvider {
lenUserPoolId: "ap-south-1_hFiGyr1Gw", // Username
lenClientId: "38v9rpp1495v60e1gd14mj6rjr", // ClientName for Mobile
}
return testing;
return production;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long