Skip payment process if item is free to borrow
This commit is contained in:
@@ -62,7 +62,7 @@ const Rental = sequelize.define("Rental", {
|
||||
defaultValue: "pending",
|
||||
},
|
||||
paymentStatus: {
|
||||
type: DataTypes.ENUM("pending", "paid", "refunded"),
|
||||
type: DataTypes.ENUM("pending", "paid", "refunded", "not_required"),
|
||||
defaultValue: "pending",
|
||||
},
|
||||
payoutStatus: {
|
||||
|
||||
Reference in New Issue
Block a user