Skip to content

Commit

Permalink
chore: fix order list, add weight to fulfilment detail
Browse files Browse the repository at this point in the history
  • Loading branch information
belsman committed Nov 1, 2024
1 parent 3a5beac commit 65e6d67
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fragment FulfillmentFragment on IoRestorecommerceFulfillmentFulfillment {
width
length
}
weightInKg
}
}
package {
Expand All @@ -44,6 +45,7 @@ fragment FulfillmentFragment on IoRestorecommerceFulfillmentFulfillment {
width
length
}
weightInKg
}
}
sender {
Expand Down
10 changes: 10 additions & 0 deletions packages/core/graphql/src/lib/generated/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6026,6 +6026,7 @@ export type FulfillmentFragmentFragment = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand All @@ -6037,6 +6038,7 @@ export type FulfillmentFragmentFragment = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand Down Expand Up @@ -7372,6 +7374,7 @@ export type FulfillmentFulfillmentMutateMutation = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand All @@ -7383,6 +7386,7 @@ export type FulfillmentFulfillmentMutateMutation = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand Down Expand Up @@ -7532,6 +7536,7 @@ export type FulfillmentFulfillmentReadQuery = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand All @@ -7543,6 +7548,7 @@ export type FulfillmentFulfillmentReadQuery = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand Down Expand Up @@ -7667,6 +7673,7 @@ export type FulfillmentFulfillmentSubmitMutation = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand All @@ -7678,6 +7685,7 @@ export type FulfillmentFulfillmentSubmitMutation = {
package?: {
__typename?: 'IoRestorecommerceProductPackage';
rotatable?: boolean | null;
weightInKg?: number | null;
sizeInCm?: {
__typename?: 'IoRestorecommerceGeometryBoundingBox3D';
height?: number | null;
Expand Down Expand Up @@ -10829,6 +10837,7 @@ export const FulfillmentFragmentFragmentDoc = gql`
width
length
}
weightInKg
}
}
package {
Expand All @@ -10838,6 +10847,7 @@ export const FulfillmentFragmentFragmentDoc = gql`
width
length
}
weightInKg
}
}
sender {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
priority="auto"
/>

<div>{{ numberOfItems }} {{ numberOfItems > 1 ? 'Items' : 'Item' }}</div>
<div>
<vcl-badge>
{{ numberOfItems }}
{{ numberOfItems > 1 ? 'Items' : 'Item' }}</vcl-badge
>
</div>
</div>
<div class="flex">
<div class="row">
Expand Down
2 changes: 2 additions & 0 deletions packages/modules/ui/src/lib/modules-ui.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {
VCLPanelModule,
VCLCheckboxModule,
VCLButtonGroupModule,
VCLBadgeModule,
} from '@vcl/ng-vcl';

import {
Expand Down Expand Up @@ -149,6 +150,7 @@ const modules = [
VCLCheckboxModule,
VCLPanelModule,
VCLButtonGroupModule,
VCLBadgeModule,
];

const atoms = [
Expand Down

0 comments on commit 65e6d67

Please sign in to comment.