IO-244 Resolve IOU

This commit is contained in:
Patrick Fic
2021-12-15 14:34:24 -08:00
parent 1b8a76d5e0
commit e46d5b833b
9 changed files with 71 additions and 4 deletions

View File

@@ -78,6 +78,9 @@ export function JobCreateIOU({ bodyshop, currentUser, job, selectedJobLines }) {
<Popconfirm
title={t("jobs.labels.createiouwarning")}
onConfirm={handleCreateIou}
disabled={
!selectedJobLines || selectedJobLines.length === 0 || !job.converted
}
>
<Button
loading={loading}