mirror of
https://github.com/Alvin-Zilverstand/Challenge_15_Magazijn_App_Maken.git
synced 2026-03-06 11:06:34 +01:00
Add return pending status and related functionality for reservations
This commit is contained in:
@@ -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