Skip to content

Commit

Permalink
Add todo for FFT-100 for testing paste functionality with payroll row…
Browse files Browse the repository at this point in the history
…s forecast
  • Loading branch information
CaitBarnard committed Nov 7, 2024
1 parent 6dd2f18 commit daafd19
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions front_end/src/Components/TableCell/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,12 @@ const TableCell = ({rowIndex, cellId, cellKey, sheetUpdating, payrollData}) => {
payload.append("amount", intAmount)

postData(
`/forecast/update-forecast/${window.cost_centre}/${window.financial_year}`,
payload
`/forecast/update-forecast/${window.cost_centre}/${window.financial_year}`,
payload
).then((response) => {
setIsUpdating(false)
if (response.status === 200) {
setIsUpdating(false)
if (response.status === 200) {
// TODO (FFT-100): Test paste to excel with locked payroll forecast rows
let rows = processForecastData(response.data, payrollData, isPayrollEnabled)
dispatch({
type: SET_CELLS,
Expand Down

0 comments on commit daafd19

Please sign in to comment.