mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1466: #3741 Fix History Order Details correctly Display the buyerNumber as customer...
#3741 Fix History Order Details correctly Display the buyerNumber as customerNumber
This commit is contained in:
committed by
Lorenz Hilpert
parent
d5c17b08cc
commit
a03c6fe0cb
@@ -66,12 +66,13 @@ export class CustomerOrderItemCardComponent implements OnInit, OnDestroy {
|
||||
]
|
||||
.filter((i) => !!i)
|
||||
.join(', ');
|
||||
const customerNumber = this.order.buyer?.buyerNumber;
|
||||
const history = await this._omsService.getHistory(orderItemSubsetId).pipe(takeUntil(this._onDestroy$), take(1)).toPromise();
|
||||
if (!!history) {
|
||||
if (history.length > 0) {
|
||||
const data: HistoryData = {
|
||||
customerName,
|
||||
customerNumber: String(orderItemSubsetId),
|
||||
customerNumber,
|
||||
history: history,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user