From 8035fa3466a61b7da11a4f73710e078db7e0c4dc Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sun, 20 Dec 2020 14:23:48 +0200 Subject: [PATCH] fix : estimate date --- .../src/containers/Sales/Estimate/EstimateFormHeaderFields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/containers/Sales/Estimate/EstimateFormHeaderFields.js b/client/src/containers/Sales/Estimate/EstimateFormHeaderFields.js index 61dc0e2da..2f343d5e1 100644 --- a/client/src/containers/Sales/Estimate/EstimateFormHeaderFields.js +++ b/client/src/containers/Sales/Estimate/EstimateFormHeaderFields.js @@ -83,7 +83,7 @@ function EstimateFormHeader({ {...momentFormatter('YYYY/MM/DD')} value={tansformDateValue(value)} onChange={handleDateChange((formattedDate) => { - form.setFieldValue('estimate_date', formatMessage); + form.setFieldValue('estimate_date', formattedDate); })} popoverProps={{ position: Position.BOTTOM, minimal: true }} inputProps={{