This commit is contained in:
@@ -15,6 +15,7 @@ exports.createVehicleRepair = (req, res) => {
|
||||
site,
|
||||
repair_description: req.body.repair_description || req.body.part_name || '',
|
||||
part_name: req.body.part_name || '',
|
||||
part_name_other: req.body.part_name_other || '',
|
||||
mileage_at_replacement: req.body.mileage_at_replacement || '',
|
||||
quantity: req.body.quantity || '',
|
||||
repair_price: req.body.repair_price || '',
|
||||
|
||||
@@ -5,6 +5,7 @@ module.exports = mongoose => {
|
||||
site: Number,
|
||||
repair_description: String,
|
||||
part_name: String,
|
||||
part_name_other: String,
|
||||
mileage_at_replacement: String,
|
||||
quantity: String,
|
||||
repair_price: String,
|
||||
|
||||
Reference in New Issue
Block a user