UI Changes

This commit is contained in:
venbatechnologies@gmail.com 2019-02-01 18:50:33 +05:30
parent 0c1f37200d
commit 682eab13b0
28 changed files with 32 additions and 25 deletions

View File

@ -77,6 +77,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});
this.company_id =this.pd_all_details.company_id; this.company_id =this.pd_all_details.company_id;
this.notifier = notifier; this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }

View File

@ -61,6 +61,7 @@ export class BusinessBankingDetailsComponent implements OnInit {
this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});
this.notifier = notifier; this.notifier = notifier;
this.company_id = this.pd_all_details.company_id; this.company_id = this.pd_all_details.company_id;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }

View File

@ -79,7 +79,7 @@ export class BusinessInfoComponent implements OnInit {
this.pdid = this.pd_all_details.pdmaster_details.pd_id; this.pdid = this.pd_all_details.pdmaster_details.pd_id;
this.company_id = this.pd_all_details.company_id; this.company_id = this.pd_all_details.company_id;
this.company_name = this.pd_all_details.company_name; this.company_name = this.pd_all_details.company_name;
this.pageTitle = this.pd_all_details.company_name; this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
this.applicants = this.pd_all_details.pdapplicants_detials; this.applicants = this.pd_all_details.pdapplicants_detials;
this.form_id = 13; this.form_id = 13;
this.notifier = notifier; this.notifier = notifier;

View File

@ -176,7 +176,7 @@
</div> </div>
<div fxlayout="row"> <div fxlayout="row">
<mat-form-field style="width: 80%"> <mat-form-field style="width: 80%">
<input matInput placeholder="% of Total Trading Product Credit Values" formControlName="trading_products_total_payments_percent_on_credit" <input matInput placeholder="What % of Total Trade is done on Credit?" formControlName="trading_products_total_payments_percent_on_credit"
type="number"> type="number">
</mat-form-field> </mat-form-field>
</div> </div>
@ -263,7 +263,7 @@
</div> </div>
<div fxlayout="row"> <div fxlayout="row">
<mat-form-field style="width: 80%"> <mat-form-field style="width: 80%">
<input matInput placeholder="What % of Total Services Provided Are on Credit?" formControlName="service_products_total_payments_percent_on_credit" <input matInput placeholder="What % of Total Services Provided is done on Credit?" formControlName="service_products_total_payments_percent_on_credit"
type="number"> type="number">
</mat-form-field> </mat-form-field>
</div> </div>

View File

@ -81,6 +81,7 @@ export class ClientInfoComponent implements OnInit {
this.form_id = 2; this.form_id = 2;
this.company_id = this.pd_all_details.company_id; this.company_id = this.pd_all_details.company_id;
this.notifier = notifier; this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }
public viewerOptions: any = { public viewerOptions: any = {
navbar: false, navbar: false,

View File

@ -51,6 +51,6 @@
</mat-dialog-content> </mat-dialog-content>
<mat-dialog-actions align="end"> <mat-dialog-actions align="end">
<button mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Add More" matTooltipPosition="above" (click)="addMoreApplicant()"><mat-icon>add</mat-icon></button> <button mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Add More" matTooltipPosition="above" (click)="addMoreApplicant()"><mat-icon>add</mat-icon></button>
<button mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Add List" matTooltipPosition="above" (click)="saveApplicant(_OtherForm.value)"><mat-icon>save</mat-icon></button> <button mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Save" matTooltipPosition="above" (click)="saveApplicant(_OtherForm.value)"><mat-icon>save</mat-icon></button>
</mat-dialog-actions> </mat-dialog-actions>

View File

@ -74,6 +74,7 @@ export class FinancialInfoComponent implements OnInit {
this.form_id = 14; this.form_id = 14;
this.company_id =this.pd_all_details.company_id; this.company_id =this.pd_all_details.company_id;
this.notifier = notifier; this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }
//ViewerOption For Docs Display //ViewerOption For Docs Display

View File

@ -24,7 +24,7 @@
<div *ngFor="let md of stockForms.controls.manufacturing_details['controls']; let i=index" [formGroupName]="i"> <div *ngFor="let md of stockForms.controls.manufacturing_details['controls']; let i=index" [formGroupName]="i">
<div formArrayName="manufacturing_raw_materials"> <div formArrayName="manufacturing_raw_materials">
<div *ngFor="let mrm of md.controls.manufacturing_raw_materials['controls']; let a=index; let last=last" [formGroupName]="a"> <div *ngFor="let mrm of md.controls.manufacturing_raw_materials['controls']; let a=index; let last=last" [formGroupName]="a">
<h5 class="highlight" style="margin: 12px;">Manufacturing Details</h5> <h5 class="highlight" style="margin: 12px;">Manufacturing Stock Details</h5>
<mat-card style="margin: 12px;"> <mat-card style="margin: 12px;">
<mat-label class="highlight"> <i>Raw Material #{{a+1}} </i> </mat-label> <mat-label class="highlight"> <i>Raw Material #{{a+1}} </i> </mat-label>
<mat-card-content class="matcard"> <mat-card-content class="matcard">
@ -72,18 +72,19 @@
</span> </span>
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>
<div align="right">
<button type="button" mat-raised-button mat-icon-button (click)="deleteRawMaterials(a,1)"
matTooltip="Delete Raw Materials" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="md.controls.manufacturing_raw_materials.controls.length>1">
<mat-icon>delete</mat-icon>
</button>
</div>
<div align="center"> <div align="center">
<button type="button" mat-flat-button (click)="addRawMaterials(1)" <button type="button" mat-flat-button (click)="addRawMaterials(1)"
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last"> matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
<strong>Add More Raw Materials </strong> <strong>Add More Raw Materials </strong>
</button> </button>
</div> </div>
<div align="right">
<button type="button" mat-raised-button mat-icon-button (click)="deleteRawMaterials(a,1)"
matTooltip="Delete Raw Materials" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last">
<mat-icon>delete</mat-icon>
</button>
</div>
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
</div> </div>
@ -148,6 +149,12 @@
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>
<div align="right">
<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="md.controls.manufacturing_finished_goods.controls.length>1">
<mat-icon>delete</mat-icon>
</button>
</div>
<div align="center"> <div align="center">
<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">
@ -158,12 +165,6 @@
matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last" align="center"> matTooltip="Delete"matTooltipPosition="left" color="primary" *ngIf="!last" align="center">
<strong>Delete Finished Goods </strong> <strong>Delete Finished Goods </strong>
</button> --> </button> -->
<div align="right">
<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">
<mat-icon>delete</mat-icon>
</button>
</div>
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
</div> </div>
@ -243,18 +244,18 @@
</mat-card-content> </mat-card-content>
<mat-card-actions> <mat-card-actions>
<div align="right">
<button type="button" mat-raised-button mat-icon-button (click)="deleteTradedGoods(e,2)"
matTooltip="Delete Traded Goods" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="rd.controls.retail_traded_goods.controls.length>1">
<mat-icon>delete</mat-icon>
</button>
</div>
<div align="center"> <div align="center">
<button type="button" mat-flat-button (click)="addTradedGoods(2)" <button type="button" mat-flat-button (click)="addTradedGoods(2)"
matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last"> matTooltip="Add More" matTooltipPosition="left" color="primary" *ngIf="last">
<strong>Add More Traded Goods </strong> <strong>Add More Traded Goods </strong>
</button> </button>
</div> </div>
<div align="right">
<button type="button" mat-raised-button mat-icon-button (click)="deleteTradedGoods(e,2)"
matTooltip="Delete Traded Goods" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last">
<mat-icon>delete</mat-icon>
</button>
</div>
</mat-card-actions> </mat-card-actions>
</mat-card> </mat-card>
@ -341,7 +342,7 @@
</div> </div>
<div align="right"> <div align="right">
<button type="button" mat-raised-button mat-icon-button (click)="deleteTradedGoods(g,3)" <button type="button" mat-raised-button mat-icon-button (click)="deleteTradedGoods(g,3)"
matTooltip="Delete Traded Goods" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="!last"> matTooltip="Delete Traded Goods" matTooltipPosition="above" class="mr-1 mb-1 hover-icon" *ngIf="td.controls.trading_traded_goods.controls.length>1">
<mat-icon>delete</mat-icon> <mat-icon>delete</mat-icon>
</button> </button>
</div> </div>

View File

@ -68,6 +68,7 @@ export class StockComponent implements OnInit {
this.form_id = 11; this.form_id = 11;
this.company_id = this.pd_all_details.company_id; this.company_id = this.pd_all_details.company_id;
this.notifier = notifier; this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }
public viewerOptions: any = { public viewerOptions: any = {

View File

@ -168,7 +168,7 @@
</div> </div>
<div fxlayout="row"> <div fxlayout="row">
<mat-form-field style="width: 90%"> <mat-form-field style="width: 90%">
<input matInput placeholder="% of Total Trading Product Credit Values" formControlName="trading_products_total_payments_percent_on_credit" <input matInput placeholder="What % of Total Trade is done on Credit?" formControlName="trading_products_total_payments_percent_on_credit"
type="number" autocomplete="off"> type="number" autocomplete="off">
</mat-form-field> </mat-form-field>
</div> </div>

View File

@ -54,6 +54,7 @@ export class SupplierInfoComponent implements OnInit {
this.form_id = 1; this.form_id = 1;
this.company_id = this.pd_all_details.company_id this.company_id = this.pd_all_details.company_id
this.notifier = notifier; this.notifier = notifier;
this.pageTitle = this.pd_all_details.company_name + ' - ' +this.pageTitle ;
} }
public viewerOptions: any = { public viewerOptions: any = {

View File