- Togliere la terza cifra nell'invio dei RIS... massimo 0.99
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
p Ciao #{name},
|
||||
p Hai ricevuto
|
||||
strong #{qty} #{symbol}
|
||||
| da parte di #{mittente} sul
|
||||
| da parte di #{mittente} in data #{transactionDate} sul
|
||||
strong #{nomecircuito} !
|
||||
if causale
|
||||
p <br>
|
||||
p Commento: #{causale}
|
||||
p <br>
|
||||
p Apri #{nomeapp} per vedere il tuo nuovo saldo.
|
||||
p <br>
|
||||
|
||||
25
logtrans.txt
25
logtrans.txt
@@ -305,3 +305,28 @@ Dom 29/09 ORE 23:24: [<b>Circuito RIS Bologna</b>]: Inviate Monete da pontiUmani
|
||||
Saldi:
|
||||
pontiUmani (Anna50823): -397.00 RIS]
|
||||
franz12090: 20.00 RIS]
|
||||
Lun 30/09 ORE 22:42: [<b>Circuito RIS Italia</b>]: Inviate Monete da laura.nocera a Emilie 4 RIS [causale: carissima siccome ieri non ho potuto darli subito te li invio ora, inoltre un piccolo regalo per i tuoi bei figli per cui ti mando 4 ris invece che 2, un abbraccio e civediamo alla prossima ]
|
||||
Saldi:
|
||||
laura.nocera: -4.00 RIS]
|
||||
Emilie: 4.00 RIS]
|
||||
Lun 30/09 ORE 22:48: [<b>Circuito RIS Foggia</b>]: Inviate Monete da sergiomazzanti a pomps61 5 RIS [causale: ]
|
||||
Saldi:
|
||||
sergiomazzanti: 20.00 RIS]
|
||||
pomps61: 0.00 RIS]
|
||||
Lun 30/09 ORE 22:52: [<b>Circuito RIS Bologna</b>]: Inviate Monete da pontiUmani (Anna50823) a Naanbe 15 RIS [causale: ]
|
||||
Saldi:
|
||||
pontiUmani (Anna50823): -412.00 RIS]
|
||||
Naanbe: 3.00 RIS]
|
||||
Lun 30/09 ORE 22:54: [<b>Circuito RIS Bologna</b>]: Inviate Monete da ZeoPleiadi a pepedielena 1.5 RIS [causale: ]
|
||||
Saldi:
|
||||
ZeoPleiadi: 8.00 RIS]
|
||||
pepedielena: 1.50 RIS]
|
||||
Lun 30/09 ORE 22:55: [<b>Circuito RIS Bologna</b>]: Inviate Monete da paoloar77 a ElenaEspx 1 RIS [causale: Mio Commento !!! Ciaoooooooo.
|
||||
Ecome stai ????]
|
||||
Saldi:
|
||||
paoloar77: 21.00 RIS]
|
||||
ElenaEspx: 29.40 RIS]
|
||||
Lun 30/09 ORE 22:58: [<b>Circuito RIS Bologna</b>]: Inviate Monete da paoloar77 a ElenaEspx 0.01 RIS [causale: Prova del commento. Ciaooo come stai . Tutto benekfaòjd ask dakisj dlaks jdlkas jdlakdklasj dlkas jdlasd]
|
||||
Saldi:
|
||||
paoloar77: 20.99 RIS]
|
||||
ElenaEspx: 29.41 RIS]
|
||||
@@ -772,11 +772,17 @@ CircuitSchema.statics.sendCoins = async function (onlycheck, idapp, usernameOrig
|
||||
let mittente = orig;
|
||||
|
||||
try {
|
||||
const paramsrec = {
|
||||
mittente, nomecircuito: circuittable.name,
|
||||
symbol: circuittable.symbol, qty: myqty,
|
||||
transactionDate: ris.rec.transactionDate,
|
||||
causale: extrarec.causal,
|
||||
};
|
||||
if (extrarec.dest) {
|
||||
let myuserDest = await User.getUserByUsername(idapp, extrarec.dest);
|
||||
|
||||
// Invia una email al destinatario !
|
||||
await sendemail.sendEmail_RisRicevuti(myuserDest.lang, myuserDest, myuserDest.email, idapp, { mittente, nomecircuito: circuittable.name, symbol: circuittable.symbol, qty: myqty });
|
||||
await sendemail.sendEmail_RisRicevuti(myuserDest.lang, myuserDest, myuserDest.email, idapp, paramsrec);
|
||||
|
||||
} else if (extrarec.groupdest || extrarec.contoComDest) {
|
||||
let arrusers = await MyGroup.getListAdminsByGroupName(idapp, groupDestoContoCom);
|
||||
@@ -788,7 +794,7 @@ CircuitSchema.statics.sendCoins = async function (onlycheck, idapp, usernameOrig
|
||||
let myuserDest = await User.getUserByUsername(idapp, arrusers[i].username);
|
||||
|
||||
// Invia una email al destinatario !
|
||||
await sendemail.sendEmail_RisRicevuti(myuserDest.lang, myuserDest, myuserDest.email, idapp, { mittente, nomecircuito: circuittable.name, symbol: circuittable.symbol, qty: myqty });
|
||||
await sendemail.sendEmail_RisRicevuti(myuserDest.lang, myuserDest, myuserDest.email, idapp, paramsrec);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3339,6 +3339,7 @@ UserSchema.statics.setCircuitCmd = async function (idapp, usernameOrig, circuitn
|
||||
outres.cansend = true;
|
||||
}
|
||||
|
||||
if (outcheck) {
|
||||
if (cmd === shared_consts.CIRCUITCMD.SENDCOINS_ACCEPT && outcheck.cansend) {
|
||||
if (!await Movement.checkIfCoinsAlreadySent(extrarec.notifId)) {
|
||||
outres = await Circuit.sendCoins(false, idapp, usernameOrig, extrarec);
|
||||
@@ -3364,6 +3365,7 @@ UserSchema.statics.setCircuitCmd = async function (idapp, usernameOrig, circuitn
|
||||
} else {
|
||||
outres.arrrecnotifcoins = await SendNotif.findAllNotifByUsernameIdAndIdApp(username_action, extrarec.lastdr, idapp, shared_consts.LIMIT_NOTIFCOINS_FOR_USER, shared_consts.QualiNotifs.CIRCUITS);
|
||||
}
|
||||
}
|
||||
|
||||
//----
|
||||
|
||||
|
||||
@@ -316,7 +316,9 @@ module.exports = {
|
||||
qty: myrec.qty,
|
||||
mittente: decode(myrec.mittente),
|
||||
nomecircuito: decode(myrec.nomecircuito),
|
||||
transactionDate: tools.getstrDate_DD_MM_YYYY(myrec.transactionDate),
|
||||
symbol: myrec.symbol,
|
||||
causale: myrec.causale,
|
||||
};
|
||||
|
||||
mylocalsconf = this.setParamsForTemplate(userDest, mylocalsconf);
|
||||
|
||||
Reference in New Issue
Block a user