Merge branch 'master' of https://bitbucket.org/sriramv18/sparqsineedge
This commit is contained in:
commit
5bb4da47e6
@ -1207,8 +1207,8 @@
|
|||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content class="matcard">
|
<mat-card-content class="matcard">
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<input matInput placeholder="Amount Invested by Applicant" formControlName="invested_amount" (keypress)="keyPress($event)" (keyup)="inWords($event.target.value)" autocomplete="off">
|
<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 != ''">{{"₹"}} {{InvestedAmountInWords}} Only</mat-hint>
|
<!--<mat-hint align="start" style="font-size:70%" *ngIf="businessForm.controls['invested_amount'].value != ''">{{"₹"}} {{InvestedAmountInWords}} Only</mat-hint>-->
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<!-- <mat-form-field>
|
<!-- <mat-form-field>
|
||||||
<input matInput placeholder="Monthly Working Capital Needed"
|
<input matInput placeholder="Monthly Working Capital Needed"
|
||||||
|
|||||||
@ -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: 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} = {};
|
sourceNames: {[k: string]: any} = {};
|
||||||
maxDate:any;
|
maxDate:any;
|
||||||
InvestedAmountInWords:any;
|
// InvestedAmountInWords:any;
|
||||||
public relationSource= new MatTableDataSource();
|
public relationSource= new MatTableDataSource();
|
||||||
displayedColumns = ['family_member_name','relation','relation_to','relationship_with_company','started_business'];
|
displayedColumns = ['family_member_name','relation','relation_to','relationship_with_company','started_business'];
|
||||||
constructor(notifier: NotifierService,
|
constructor(notifier: NotifierService,
|
||||||
@ -113,7 +113,7 @@ export class BusinessInfoComponent implements OnInit {
|
|||||||
params.company_id = this.company_id;
|
params.company_id = this.company_id;
|
||||||
this._pd.retriveForm(params).subscribe(data => {
|
this._pd.retriveForm(params).subscribe(data => {
|
||||||
let businessVal = data.records;
|
let businessVal = data.records;
|
||||||
this.inWords(data.records.invested_amount);
|
// this.inWords(data.records.invested_amount);
|
||||||
let constVal: any;
|
let constVal: any;
|
||||||
//const Desgn = <FormArray>this.businessForm.controls['designation'];
|
//const Desgn = <FormArray>this.businessForm.controls['designation'];
|
||||||
const Partnr: any = <FormArray>this.businessForm.controls['partners'];
|
const Partnr: any = <FormArray>this.businessForm.controls['partners'];
|
||||||
@ -1440,9 +1440,9 @@ export class BusinessInfoComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** To Convert Amount into Words */
|
/** To Convert Amount into Words */
|
||||||
inWords(e){
|
// inWords(e){
|
||||||
this.InvestedAmountInWords = this._pd.convertNumberToWords(e);
|
// this.InvestedAmountInWords = this._pd.convertNumberToWords(e);
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
getCompanyListForBusiness(): void{
|
getCompanyListForBusiness(): void{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user