IO-2327 posting bills tests cases

This commit is contained in:
swtmply
2023-07-03 09:06:58 +08:00
parent 39f7a3c870
commit fc09871a47
12 changed files with 370 additions and 46 deletions

View File

@@ -246,7 +246,12 @@ export function PartsOrderListTableComponent({
sorter: (a, b) => a.return - b.return,
sortOrder:
state.sortedInfo.columnKey === "return" && state.sortedInfo.order,
render: (text, record) => <Checkbox checked={record.return} />,
render: (text, record) => (
<Checkbox
data-cy="part-order-return-checkbox"
checked={record.return}
/>
),
},
{
title: t("parts_orders.fields.deliver_by"),