Skip to content

Commit

Permalink
CM-992: removed redundant data in report
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Aug 9, 2024
1 parent c69190d commit 3ef1bff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@
"files": [
"dist"
],
"dependencies": {}
"dependencies": {
"react-to-print": "^2.15.1"
}
}
4 changes: 0 additions & 4 deletions src/components/PayrollPrintTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ const PayrollPrintTemplate = forwardRef(({ benefitConsumptions }, ref) => {
<div className={classes.detailName}>{formatMessage('payroll.benefitConsumption.status')}</div>
<div className={classes.detailValue}>{benefitConsumption.status}</div>
</div>
<div className={classes.detailRow}>
<div className={classes.detailName}>{formatMessage('payroll.benefitConsumption.payedOnTime')}</div>
<div className={classes.detailValue}>{benefitConsumption.payedOnTime ? 'Yes' : 'No'}</div>
</div>
<div className={classes.detailRow}>
<div className={classes.detailName}>{formatMessage('payroll.benefitConsumption.paymentDate')}</div>
<div className={classes.detailValue}>
Expand Down
1 change: 1 addition & 0 deletions src/components/payroll/BenefitConsumptionSearcherModal.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-len */
/* eslint-disable no-param-reassign */
import React, { useState, useRef } from 'react';
import { useReactToPrint } from 'react-to-print';
Expand Down

0 comments on commit 3ef1bff

Please sign in to comment.