Skip to content

Commit

Permalink
Remove UI for orders, notes, review etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmikhailenko committed Aug 1, 2023
1 parent 62d7995 commit 8044713
Show file tree
Hide file tree
Showing 38 changed files with 3 additions and 1,969 deletions.
31 changes: 0 additions & 31 deletions app/_i18n/i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,50 +18,19 @@ Stock = Stock
Price = Price
Description = Description
BookPrice = Book Price
AddToOrder = Add to Order

Authors = Authors
Author = Author
AuthorID = Author ID
Name = Name
AuthorName = Author's Name
Order = Order
Orders = Orders
OrderNumber = Order Number
Total = Order Value
OrderItem = Order Item
OrderItems = Order Items
Quantity = Quantity
Amount = Amount
ShippingAddress = Shipping Address
ShippingAddresses = Shipping Addresses
CityName = City Name
HouseNumber = House Number
StreetName = Street Name
PostalCode = Postal Code
Country = Country
AddressID = Address ID
BusinessPartner = Contact
Locale = Language
Reviews = Reviews
Review = Review
Rating = Rating
Subject = Subject
Date = Date
User = User
Text = Text
Image = Image
Genres = Genres
Genre = Genre
AddReview = Add Review
Notes = Notes
Note = Note
ISBN = ISBN
76 changes: 0 additions & 76 deletions app/addresses/fiori-service.cds

This file was deleted.

12 changes: 0 additions & 12 deletions app/addresses/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions app/addresses/webapp/Component.js

This file was deleted.

2 changes: 0 additions & 2 deletions app/addresses/webapp/i18n/i18n.properties

This file was deleted.

2 changes: 0 additions & 2 deletions app/addresses/webapp/i18n/i18n_de.properties

This file was deleted.

35 changes: 0 additions & 35 deletions app/addresses/webapp/index.html

This file was deleted.

142 changes: 0 additions & 142 deletions app/addresses/webapp/manifest.json

This file was deleted.

38 changes: 0 additions & 38 deletions app/admin/fiori-service.cds
Original file line number Diff line number Diff line change
Expand Up @@ -97,41 +97,3 @@ annotate AdminService.Books.texts {
type : #fixed
}
}

annotate AdminService.Books actions {
@(
Common.SideEffects : {
TargetProperties : ['_it/order_ID'],
TargetEntities : [_it]
},
cds.odata.bindingparameter.name : '_it'
)
addToOrder(order_ID @(
title : '{i18n>Order}',
Common : {ValueListMapping : {
Label : '{i18n>Orders}',
CollectionPath : 'Orders',
Parameters : [
{
$Type : 'Common.ValueListParameterInOut',
LocalDataProperty : order_ID,
ValueListProperty : 'ID'
},
{
$Type : 'Common.ValueListParameterDisplayOnly',
ValueListProperty : 'OrderNo'
},
{
$Type : 'Common.ValueListParameterDisplayOnly',
ValueListProperty : 'createdBy'
},
{
$Type : 'Common.ValueListParameterDisplayOnly',
ValueListProperty : 'createdAt'
}
],
}}
),
quantity @title : '{i18n>Quantity}'
)
}
Loading

0 comments on commit 8044713

Please sign in to comment.