mirror of
https://github.com/Alvin-Zilverstand/Challenge_15_Magazijn_App_Maken.git
synced 2026-12-02 09:41:23 +01:00
Add return pending status and related functionality for reservations
This commit is contained in:
1 parent
56ebf599ea
commit
68b0f9c557
7 files changed
+34
-18
No files matched your search
@@ -19,7 +19,7 @@ const reservationSchema = new mongoose.Schema({
|
||||
},
|
||||
status: {
|
||||
type: String,
|
||||
enum: ['PENDING', 'APPROVED', 'REJECTED', 'RETURNED', 'ARCHIVED'],
|
||||
enum: ['PENDING', 'APPROVED', 'REJECTED', 'RETURN_PENDING', 'RETURNED', 'ARCHIVED'],
|
||||
default: 'PENDING'
|
||||
},
|
||||
reservedDate: {
|
||||
|
||||
Reference in new issue
Block a user