documents fix

This commit is contained in:
Almira Krdzic
2018-11-07 03:05:54 +01:00
parent e6b372f5d0
commit 0ba27b2f1d
13 changed files with 88 additions and 28 deletions

View File

@@ -12,6 +12,7 @@ import {
updateMessages
} from '../notification/notificationActions';
import HtmlClient from '../../helpers/HtmlClient';
import { fromWiaasCustomerAcceptance } from '../../helpers/ProcessHelper';
const htmlClient = new HtmlClient();
@@ -32,7 +33,11 @@ export const fetchCustomerAcceptance = (idOrder) => {
})
.then(response => {
if (response.data) {
dispatch(recieveCustomerAcceptance(response.data));
dispatch(
recieveCustomerAcceptance(
fromWiaasCustomerAcceptance(response.data)
)
);
}
})
.catch(error => {