@bjsdistribution/dms-client-return 0.1.31-prod → 0.1.32-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/order-view/utils.d.ts +2 -1
- package/dist/dms-client-return.cjs.development.js +1 -1
- package/dist/dms-client-return.cjs.development.js.map +1 -1
- package/dist/dms-client-return.cjs.production.min.js +1 -1
- package/dist/dms-client-return.cjs.production.min.js.map +1 -1
- package/dist/dms-client-return.esm.js +1 -1
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/client-portal/return-confirm/ReturnConfirmedTable.tsx +7 -1
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@ import PrinterIcon from '../../../assets/icons/PrinterIcon';
|
|
|
27
27
|
import DownIcon from '../../../assets/icons/DownIcon';
|
|
28
28
|
import PrintDropDown from '../../order-daily-overview/shared/elements/PrintDropDown';
|
|
29
29
|
import { formatDate } from '../../order-daily-overview/shared/utlis';
|
|
30
|
+
import dayjs from 'dayjs';
|
|
30
31
|
|
|
31
32
|
const ReturnConfirmedTable = () => {
|
|
32
33
|
const dropdownRefParent = useRef<HTMLDivElement>(null);
|
|
@@ -293,7 +294,12 @@ const ReturnConfirmedTable = () => {
|
|
|
293
294
|
className="statustext"
|
|
294
295
|
style={{ color: statusClass.color }}
|
|
295
296
|
>
|
|
296
|
-
{status}
|
|
297
|
+
{status}{' '}
|
|
298
|
+
{status === 'Completed' && item?.action_date
|
|
299
|
+
? ` - ${dayjs(item?.action_date).format(
|
|
300
|
+
'DD/MM/YYYY'
|
|
301
|
+
)}`
|
|
302
|
+
: ''}
|
|
297
303
|
</li>
|
|
298
304
|
</ul>
|
|
299
305
|
</td>
|