mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
#2070 WK Bestellung zur Abholung klappt nicht - Online
This commit is contained in:
@@ -477,9 +477,15 @@ export class DomainCheckoutService {
|
||||
mergeMap((notificationChannels) => this._setNotificationChannels({ processId, notificationChannels }))
|
||||
);
|
||||
|
||||
const setPayer$ = customerTypes$.pipe(
|
||||
mergeMap(({ isOnline, isB2B }) => {
|
||||
if (isOnline || isB2B) {
|
||||
const setPayer$ = itemOrderOptions$.pipe(
|
||||
first(),
|
||||
mergeMap((itemOrderOptions) => {
|
||||
if (
|
||||
itemOrderOptions.hasB2BDelivery ||
|
||||
itemOrderOptions.hasDelivery ||
|
||||
itemOrderOptions.hasDigDelivery ||
|
||||
itemOrderOptions.hasDownload
|
||||
) {
|
||||
return this.getPayer({ processId }).pipe(first());
|
||||
}
|
||||
return of(undefined);
|
||||
|
||||
Reference in New Issue
Block a user