Fairoj: Address Name Change

This commit is contained in:
saravanakumarkandasami 2019-03-05 18:40:01 +05:30
parent 1142ca648c
commit d1ee00a230
39 changed files with 231552 additions and 78 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
#Thu Feb 28 17:16:42 IST 2019
#Fri Mar 01 15:12:18 IST 2019
base.0=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\transforms\\dexMerger\\debug\\0
path.0=classes.dex
renamed.0=classes.dex

View File

@ -1,5 +1,5 @@
#Internal package file, do not edit.
#Thu Feb 28 17:16:42 IST 2019
#Fri Mar 01 15:12:19 IST 2019
56.path=classes.dex
5.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
42.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
@ -16,7 +16,7 @@
21.set=ASSET
46.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
39.set=ASSET
26.path=www/plugins/cordova-plugin-dialogs/www/android/notification.js
26.path=www/assets/fonts/Roboto-Bold.ttf
56.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\transforms\\dexMerger\\debug\\0
6.baseType=DIRECTORY
36.path=www/assets/img/misc/login.jpg
@ -72,7 +72,7 @@
48.baseType=DIRECTORY
39.baseType=DIRECTORY
20.baseType=DIRECTORY
27.path=www/assets/fonts/Roboto-Bold.ttf
27.path=www/plugins/cordova-plugin-dialogs/www/android/notification.js
58.baseType=DIRECTORY
57.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
37.path=www/cordova-js-src/plugin/android/app.js
@ -137,7 +137,7 @@ count=61
48.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
28.path=www/assets/fonts/Roboto-Regular.ttf
30.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
10.path=www/assets/fonts/Roboto-Medium.ttf
10.path=www/assets/img/misc/avatar.jpg
58.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
13.baseType=DIRECTORY
50.baseType=DIRECTORY
@ -241,7 +241,7 @@ count=61
5.baseType=DIRECTORY
1.base=S\:\\pd_office\\sineedgelenderapp\\platforms\\android\\app\\build\\intermediates\\assets\\debug
54.set=ASSET
9.path=www/assets/img/misc/avatar.jpg
9.path=www/assets/fonts/Roboto-Medium.ttf
46.path=www/cordova-js-src/android/nativeapiprovider.js
5.set=ASSET
43.set=ASSET

File diff suppressed because one or more lines are too long

View File

