IO-2327 posting bills test caes

This commit is contained in:
swtmply
2023-06-26 10:34:33 +08:00
parent 12d07f8318
commit 39f7a3c870
12 changed files with 6155 additions and 12 deletions

View File

@@ -148,6 +148,7 @@ export function PartsOrderListTableComponent({
</Button>
</Popconfirm>
<Button
data-cy="receive-bill-button"
disabled={
(jobRO ? !record.return : jobRO) ||
record.vendor.id === bodyshop.inhousevendorid
@@ -478,6 +479,7 @@ export function PartsOrderListTableComponent({
{selectedPartsOrderRecord && rowExpander(selectedPartsOrderRecord)}
</Drawer>
<Table
data-cy="part-orders-table"
loading={billsQuery.loading}
scroll={{
x: true,