IO-2327 posting bills test cases

This commit is contained in:
swtmply
2023-08-21 15:07:04 +08:00
parent e89145e85f
commit e74ba0942e
3 changed files with 27 additions and 4 deletions

View File

@@ -134,7 +134,9 @@ export function BillEnterModalLinesComponent({
],
};
},
formInput: (record, index) => <Input disabled={disabled} />,
formInput: (record, index) => (
<Input data-cy="bill-line-line-desc" disabled={disabled} />
),
},
{
title: t("billlines.fields.quantity"),

View File

@@ -18,7 +18,7 @@ export default function PrintWrapperComponent({
};
return (
<Space>
<Space data-cy="print-wrapper">
{children || null}
{!emailOnly && <PrinterFilled onClick={() => handlePrint("p")} />}
<MailFilled onClick={() => handlePrint("e")} />