delete button : ps
This commit is contained in:
parent
3c87df8853
commit
83d771eafd
@ -217,15 +217,21 @@
|
|||||||
formControlName="premises_remarks" autocomplete="off">
|
formControlName="premises_remarks" autocomplete="off">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions align="center">
|
<mat-card-actions>
|
||||||
|
<div align="center">
|
||||||
<button type="button" mat-flat-button (click)="addUnits($event)"
|
<button type="button" mat-flat-button (click)="addUnits($event)"
|
||||||
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
||||||
<strong>Add More Additional Unit </strong>
|
<strong>Add More Additional Unit </strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-flat-button (click)="removeUnits(i)"
|
</div>
|
||||||
|
<!-- <button type="button" mat-flat-button (click)="removeUnits(i)"
|
||||||
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
||||||
<strong>Delete Additional Unit </strong>
|
<strong>Delete Additional Unit </strong>
|
||||||
</button>
|
</button> -->
|
||||||
|
<button type="button" mat-raised-button mat-icon-button (click)="removeUnits(i)"
|
||||||
|
matTooltip="Delete Additional Unit" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last" style="float: right;">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -314,14 +314,20 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions align="center">
|
<mat-card-actions>
|
||||||
|
<div align="center">
|
||||||
<button type="button" mat-flat-button (click)="addAssetDetails($event,1); false"
|
<button type="button" mat-flat-button (click)="addAssetDetails($event,1); false"
|
||||||
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
||||||
<strong>Add More Other Asset </strong>
|
<strong>Add More Other Asset </strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-flat-button (click)="removeAssetsDetails(i,1)"
|
</div>
|
||||||
|
<!-- <button type="button" mat-flat-button (click)="removeAssetsDetails(i,1)"
|
||||||
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
||||||
<strong>Delete Other Assets </strong>
|
<strong>Delete Other Assets </strong>
|
||||||
|
</button> -->
|
||||||
|
<button type="button" mat-raised-button mat-icon-button (click)="removeAssetsDetails(i,1)"
|
||||||
|
matTooltip="Delete Other Assets" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last" style="float: right;">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|||||||
@ -160,20 +160,25 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<mat-action-row>
|
<mat-action-row>
|
||||||
|
<div align="center">
|
||||||
<button type="button" mat-button (click)="addBankdetails(i, $event)" color="accent"
|
<button type="button" mat-button (click)="addBankdetails(i, $event)" color="accent"
|
||||||
matTooltip="Add More" matTooltipPosition="left" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" *ngIf="last">
|
||||||
<strong>Add More Banking Details</strong>
|
<strong>Add More Banking Details</strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-button (click)="deleteBankdetails(i)" color="warn"
|
</div>
|
||||||
|
<!-- <button type="button" mat-button (click)="deleteBankdetails(i)" color="warn"
|
||||||
matTooltip="Delete"matTooltipPosition="left" *ngIf="!last">
|
matTooltip="Delete"matTooltipPosition="left" *ngIf="!last">
|
||||||
<strong>Delete Banking Details</strong>
|
<strong>Delete Banking Details</strong>
|
||||||
</button>
|
</button> -->
|
||||||
|
|
||||||
<!-- <button mat-button color="warn" (click)="prevStep()">Previous</button>
|
<!-- <button mat-button color="warn" (click)="prevStep()">Previous</button>
|
||||||
<button mat-button color="primary" (click)="nextStep()">End</button> -->
|
<button mat-button color="primary" (click)="nextStep()">End</button> -->
|
||||||
<!-- <button *ngIf="i > 0" mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="deleteBankdetails(i)">
|
|
||||||
|
<!-- ngIf="i > 0" -->
|
||||||
|
<button mat-raised-button mat-icon-button matTooltip="Delete Banking Details" matTooltipPosition="above" (click)="deleteBankdetails(i)" *ngIf="!last" style="float: right;">
|
||||||
<mat-icon>delete</mat-icon>
|
<mat-icon>delete</mat-icon>
|
||||||
</button> -->
|
</button>
|
||||||
|
|
||||||
</mat-action-row>
|
</mat-action-row>
|
||||||
</mat-expansion-panel>
|
</mat-expansion-panel>
|
||||||
<!-- <div style="text-align: right;" class="pt-1" *ngIf="bankingForm.controls.itemRows['controls'].length == (i+1)">
|
<!-- <div style="text-align: right;" class="pt-1" *ngIf="bankingForm.controls.itemRows['controls'].length == (i+1)">
|
||||||
|
|||||||
@ -219,7 +219,7 @@
|
|||||||
<input matInput placeholder="Specify Asset Owned Name" formControlName="business_name_of_the_other_owner" autocomplete="off">
|
<input matInput placeholder="Specify Asset Owned Name" formControlName="business_name_of_the_other_owner" autocomplete="off">
|
||||||
|
|
||||||
</mat-form-field> -->
|
</mat-form-field> -->
|
||||||
{{applicants | json}}
|
<!-- {{applicants | json}} -->
|
||||||
<!-- <mat-form-field *ngIf="sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3 || sup.get('business_assets_mode').value == 4 || sup.get('business_assets_mode').value == 5 || sup.get('business_assets_mode').value == 6" style="width:45%"> -->
|
<!-- <mat-form-field *ngIf="sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3 || sup.get('business_assets_mode').value == 4 || sup.get('business_assets_mode').value == 5 || sup.get('business_assets_mode').value == 6" style="width:45%"> -->
|
||||||
<mat-form-field *ngIf="sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3 || sup.get('business_assets_mode').value == 4" style="width:45%">
|
<mat-form-field *ngIf="sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3 || sup.get('business_assets_mode').value == 4" style="width:45%">
|
||||||
<mat-select placeholder="Asset Owned by" formControlName="business_name_of_the_owner" required>
|
<mat-select placeholder="Asset Owned by" formControlName="business_name_of_the_owner" required>
|
||||||
@ -262,15 +262,21 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions align="center">
|
<mat-card-actions>
|
||||||
|
<div align="center">
|
||||||
<button type="button" mat-flat-button (click)="addAssetDetails($event); false"
|
<button type="button" mat-flat-button (click)="addAssetDetails($event); false"
|
||||||
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
||||||
<strong>Add More Business Asset </strong>
|
<strong>Add More Business Asset </strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-flat-button (click)="removeAssetsDetails(i)"
|
</div>
|
||||||
|
<!-- <button type="button" mat-flat-button (click)="removeAssetsDetails(i)"
|
||||||
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
||||||
<strong>Delete Business Assets </strong>
|
<strong>Delete Business Assets </strong>
|
||||||
</button>
|
</button> -->
|
||||||
|
<button type="button" mat-raised-button mat-icon-button (click)="removeAssetsDetails(i)"
|
||||||
|
matTooltip="Delete Business Assets" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last" style="float: right;">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -98,7 +98,7 @@
|
|||||||
<input matInput autocomplete="off" placeholder="Lender" formControlName="lender" >
|
<input matInput autocomplete="off" placeholder="Lender" formControlName="lender" >
|
||||||
</mat-form-field> -->
|
</mat-form-field> -->
|
||||||
<div style="width:100%">
|
<div style="width:100%">
|
||||||
<mat-form-field style="width:35%">
|
<mat-form-field style="width:25%">
|
||||||
<input matInput autocomplete="off" placeholder="Original Tenure in Months" formControlName="original_tenure" (change)="checkTenure(details);calculateTenure(details)">
|
<input matInput autocomplete="off" placeholder="Original Tenure in Months" formControlName="original_tenure" (change)="checkTenure(details);calculateTenure(details)">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field style="width:35%">
|
<mat-form-field style="width:35%">
|
||||||
@ -106,20 +106,34 @@
|
|||||||
<mat-error>Invalid Balance Tenure.</mat-error>
|
<mat-error>Invalid Balance Tenure.</mat-error>
|
||||||
<!-- //*ngIf="current_balance_tenure.hasError('min')" class="mat-text-warn" -->
|
<!-- //*ngIf="current_balance_tenure.hasError('min')" class="mat-text-warn" -->
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field>
|
<mat-form-field style="width:25%">
|
||||||
<input matInput placeholder="Elapsed Tenure in Months" formControlName="elapsed_tenure" autocomplete="off">
|
<input matInput placeholder="Elapsed Tenure in Months" formControlName="elapsed_tenure" autocomplete="off">
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="button" class="mr-1 mb-1 hover-icon" mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="deleteLoanDetails(i)"
|
<!-- <button type="button" class="mr-1 mb-1 hover-icon" mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="deleteLoanDetails(i)"
|
||||||
*ngIf="i>0">
|
*ngIf="i>0">
|
||||||
<mat-icon>delete</mat-icon>
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="mr-1 mb-1 hover-icon" mat-raised-button mat-icon-button matTooltip="Add More Loan Details" matTooltipPosition="above" color="primary" (click)="addLoanDetails()"
|
<button type="button" class="mr-1 mb-1 hover-icon" mat-raised-button mat-icon-button matTooltip="Add More Loan Details" matTooltipPosition="above" color="primary" (click)="addLoanDetails()"
|
||||||
*ngIf="last">
|
*ngIf="last">
|
||||||
<mat-icon>add</mat-icon>
|
<mat-icon>add</mat-icon>
|
||||||
</button>
|
</button> -->
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
|
<mat-card-actions>
|
||||||
|
|
||||||
|
<button *ngIf="!last" type="button" class="mr-1 mb-1 hover-icon" mat-raised-button mat-icon-button matTooltip="Delete" matTooltipPosition="above" (click)="deleteLoanDetails(i)"
|
||||||
|
style="float: right;">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
|
</button>
|
||||||
|
<div align="center">
|
||||||
|
<button type="button" mat-flat-button (click)="addLoanDetails()"
|
||||||
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
||||||
|
<strong>Add More Loan Details </strong>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</mat-card-actions>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|||||||
@ -88,14 +88,16 @@
|
|||||||
<mat-icon>add</mat-icon>
|
<mat-icon>add</mat-icon>
|
||||||
</button> -->
|
</button> -->
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions align="center">
|
<mat-card-actions >
|
||||||
|
<div align="center">
|
||||||
<button type="button" mat-flat-button (click)="addIncomeDetails()"
|
<button type="button" mat-flat-button (click)="addIncomeDetails()"
|
||||||
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
||||||
<strong>Add More Income Details </strong>
|
<strong>Add More Income Details </strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-flat-button (click)="deleteIncomeDetails(i)"
|
</div>
|
||||||
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
<button type="button" matTooltip="Delete" class="mr-1 mb-1 hover-icon" matTooltipPosition="above" mat-raised-button mat-icon-button (click)="deleteIncomeDetails(i)"
|
||||||
<strong>DeleteIncome Details </strong>
|
*ngIf="!last" align="right">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -143,14 +143,18 @@
|
|||||||
</button> -->
|
</button> -->
|
||||||
|
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions align="center">
|
<mat-card-actions>
|
||||||
<button type="button" mat-flat-button (click)="addGoods(1)"
|
<button type="button" mat-flat-button (click)="addGoods(1)"
|
||||||
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
|
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last" align="center">
|
||||||
<strong>Add More Finished Goods </strong>
|
<strong>Add More Finished Goods </strong>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" mat-flat-button (click)="deleteGoods(b,1)"
|
<!-- <button type="button" mat-flat-button (click)="deleteGoods(b,1)"
|
||||||
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last">
|
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last" align="center">
|
||||||
<strong>Delete Finished Goods </strong>
|
<strong>Delete Finished Goods </strong>
|
||||||
|
</button> -->
|
||||||
|
<button type="button" mat-raised-button mat-icon-button (click)="deleteGoods(b,1)"
|
||||||
|
matTooltip="Delete" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last" align="right">
|
||||||
|
<mat-icon>delete</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-card-actions>
|
</mat-card-actions>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user