Using fake Products entity in @capire/orders

This commit is contained in:
Daniel
2020-11-20 12:33:18 +01:00
committed by Daniel Hutzel
parent 932f56812c
commit 8f01bf911e
6 changed files with 25 additions and 18 deletions

View File

@@ -71,14 +71,14 @@ annotate OrdersService.Orders with @(
annotate OrderItems with @(
UI: {
LineItem: [
{Value: article, Label:'Article ID'},
{Value: title, Label:'Article Title'},
{Value: product_ID, Label:'Product ID'},
{Value: title, Label:'Product Title'},
{Value: price, Label:'Unit Price'},
{Value: amount, Label:'Quantity'},
],
Identification: [ //Is the main field group
{Value: amount, Label:'Amount'},
{Value: title, Label:'Article'},
{Value: title, Label:'Product'},
{Value: price, Label:'Unit Price'},
],
Facets: [