Loading packages/core/src/graphql/orders/orders.types.graphql +1 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ type OrderProduct { initialPrice: Float! price: Float! product: Product! comment: String } input OrdersFindInput { Loading packages/merchant-tablet-ionic/src/components/common/order-image/order-image.html +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ <div class="name"> {{ productLocalesService.getTranslate(product.product.title) }} </div> <div *ngIf="!!product.comment" class="comment"> <div class="comment-text">{{ product.comment }}</div> </div> </div> </div> </div> packages/merchant-tablet-ionic/src/components/common/order-image/order-image.scss +20 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,26 @@ white-space: nowrap; overflow: hidden; } .comment { color: white; background: $brand; font-size: 14px; padding: 5px; padding-top: 0; // comment-text &-text { margin-top: 5px; } &::before { content: ''; height: 1px; background: white; display: block; } } } .product-info { Loading packages/merchant-tablet-ionic/src/services/warehouse-orders.service.ts +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ export class WarehouseOrdersService { products { count price comment product { id _id Loading Loading
packages/core/src/graphql/orders/orders.types.graphql +1 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ type OrderProduct { initialPrice: Float! price: Float! product: Product! comment: String } input OrdersFindInput { Loading
packages/merchant-tablet-ionic/src/components/common/order-image/order-image.html +3 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,9 @@ <div class="name"> {{ productLocalesService.getTranslate(product.product.title) }} </div> <div *ngIf="!!product.comment" class="comment"> <div class="comment-text">{{ product.comment }}</div> </div> </div> </div> </div>
packages/merchant-tablet-ionic/src/components/common/order-image/order-image.scss +20 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,26 @@ white-space: nowrap; overflow: hidden; } .comment { color: white; background: $brand; font-size: 14px; padding: 5px; padding-top: 0; // comment-text &-text { margin-top: 5px; } &::before { content: ''; height: 1px; background: white; display: block; } } } .product-info { Loading
packages/merchant-tablet-ionic/src/services/warehouse-orders.service.ts +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ export class WarehouseOrdersService { products { count price comment product { id _id Loading