Skip to content

Commit

Permalink
feat(fulfilment): query more fulfilment data
Browse files Browse the repository at this point in the history
  • Loading branch information
belsman committed Oct 24, 2024
1 parent 3b9bc35 commit bc4685a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
47 changes: 47 additions & 0 deletions packages/core/graphql/src/lib/documents/fragments/fulfillment.gql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,53 @@ fragment FulfillmentFragment on IoRestorecommerceFulfillmentFulfillment {
customerId
shopId
userId
packaging {
exportType
notify
invoiceNumber
exportDescription
parcels {
id
productId
items {
productId
variantId
quantity
}
package {
rotatable
sizeInCm {
height
width
length
}
}
}
sender {
address {
id
postcode
}
contact {
name
email
phone
}
comments
}
recipient {
address {
id
postcode
countryId
}
}
notify
invoiceNumber
exportDescription
exportType
}
fulfillmentState
meta {
...MetaFragment
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ export class FulfillmentFacade {
fulfillmentActions.fulfillmentRemoveRequest({ payload })
);

// TODO Submit a fulfilment.

constructor(private readonly store: Store) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class FulfillmentTemplateComponent implements OnInit, OnDestroy {
return;
}

// this.orderFacade.createFulfilment(id);
// TODO this.fulfillmentFacade.submitFulfilment(id);
})
);

Expand Down

0 comments on commit bc4685a

Please sign in to comment.