Skip payment process if item is free to borrow

This commit is contained in:
jackiettran committed 2025-09-22 22:02:08 -04:00
1 parent 3e76769a3e
commit 67cc997ddc
7 files changed
+245 -68

No files matched your search

+1 -1
View File
@@ -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: {