Skip to content

Commit

Permalink
feat: add order relation to offer
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Nov 6, 2024
1 parent 908ea3c commit 5dec206
Show file tree
Hide file tree
Showing 5 changed files with 4,202 additions and 0 deletions.
7 changes: 7 additions & 0 deletions webapp/src/payload/collections/Order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ export const Orders: CollectionConfig = {
relationTo: "users",
required: true,
},
{
name: "offer",
type: "relationship",
label: "Offre",
relationTo: "offers",
required: true,
},
{
name: "status",
type: "select",
Expand Down
Loading

0 comments on commit 5dec206

Please sign in to comment.