Payeer e AdvCash
This commit is contained in:
@@ -448,11 +448,15 @@ NavePersistenteSchema.statics.aggiornaFlottaByNavePersistente = async function (
|
||||
|
||||
if (nuovo) {
|
||||
myflotta.email_paypal = '';
|
||||
myflotta.payeer_id = '';
|
||||
myflotta.advcash_id = '';
|
||||
myflotta.revolut = '';
|
||||
myflotta.link_payment = '';
|
||||
myflotta.note_payment = '';
|
||||
if (!!sognatore) {
|
||||
myflotta.email_paypal = sognatore.profile.email_paypal;
|
||||
myflotta.payeer_id = sognatore.profile.payeer_id;
|
||||
myflotta.advcash_id = sognatore.profile.advcash_id;
|
||||
myflotta.revolut = sognatore.profile.revolut;
|
||||
myflotta.link_payment = sognatore.profile.link_payment;
|
||||
myflotta.note_payment = sognatore.profile.note_payment;
|
||||
@@ -462,6 +466,10 @@ NavePersistenteSchema.statics.aggiornaFlottaByNavePersistente = async function (
|
||||
if (!!sognatore) {
|
||||
if (!myflotta.email_paypal)
|
||||
myflotta.email_paypal = sognatore.profile.email_paypal;
|
||||
if (!myflotta.payeer_id)
|
||||
myflotta.payeer_id = sognatore.profile.payeer_id;
|
||||
if (!myflotta.advcash_id)
|
||||
myflotta.advcash_id = sognatore.profile.advcash_id;
|
||||
if (!myflotta.revolut)
|
||||
myflotta.revolut = sognatore.profile.revolut;
|
||||
if (!myflotta.link_payment)
|
||||
|
||||
Reference in New Issue
Block a user