@ -21,15 +21,15 @@
</div> -->
<mat-form-field style="width:100%">
<mat-select placeholder="Choose the Lender Branch" formControlName="pd_branch_id" required>
<mat-select placeholder="Branch from where Triggered" formControlName="pd_branch_id" required>
<mat-option *ngFor="let branch of branchList" [value]="branch.entity_lender_branch_id">{{ branch.branch_name }} </mat-option>
</mat-select>
</mat-form-field>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Applicatio ID" type="text" name="lenAppID" formControlName="lenAppID"required>
<mat-error *ngIf="pdforms.controls['lenAppID'].hasError('required')">Applicant ID Required</mat-error>
<input matInput placeholder="Application ID" type="text" name="lenAppID" formControlName="lenAppID"required>
<mat-error *ngIf="pdforms.controls['lenAppID'].hasError('required')">Application ID Required</mat-error>
</mat-form-field>
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
@ -40,7 +40,7 @@
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Lender Contact Number" type="tel" name="pdcontectno" maxlength="10" formControlName="pdcontectno"required>
<input matInput placeholder="Lender Contact Number" type="tel" name="pdcontectno" minlength="10" maxlength="10" formControlName="pdcontectno"required>
<mat-error *ngIf="pdforms.controls['pdcontectno'].hasError('required')">Lender Contact Number Required</mat-error>
</mat-form-field>
</div>
@ -49,7 +49,7 @@
<mat-form-field style="width: 30%">
<input matInput placeholder="STD Code" type="tel" minlength="2" maxlength="4" name="mainapplandline" formControlName="lender_stdcode">
<input matInput placeholder="STD Code" type="tel" minlength="3" maxlength="5" name="mainapplandline" formControlName="lender_stdcode">
</mat-form-field> &nbsp; - &nbsp;<mat-form-field style="width: 60%">
<input matInput placeholder="Landline Number" type="tel" minlength="6" maxlength="8" name="mainapplandline" formControlName="lender_landline">
@ -152,9 +152,11 @@
</mat-select>
</mat-form-field>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%" *ngIf="display_city_pin[i]">
<!-- <input type="number" maxlength="2" matInput placeholder="PIN" formControlName="pincode"> -->
<mat-form-field style="width:100%" *ngIf="display_city_pin[i]">
<input type="number" minlength="6" maxlength="6" matInput placeholder="Pincode" formControlName="pincode">
</mat-form-field>
<!-- <div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%" *ngIf="display_city_pin[i]">
<mat-select formControlName="pincode" placeholder="Pincode">
<mat-option *ngFor="let pin of pincodeList[i]" [value]="pin.pincode_id">{{pin.pincode}}</mat-option>
</mat-select>
@ -162,7 +164,7 @@
</div>
<mat-form-field *ngIf="address.controls['pincode'].value == 1">
<input matInput type="number" placeholder="Specify Pincode" formControlName="other_pincode">
</mat-form-field>
</mat-form-field> -->
<ion-buttons end>
<ion-col col-3 offset-3>
<button ion-button clear color="optblue" (click)="removeAddress(i)"><ion-icon style="font-size: 22px" name="md-trash"></ion-icon></button>
@ -201,7 +203,7 @@
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Individual Name" type="text" name="lenName" formControlName="mainappname" required>
<input matInput placeholder="Name of Individual Applicant" type="text" name="lenName" formControlName="mainappname" required>
<mat-error *ngIf="pdforms.controls['mainappname'].hasError('required')">Individual Name is Required</mat-error>
</mat-form-field>
</div>
@ -212,15 +214,15 @@
</div>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">
<input matInput placeholder="Mobile Number" type="tel" maxlength="10" name="mainappphone" formControlName="mainappphone" required>
<input matInput placeholder="Mobile Number" type="tel" minlength="10" maxlength="10" name="mainappphone" formControlName="mainappphone" required>
<mat-error *ngIf="pdforms.controls['mainappname'].hasError('required')">Mobile Number is Required</mat-error>
</mat-form-field>
</div>
<mat-form-field style="width: 20%">
<input matInput autocomplete="off" type="tel" minlength="2" maxlength="4" placeholder="STD Code" formControlName="applicant_stdcode" >
<mat-form-field style="width: 30%">
<input matInput autocomplete="off" type="tel" minlength="3" maxlength="5" placeholder="STD Code" formControlName="applicant_stdcode" >
<!-- <mat-error *ngIf="pdMain.applicant_stdcode.hasError('maxlength') || pdMain.applicant_stdcode.hasError('minlength')">Enter Valid STD Code Number. </mat-error> -->
</mat-form-field> &nbsp; - &nbsp;
</mat-form-field>&nbsp; - &nbsp;
<mat-form-field style="width: 60%">
<input matInput autocomplete="off" type="tel" minlength="6" maxlength="8" placeholder="Landline Number" formControlName="applicant_landline">
<!-- <mat-error *ngIf="pdMain.applicant_landline.hasError('maxlength') || pdMain.applicant_landline.hasError('minlength')">Enter Valid LandLine Number. </mat-error> -->
@ -234,18 +236,18 @@
</mat-select>
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Individual Name" type="text" name="lenName" formControlName="mainappname">
<input matInput placeholder="Name of Individual Applicant" type="text" name="lenName" formControlName="mainappname">
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Company / Firm Name" type="text" name="mainappcompany" formControlName="mainappcompany">
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput placeholder="Mobile Number" type="tel" maxlength="10" name="mainappphone" formControlName="mainappphone">
<input matInput placeholder="Mobile Number" type="tel" minlength="10" maxlength="10" name="mainappphone" formControlName="mainappphone">
</mat-form-field>
<mat-form-field style="width: 20%">
<input matInput autocomplete="off" minlength="2" maxlength="4" placeholder="STD Code" formControlName="applicant_stdcode" type="tel" >
<mat-form-field style="width: 30%">
<input matInput autocomplete="off" minlength="3" maxlength="5" placeholder="STD Code" formControlName="applicant_stdcode" type="tel" >
<!-- <mat-error *ngIf="pdMain.applicant_stdcode.hasError('maxlength') || pdMain.applicant_stdcode.hasError('minlength')">Enter Valid STD Code Number. </mat-error> -->
</mat-form-field> &nbsp; - &nbsp;
</mat-form-field>&nbsp; - &nbsp;
<mat-form-field style="width: 60%">
<input matInput autocomplete="off" minlength="6" maxlength="8" placeholder="Landline Number" formControlName="applicant_landline" type="tel">
<!-- <mat-error *ngIf="pdMain.applicant_landline.hasError('maxlength') || pdMain.applicant_landline.hasError('minlength')">Enter Valid LandLine Number. </mat-error> -->

