Merge branch 'feature/multi-dimensions' of https://github.com/bigcapitalhq/client into feature/multi-dimensions

This commit is contained in:
elforjani13
2022-02-20 18:56:09 +02:00
2 changed files with 44 additions and 19 deletions

View File

@@ -115,7 +115,11 @@ export function transformValueToRequest(values) {
return {
...values,
entries: entries.map((entry) => ({
...omit(entry, ['warehouses']),
...omit(entry, [
'warehouses',
'destination_warehouse',
'source_warehouse',
]),
})),
};
}