add transactionsEnabled : enable the circuit to the transactions
This commit is contained in:
@@ -175,6 +175,9 @@ const CircuitSchema = new Schema({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
transactionsEnabled: {
|
||||
type: Boolean,
|
||||
},
|
||||
});
|
||||
|
||||
CircuitSchema.pre('save', async function(next) {
|
||||
@@ -230,6 +233,8 @@ CircuitSchema.statics.getWhatToShow = function(idapp, username) {
|
||||
date_updated: 1,
|
||||
nome_valuta: 1,
|
||||
fido_scoperto_default: 1,
|
||||
deperimento: 1,
|
||||
transactionsEnabled: 1,
|
||||
qta_max_default: 1,
|
||||
valuta_per_euro: 1,
|
||||
symbol: 1,
|
||||
|
||||
Reference in New Issue
Block a user