mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 23:34:53 -05:00
qty is only 1 if re-creating after proration
This commit is contained in:
parent
aca274a49b
commit
1be6e2008b
@ -931,7 +931,7 @@ namespace Bit.Core.Services
|
|||||||
SubscriptionId = item.SubscriptionId,
|
SubscriptionId = item.SubscriptionId,
|
||||||
Discountable = item.Discountable,
|
Discountable = item.Discountable,
|
||||||
Metadata = item.Metadata,
|
Metadata = item.Metadata,
|
||||||
Quantity = 1,
|
Quantity = item.Proration ? 1 : item.Quantity,
|
||||||
UnitAmount = item.UnitAmount
|
UnitAmount = item.UnitAmount
|
||||||
};
|
};
|
||||||
await invoiceItemService.CreateAsync(i);
|
await invoiceItemService.CreateAsync(i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user