Skip to content

Commit 515b7fb

Browse files
committed
changed emp contribution to your contribution
1 parent bcf312a commit 515b7fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/BenefitsManager/BenefitsManager.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const BenefitsManager: React.FC<BenefitsManagerProps> = ({
109109
): number => {
110110
const grossPayPerPaycheck = getGrossPayPerPaycheck();
111111

112-
// Calculate employee contribution per paycheck
112+
// Calculate contribution per paycheck
113113
let employeePerPaycheck = 0;
114114
if (isPercentage) {
115115
employeePerPaycheck = (grossPayPerPaycheck * employeeContribAmount) / 100;
@@ -158,7 +158,7 @@ const BenefitsManager: React.FC<BenefitsManagerProps> = ({
158158
};
159159
};
160160

161-
// Auto-calculate employee contribution to hit yearly limit exactly
161+
// Auto-calculate contribution to hit yearly limit exactly
162162
const handleAutoCalculateYearlyAmount = () => {
163163
if (!yearlyLimit || parseFloat(yearlyLimit) <= 0) {
164164
setRetirementFormMessage({
@@ -373,7 +373,7 @@ const BenefitsManager: React.FC<BenefitsManagerProps> = ({
373373
const errors: RetirementFieldErrors = {};
374374

375375
if (!Number.isFinite(parsedEmployeeContribution) || parsedEmployeeContribution < 0) {
376-
errors.employeeAmount = 'Please enter a valid employee contribution amount.';
376+
errors.employeeAmount = 'Please enter a valid contribution amount.';
377377
}
378378

379379
if (retirementType === 'other' && !retirementCustomLabel.trim()) {
@@ -570,7 +570,7 @@ const BenefitsManager: React.FC<BenefitsManagerProps> = ({
570570
<h4>{displayLabel}</h4>
571571
<div className="retirement-details">
572572
<div className="detail">
573-
<span className="label"><GlossaryTerm termId="retirement-contribution">Employee Contribution</GlossaryTerm>:</span>
573+
<span className="label"><GlossaryTerm termId="retirement-contribution">Your Contribution</GlossaryTerm>:</span>
574574
<span className="value">
575575
{formatWithSymbol(employeeAmount || 0, currency, { minimumFractionDigits: 2 })} per paycheck
576576
{retirement.employeeContributionIsPercentage && ` (${retirement.employeeContribution}%)`}
@@ -783,7 +783,7 @@ const BenefitsManager: React.FC<BenefitsManagerProps> = ({
783783
)}
784784

785785
<div style={{ marginBottom: '1.5rem', paddingBottom: '1.5rem', borderBottom: '1px solid var(--border-color)' }}>
786-
<h4 style={{ marginTop: 0 }}><GlossaryTerm termId="retirement-contribution">Employee Contribution</GlossaryTerm></h4>
786+
<h4 style={{ marginTop: 0 }}><GlossaryTerm termId="retirement-contribution">Your Contribution</GlossaryTerm></h4>
787787

788788
<FormGroup label="Deduction Source" error={retirementFieldErrors.sourceAccountId}>
789789
<select

0 commit comments

Comments
 (0)