diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html index 591305967..a6840979a 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/start-pd/forms/employment-info/employment-info.component.html @@ -224,7 +224,7 @@ OnlyNumber type="text" autocomplete="off" required> {{"₹"}} {{employmentForm.controls['net_monthly_salary'].value | numberToWords}} Only Net Monthly Salary Required - Given value is More than Gross Monthly Salary + Net Month Salary is greater than Gross monthly Salary diff --git a/ng6-seed/src/app/personal-discussion/pd-pipes/rupee-currency-format.pipe.ts b/ng6-seed/src/app/personal-discussion/pd-pipes/rupee-currency-format.pipe.ts index bf9790226..2d7885b34 100644 --- a/ng6-seed/src/app/personal-discussion/pd-pipes/rupee-currency-format.pipe.ts +++ b/ng6-seed/src/app/personal-discussion/pd-pipes/rupee-currency-format.pipe.ts @@ -6,6 +6,7 @@ import { Pipe, PipeTransform } from '@angular/core'; export class RupeeCurrencyFormatPipe implements PipeTransform { transform(value: any): any { + var currencySymbol = '₹'; if (!isNaN(value) && value) { var currencySymbol = '₹'; //var output = Number(input).toLocaleString('en-IN'); <-- This method is not working fine in all browsers! @@ -23,6 +24,10 @@ export class RupeeCurrencyFormatPipe implements PipeTransform { return currencySymbol + output; } + else if(value == 0) + { + return currencySymbol + value; + } } }