View File

@ -58,38 +58,38 @@ btnaccess:boolean = false;
this.pddrops();
this.pdforms = this.fb.group({
pd_branch_id:[null,Validators.compose([Validators.required])],
lenAppID:[null,Validators.compose([Validators.required])],
proName:[null],
subProName:[null],
customeSeg:[null],
pdType:[null],
loanAmt:[null],
lender_stdcode:[null],
lender_landline:[null],
pd_branch_id:['',Validators.compose([Validators.required])],
lenAppID:['',Validators.compose([Validators.required])],
proName:[''],
subProName:[''],
customeSeg:[''],
pdType:[''],
loanAmt:[''],
lender_stdcode:[''],
lender_landline:[''],
add2:[null],
add3:[null],
// add2:[''],
// add3:[''],
items: this.fb.array([]),
//Applicant Info
applicant_title_name:[null],
mainappname:[null],
mainappcompany:[null],
mainappphone:[null],
mainapplandline:[null],
applicant_stdcode:[null],
applicant_landline:[null],
applicant_title_name:[''],
mainappname:[''],
mainappcompany:[''],
mainappphone:[''],
mainapplandline:[''],
applicant_stdcode:[''],
applicant_landline:[''],
//End
//Co Applicant
co_applicant:this.fb.array([
// this.initPersonCoApplicant()
]),
pdcontactperson:[null,Validators.compose([Validators.required])],
pdcontectno:[null,Validators.compose([Validators.required])],
docName:[null],
remarks:[null],
pdcontactperson:['',Validators.compose([Validators.required])],
pdcontectno:['',Validators.compose([Validators.required])],
docName:[''],
remarks:[''],
address_field:this.fb.array([
this.initAddress()
])
@ -104,11 +104,11 @@ btnaccess:boolean = false;
}
initAddress(){
return this.fb.group({
add1:[null],
state:[null],
city:[null],
pincode:[null],
other_pincode:[null]
add1:[''],
state:[''],
city:[''],
pincode:[''],
other_pincode:['']
})
}
addAddress(){
@ -129,13 +129,13 @@ btnaccess:boolean = false;
}
initPersonCoApplicant(){
return this.fb.group({
applicant_title_name:[null],
mainappname:[null],
mainappcompany:[null],
mainappphone:[null],
mainapplandline:[null],
applicant_stdcode:[null],
applicant_landline:[null],
applicant_title_name:[''],
mainappname:[''],
mainappcompany:[''],
mainappphone:[''],
mainapplandline:[''],
applicant_stdcode:[''],
applicant_landline:[''],
})
}
@ -354,15 +354,16 @@ inWords(event){
lender_landline_no = pddata.lender_stdcode + '-' + pddata.lender_landline;
}
else {
lender_landline_no = null;
lender_landline_no = '';
}
}
else {
lender_landline_no = null;
lender_landline_no = '';
}
// console.log('226',this.pddocdata);
let pdstatus:any;
if(pddata.address_field[0].add1 !=null && pddata.address_field[0].city !=null && pddata.customeSeg !=null && pddata.lenAppID !=null && pddata.loanAmt !=null && pddata.mainappcompany !=null && pddata.mainappname !=null && pddata.mainappphone !=null && pddata.pdType !=null && pddata.pdcontactperson !=null && pddata.pdcontectno !=null && pddata.address_field[0].pincode !=null && pddata.proName !=null && pddata.address_field[0].state !=null && pddata.subProName !=null)
if(pddata.address_field[0].add1 !='' && pddata.address_field[0].city !='' && pddata.customeSeg !='' && pddata.lenAppID !='' && pddata.loanAmt !='' && pddata.mainappcompany !='' && pddata.mainappname !='' && pddata.mainappphone !='' && pddata.pdType !='' && pddata.pdcontactperson !='' && pddata.pdcontectno !='' && pddata.address_field[0].pincode !='' && pddata.proName !='' && pddata.address_field[0].state !='' && pddata.subProName !='')
{
pdstatus ="TRIGGERED";
}else{
@ -372,6 +373,10 @@ inWords(event){
let subprodcut = pddata.subProName;
let pdtype = pddata.pdType;
let customeSeg = pddata.customeSeg;
var addres:any;
if(pddata.address_field[0].add1!=''){
addres=pddata.address_field[0].add1.toUpperCase();
}
let state = pddata.address_field[0].state;
let city = pddata.address_field[0].city;
@ -396,11 +401,11 @@ inWords(event){
'pd_officier_final_judgement':'',
'pd_agency_id':'',
'loan_amount':pddata.loanAmt,
'addressline1':pddata.address_field[0].add1.toUpperCase() ,
'addressline1':addres ,
'fk_city':city,
'fk_state':state,
'pincode':pddata.address_field[0].pincode,
"other_pincode": pddata.address_field[0].other_pincode,
'pincode':1,
'other_pincode': pddata.address_field[0].pincode,
'bounce_reason':'',
'executive_id':'',
'pd_contact_person':pddata.pdcontactperson,
@ -410,12 +415,24 @@ inWords(event){
};
var std=pddata.applicant_stdcode
var landline=pddata.applicant_landline
if(std != '' && landline != ''){
if(std!=null && landline != null){
applicant_landline_no=std+'-'+landline
}
else{
applicant_landline_no=''
}
}
else{
applicant_landline_no=''
}
let pd_applicant_details:any =[
{
'applicant_title_name':pddata.applicant_title_name,
'company_name': pddata.mainappcompany,
'applicant_name':pddata.mainappname,
'mobile_no':pddata.mainappphone,
'landline':std+'-'+landline,
'landline':applicant_landline_no,
'applicant_type':1,
'relation':''
}];
@ -436,6 +453,7 @@ inWords(event){
}
let values={
'applicant_title_name':datas.applicant_title_name,
'company_name': datas.mainappcompany,
'applicant_name':datas.mainappname,
'mobile_no':datas.mainappphone,
'landline':coapplicant_landline_no,
@ -452,17 +470,17 @@ inWords(event){
let address:any=[]
pddata.address_field.forEach((datas)=>{
let datavalue={
'addressline':datas.add1.toUpperCase(),
'addressline1':datas.add1.toUpperCase(),
'fk_city':datas.city,
'fk_state':datas.state,
'pincode':datas.pincode,
"other_pincode": datas.other_pincode,
'pincode':1,
"other_pincode": datas.pincode,
}
address.push(datavalue)
})
formdata.append('addresses',JSON.stringify(address))
// console.log(pdDetailsData);
console.log("Pd" ,pdDetailsData);
// formdata.append('pd_details',JSON.stringify(pdDetailsData));
formdata.append('pd_details',JSON.stringify(pdDetailsData));

View File

@ -74,7 +74,7 @@
</ion-row>
<ion-row>
<ion-col> <!--For Checking the subProduct is not applicable-->
<span>{{pdFullDetails.product_name}}</span> <span *ngIf="pdFullDetails.subproduct_name != 'Not Applicable' ">/ {{pdFullDetails.subproduct_name}}.</span>
<span>{{pdFullDetails.product_name}}</span> <span *ngIf="pdFullDetails.subproduct_name != 'Not Applicable' && pdFullDetails.subproduct_name != '' && pdFullDetails.subproduct_name != null">/ {{pdFullDetails.subproduct_name}}.</span>
{{pdFullDetails.subproduct_id}}
</ion-col>
</ion-row>
@ -115,14 +115,17 @@
<ion-col col-1 class="cusicon"><ion-icon name="pin"></ion-icon></ion-col>
<ion-col class="cardinfo">{{pdFullDetails.addressline1}}<br/>
{{pdFullDetails.city_name}}<br/>
{{pdFullDetails.state_name}} - {{pdFullDetails.pincode}}</ion-col>
{{pdFullDetails.state_name}}
<span class="cardinfo" *ngIf="pdFullDetails.pincode !='' && pdFullDetails.pincode !=null && pdFullDetails.pincode != 'Others' ">- {{pdFullDetails.pincode}}</span>
<span class="cardinfo" *ngIf="pdFullDetails.pincode !='' && pdFullDetails.pincode !=null && pdFullDetails.pincode == 'Others'">- {{pdFullDetails.other_pincode}}</span></ion-col>
</ion-row>
<ng-template #noaddress>
<ion-row>
<ion-col col-1 class="cusicon"><ion-icon name="pin"></ion-icon></ion-col>
<ion-col class="cardinfo">
{{pdFullDetails.city_name}}<br/>
{{pdFullDetails.state_name}} - {{pdFullDetails.pincode}}</ion-col>
{{pdFullDetails.state_name}}
</ion-col>
</ion-row>
</ng-template>
<hr>

Binary file not shown.

View File

@ -0,0 +1,50 @@
// Ionicons Icon Font CSS
// --------------------------
// Ionicons CSS for Ionic's <ion-icon> element
// ionicons-icons.scss has the icons and their unicode characters
$ionicons-font-path: $font-path !default;
@import "ionicons-icons";
@import "ionicons-variables";
@font-face {
font-family: "Ionicons";
src: url("#{$ionicons-font-path}/ionicons.woff2?v=#{$ionicons-version}") format("woff2"),
url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"),
url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype");
font-weight: normal;
font-style: normal;
}
ion-icon {
display: inline-block;
font-family: "Ionicons";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1;
text-rendering: auto;
text-transform: none;
speak: none;
@include rtl() {
&[aria-label^="arrow"]::before,
&[flip-rtl]::before {
transform: scaleX(-1);
}
&[unflip-rtl]::before {
transform: scaleX(1);
}
}
&::before {
display: inline-block;
}
}

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 391 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,34 @@
// Noto Sans Font
// Google
// Apache License, version 2.0
// http://www.apache.org/licenses/LICENSE-2.0.html
$noto-sans-font-path: $font-path !default;
@font-face {
font-family: "Noto Sans";
font-style: normal;
font-weight: 300;
src: local("Noto Sans"), local("Noto-Sans-Regular"), url("#{$noto-sans-font-path}/noto-sans-regular.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-regular.ttf") format("truetype");
}
@font-face {
font-family: "Noto Sans";
font-style: normal;
font-weight: 400;
src: local("Noto Sans"), local("Noto-Sans-Regular"), url("#{$noto-sans-font-path}/noto-sans-regular.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-regular.ttf") format("truetype");
}
@font-face {
font-family: "Noto Sans";
font-style: normal;
font-weight: 500;
src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("#{$noto-sans-font-path}/noto-sans-bold.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-bold.ttf") format("truetype");
}
@font-face {
font-family: "Noto Sans";
font-style: normal;
font-weight: 700;
src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("#{$noto-sans-font-path}/noto-sans-bold.woff") format("woff"), url("#{$noto-sans-font-path}/noto-sans-bold.ttf") format("truetype");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,34 @@
// Roboto Font
// Google
// Apache License, version 2.0
// http://www.apache.org/licenses/LICENSE-2.0.html
$roboto-font-path: $font-path !default;
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 300;
src: local("Roboto Light"), local("Roboto-Light"), url("#{$roboto-font-path}/roboto-light.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-light.woff") format("woff"), url("#{$roboto-font-path}/roboto-light.ttf") format("truetype");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 400;
src: local("Roboto"), local("Roboto-Regular"), url("#{$roboto-font-path}/roboto-regular.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-regular.woff") format("woff"), url("#{$roboto-font-path}/roboto-regular.ttf") format("truetype");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 500;
src: local("Roboto Medium"), local("Roboto-Medium"), url("#{$roboto-font-path}/roboto-medium.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-medium.woff") format("woff"), url("#{$roboto-font-path}/roboto-medium.ttf") format("truetype");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 700;
src: local("Roboto Bold"), local("Roboto-Bold"), url("#{$roboto-font-path}/roboto-bold.woff2") format("woff2"), url("#{$roboto-font-path}/roboto-bold.woff") format("woff"), url("#{$roboto-font-path}/roboto-bold.ttf") format("truetype");
}

File diff suppressed because one or more lines are too long

1
www/build/main.css.map Normal file
View File

@ -0,0 +1 @@
null

File diff suppressed because one or more lines are too long

1
www/build/main.js.map Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
www/build/vendor.js.map Normal file

File diff suppressed because one or more lines are too long