This commit is contained in:
venbatechnologies@gmail.com 2019-01-10 10:40:15 +05:30
commit 5bb4da47e6
2 changed files with 7 additions and 7 deletions

View File

@ -1207,8 +1207,8 @@
</mat-card-header>
<mat-card-content class="matcard">
<mat-form-field>
<input matInput placeholder="Amount Invested by Applicant" formControlName="invested_amount" (keypress)="keyPress($event)" (keyup)="inWords($event.target.value)" autocomplete="off">
<mat-hint align="start" style="font-size:70%" *ngIf="businessForm.controls['invested_amount'].value != ''">{{"&#8377;"}} {{InvestedAmountInWords}} Only</mat-hint>
<input matInput placeholder="Amount Invested by Applicant" formControlName="invested_amount" (keypress)="keyPress($event)" autocomplete="off">
<!--<mat-hint align="start" style="font-size:70%" *ngIf="businessForm.controls['invested_amount'].value != ''">{{"&#8377;"}} {{InvestedAmountInWords}} Only</mat-hint>-->
</mat-form-field>
<!-- <mat-form-field>
<input matInput placeholder="Monthly Working Capital Needed"

View File

@ -55,7 +55,7 @@ export class BusinessInfoComponent implements OnInit {
//sourceNames: any = {"Private Limited Company": 'Director / Shareholder Details',"Proprietorship": 'Proprietor Details', "Sole Proprietorship": 'Proprietor Details',"Partnership": 'Partner Details',"Limited Liability Partnership (LLP)": 'Partner Details',"One Person Company (OPC)": 'Director Details',"Hindu Undivided Family (HUF)": 'Karta Details',"Society": 'Member Details',"Cooperative": 'Member Details',"Trust": 'Trustee Details',"Public Ltd Company": 'Director / Shareholder Details','Individual':'Self',"Others": 'Other Enitity Details'};
sourceNames: {[k: string]: any} = {};
maxDate:any;
InvestedAmountInWords:any;
// InvestedAmountInWords:any;
public relationSource= new MatTableDataSource();
displayedColumns = ['family_member_name','relation','relation_to','relationship_with_company','started_business'];
constructor(notifier: NotifierService,
@ -113,7 +113,7 @@ export class BusinessInfoComponent implements OnInit {
params.company_id = this.company_id;
this._pd.retriveForm(params).subscribe(data => {
let businessVal = data.records;
this.inWords(data.records.invested_amount);
// this.inWords(data.records.invested_amount);
let constVal: any;
//const Desgn = <FormArray>this.businessForm.controls['designation'];
const Partnr: any = <FormArray>this.businessForm.controls['partners'];
@ -1440,9 +1440,9 @@ export class BusinessInfoComponent implements OnInit {
}
/** To Convert Amount into Words */
inWords(e){
this.InvestedAmountInWords = this._pd.convertNumberToWords(e);
}
// inWords(e){
// this.InvestedAmountInWords = this._pd.convertNumberToWords(e);
// }
getCompanyListForBusiness(): void{