Skip to content

Commit 3fc64d7

Browse files
authored
FIX Ticket#832829 Custom offer type is now properly added when the offer is updated (#161)
* FIX adding custom priceType after updating offer * FIX now adds custom both creating and updating offer whenever its needed
1 parent 129e9d8 commit 3fc64d7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/app/shared/forms/offer/offer.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ export class OfferComponent implements OnInit, OnDestroy{
575575
if(plan?.priceType == 'custom'){
576576
price.priceType='custom'
577577
}
578+
} else if(plan?.newValue?.priceType){
579+
if(plan?.newValue?.priceType == 'custom'){
580+
price.priceType='custom'
581+
}
578582
}
579583

580584
if (plan.prodSpecCharValueUse) {

0 commit comments

Comments
 (0)