payservedb 2.9.5 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -98,7 +98,7 @@ const models = {
98
98
  Stocksandspare:require('./src/models/stocksandspare'),
99
99
  ServiceVendor:require('./src/models/maintenance_service_vendor'),
100
100
  MaintenanceServices:require('./src/models/maintenance_services'),
101
- Requisition:require('./src/models/maintenancerequisition'),
101
+ StockRequisition:require('./src/models/maintenancerequisition'),
102
102
  LeaseAgreement:require('./src/models/leaseagreement'),
103
103
  WorkOrder:require('./src/models/workorder'),
104
104
  ServiceInvoice:require('./src/models/service_invoice'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "2.9.5",
3
+ "version": "2.9.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,4 +19,4 @@ const requisitionSchema = new mongoose.Schema({
19
19
  timestamps: true,
20
20
  });
21
21
 
22
- module.exports = mongoose.model('Requisition', requisitionSchema);
22
+ module.exports = mongoose.model('StockRequisition', requisitionSchema);