Fix cloning an invoice with tasks to a quote
This commit is contained in:
parent
b4c6f3a8d5
commit
d91abb0424
|
|
@ -315,6 +315,8 @@ abstract class InvoiceEntity extends Object
|
|||
..lineItems.replace(lineItems
|
||||
.where((lineItem) =>
|
||||
lineItem.typeId != InvoiceItemEntity.TYPE_UNPAID_FEE)
|
||||
.map((lineItem) => lineItem
|
||||
.rebuild((b) => b..typeId = InvoiceItemEntity.TYPE_STANDARD))
|
||||
.toList())
|
||||
..invitations.replace(
|
||||
invitations
|
||||
|
|
|
|||
Loading…
Reference in New Issue