Skip to content

Commit

Permalink
Fix form
Browse files Browse the repository at this point in the history
  • Loading branch information
FPT-NMTung committed May 13, 2024
1 parent 5941902 commit 21d64ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/transactionPage/UpdateTransaction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const UpdateTransaction = (props) => {

callApi('pkg_bud_management.update_item', {
fk_bud_holder: data.holder,
cash_in: data.amount === 'UP' ? revertFormatNumber(data.amount) : 0,
cash_out: data.amount === 'DOWN' ? revertFormatNumber(data.amount) : 0,
cash_in: data.stateArrow === 'UP' ? revertFormatNumber(data.amount) : 0,
cash_out: data.stateArrow === 'DOWN' ? revertFormatNumber(data.amount) : 0,
note: data.note,
type: 'NORMAL',
date: formatZoneTimeToString(data.date),
Expand Down

0 comments on commit 21d64ae

Please sign in to comment.