Skip to content

Commit

Permalink
Fix - Correction de la création/edition d'une livraison
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmugnier committed Nov 8, 2020
1 parent 394ed4f commit 46119ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/deliveries/CreateDelivery.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
}
}
],
available: true,
lockOrderHoursBeforeDelivery: 0
};
Expand Down
2 changes: 2 additions & 0 deletions src/routes/deliveries/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const CREATE_DELIVERY = gql`
city
zipcode
}
available
openingHours {
day
from
Expand All @@ -33,6 +34,7 @@ export const UPDATE_DELIVERY = gql`
city
zipcode
}
available
openingHours {
day
from
Expand Down
2 changes: 2 additions & 0 deletions src/routes/deliveries/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const GET_DELIVERIES = gql`
id
name
kind
available
lockOrderHoursBeforeDelivery
openingHours {
day
Expand All @@ -24,6 +25,7 @@ export const GET_DELIVERY_DETAILS = gql`
id
name
kind
available
lockOrderHoursBeforeDelivery
openingHours {
day
Expand Down

0 comments on commit 46119ec

Please sign in to comment.