Payeer e AdvCash
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="row justify-between q-pa-xs-sm">
|
||||
<div :style="'font-size:'+ fontsize + ' padding-right: 8px;'">
|
||||
<div :style="' padding-right: 8px;'">
|
||||
{{mytext}}
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -83,6 +83,10 @@ export default class CGridTableRec extends Vue {
|
||||
return UserStore.state.isTutor
|
||||
}
|
||||
|
||||
get isZoomeri() {
|
||||
return UserStore.state.isZoomeri
|
||||
}
|
||||
|
||||
get isTratuttrici() {
|
||||
return UserStore.state.isTratuttrici
|
||||
}
|
||||
|
||||
@@ -71,8 +71,7 @@
|
||||
Cuore desidera ardentemente?
|
||||
</li>
|
||||
<li>Attivare almeno <strong>2 metodi di pagamento</strong>.
|
||||
<strong>Revolut</strong> è quello maggiormente consigliato.<br>
|
||||
Come seconda scelta c'è Paypal, ma ultimamente stiamo avendo problemi perchè tendono a bloccare i soldi sul conto per 6 mesi per controlli, quindi da utilizzare solo se impossiblitati ad aprire un conto con Revolut.
|
||||
<strong>Revolut, Payeer e Paypal (tramite MoneyBox)</strong> sono quelli maggiormente consigliati.<br>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
@@ -208,10 +207,9 @@
|
||||
</li>
|
||||
<li>Pisanje svojih sanj: kaj je tisto, kar bi želeli doseči, in po čem vaše srce hrepeni?
|
||||
</li>
|
||||
<li>Aktivirajte vsaj 2 načina plačila. PayPal je obvezen (za aktiviranje potrebujete 2 minuti).
|
||||
Omogoča vam brezplačne prenose v evro območju in nanj lahko povežete kartice in preverjate
|
||||
račune. Vaši podatki so varni in se ne delijo s prejemnikom. Račun Revolut ali N26 se priporoča
|
||||
kot druga možnost, Western Union, Xoom ali TransferWise pa v primeru neevropskih daril.
|
||||
<li>Aktivirajte vsaj 2 načina plačila.
|
||||
<strong>Revolut, Payeer in Paypal (preko MoneyBoxa)</strong> so najbolj priporočljivi.<br>
|
||||
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
@@ -342,12 +340,8 @@
|
||||
deseas de corazón?
|
||||
</li>
|
||||
<li>Activar por lo menos <strong>2 métodos de pago</strong>.
|
||||
<strong>PayPal</strong> es obligatorio (toma 2 minutos activarlo). Te permite hacer
|
||||
transferencias gratuitas en la zona euro y puedes conectar tarjetas y cuenta corriente a ella.
|
||||
Tus datos están seguros y no se comparten con el receptor. Recomendamos la cuenta <strong>Revolut</strong>
|
||||
o <strong>N26</strong>
|
||||
como segunda opción y <strong>Western Union, Xoom o TransferWise</strong> en casos de regalos
|
||||
extra-europeos.
|
||||
<strong>Revolut, Payeer y Paypal (a través de MoneyBox)</strong> son los más recomendados.<br>
|
||||
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
@@ -502,13 +496,8 @@
|
||||
Anseio do coração?
|
||||
</li>
|
||||
<li>Ativar pelo menos <strong>2 formas de pagamento</strong>.
|
||||
<strong>PayPal</strong> é obrigatório (demora 2 minutos a activá-lo).
|
||||
Permite-lhe transferências gratuitas na zona Euro e pode ligar-lhe cartões e contas.
|
||||
correntes. Os seus dados estão seguros e não são partilhados com o receptor.
|
||||
Recomendamos o <strong>Revolução</strong> ou <strong>N26</strong> conta como segunda opção e
|
||||
<strong>Ocidente
|
||||
Union</strong>, Xoom ou TransferWise em casos de
|
||||
presentes extra-europeus.
|
||||
<strong>Revolut, Payeer e Paypal (via MoneyBox)</strong> são os mais recomendados.<br>
|
||||
|
||||
</li>
|
||||
</ol>
|
||||
<p class="cltexth3 text-blue q-ma-lg">Passo 3: Programação e ativação do Navio</p>.
|
||||
@@ -642,14 +631,8 @@
|
||||
<li>Ecrivez <strong>Votre Rêve</strong>: quelle est la chose ou le projet que vous aimeriez réaliser
|
||||
et que votre coeur désire ardemment ?
|
||||
</li>
|
||||
<li>Activer au moins 2 <strong>moyens de paiement</strong>. <strong>PayPal</strong> est obligatoire
|
||||
(il faut 2 minutes pour
|
||||
l'activer). Il vous permet d'effectuer des transferts gratuits dans la zone Euro et vous pouvez
|
||||
y relier cartes bancaires et comptes courants. Vos données personnelles sont en sécurité et ne
|
||||
sont pas partagées avec le destinataire. Nous recommandons le compte <strong>Revolut</strong> ou
|
||||
<strong>N26</strong> comme
|
||||
deuxième option et <strong>Western Union, Xoom ou TransferWise</strong> pour les dons
|
||||
extra-européens.
|
||||
<li>Activer au moins 2 <strong>moyens de paiement</strong>
|
||||
<strong>Revolut, Payeer et Paypal (via MoneyBox)</strong> sont les plus recommandés.<br>
|
||||
</li>
|
||||
</ol>
|
||||
<p class="cltexth3 text-blue q-ma-lg">Etape 3: PROGRAMMATION ET ACTIVATION DE DES NAVIRES</p>.
|
||||
@@ -797,12 +780,7 @@
|
||||
that your Heart is longing?
|
||||
</li>
|
||||
<li>Activate at least <strong>2 payment methods</strong> (is recommended).
|
||||
<strong>PayPal</strong> is mandatory (it takes 2 minutes to activate it).
|
||||
It allows you free transfers in the Euro area and you can connect cards and accounts to it.
|
||||
Your data is safe and not shared with the receiver.
|
||||
We recommend the <strong>Revolut</strong> or <strong>N26</strong> account as the second option
|
||||
and <strong>Western Union</strong>, Xoom or TransferWise in cases of
|
||||
extra-European gifts.
|
||||
<strong>Revolut, Payeer and Paypal (via MoneyBox)</strong> are the most recommended.<br>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
@@ -899,10 +877,6 @@
|
||||
(Video-Conferenza On Line)
|
||||
</li>
|
||||
|
||||
<li>dichiaro di aver ben compreso che per la mia sicurezza devo aprire un <strong>conto
|
||||
Paypal</strong>
|
||||
per consegnare il regalo.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div v-else-if="toolsext.isLang('si')">
|
||||
@@ -927,10 +901,6 @@
|
||||
video-konferenca)
|
||||
|
||||
</li>
|
||||
|
||||
<li>Izjavljam, da razumem, da moram zaradi svoje varnosti odpreti <strong>Paypal</strong> račun za
|
||||
dostavo darila.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div v-else-if="toolsext.isLang('es')">
|
||||
@@ -950,10 +920,6 @@
|
||||
Conferencia En-línea).
|
||||
</li>
|
||||
|
||||
<li>Declaro haber entendido bien que por mi seguridad tengo que abrir una <strong>cuenta de
|
||||
Paypal</strong> para hacer el regalo.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Puedo ejercer mi derecho de retirada dentro de los 14 días siguientes al envío del regalo si no
|
||||
deseo continuar mi viaje.
|
||||
@@ -979,11 +945,6 @@
|
||||
(Videoconferência On Line)
|
||||
</li>
|
||||
|
||||
<li>Eu declaro que compreendi bem que para minha segurança tenho que abrir uma <strong>conta
|
||||
Paypal</strong>.
|
||||
para entregar o presente.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Posso exercer o meu direito de retirada no prazo de 14 dias após o envio do presente se não
|
||||
quiser mais
|
||||
@@ -1010,10 +971,6 @@
|
||||
ligne);
|
||||
</li>
|
||||
|
||||
<li>Je déclare avoir bien compris que pour ma sécurité, je dois ouvrir un compte Paypal pour verser
|
||||
le Don;
|
||||
</li>
|
||||
|
||||
<li>Je peux exercer mon droit de rétractation dans les 14 jours suivant l'envoi du cadeau si je ne
|
||||
souhaite plus poursuivre mon voyage.
|
||||
</li>
|
||||
@@ -1039,10 +996,6 @@
|
||||
(Video-Conference On Line)
|
||||
</li>
|
||||
|
||||
<li>I declare to have well understood that for my safety I have to open a <strong>Paypal</strong>
|
||||
account to deliver the gift.
|
||||
</li>
|
||||
|
||||
<li>I can exercise my right of withdrawal within 14 days of sending the gift if I no longer wish to
|
||||
continue my trip.
|
||||
</li>
|
||||
|
||||
@@ -297,7 +297,7 @@ export default class CMyDashboard extends MixinUsers {
|
||||
if (val1 < 0)
|
||||
val1 = 0
|
||||
|
||||
let valmax = val1;
|
||||
let valmax = val1
|
||||
if (valmax < 2)
|
||||
valmax = 2
|
||||
|
||||
@@ -375,7 +375,7 @@ export default class CMyDashboard extends MixinUsers {
|
||||
if (val2 < 0)
|
||||
val2 = 0
|
||||
|
||||
return val1 + '/' + val2
|
||||
return val1 + '/' + val2
|
||||
}
|
||||
|
||||
public isprovvisoria(mianave) {
|
||||
@@ -433,23 +433,31 @@ export default class CMyDashboard extends MixinUsers {
|
||||
const rigamin = tools.getRiganave(mianave.riga)
|
||||
const colmin = tools.getColnave(mianave.col)
|
||||
|
||||
const mynavedest = tools.getfirstnaveSognatore(mianave.riga, mianave.col)
|
||||
|
||||
let riga = this.myrigaattuale
|
||||
let col = this.mycolattuale
|
||||
|
||||
let colvera = colmin
|
||||
if (rigamin > 3) {
|
||||
for (let index = rigamin; index < riga - 1; index++) {
|
||||
if (rigamin > 1) {
|
||||
for (let index = rigamin; index < riga; index++) {
|
||||
colvera = colvera * 2
|
||||
}
|
||||
} else {
|
||||
colvera = 7
|
||||
}
|
||||
|
||||
if (col <= colvera) {
|
||||
if (riga === mynavedest.riga) {
|
||||
colvera = mynavedest.col
|
||||
}
|
||||
|
||||
// colvera = mynavedest.col
|
||||
|
||||
if (col < colvera) {
|
||||
riga = riga - 1
|
||||
}
|
||||
|
||||
// console.log('[' + rigamin + '.' + colmin + ']', 'riga', riga, 'col', col, 'colvera', colvera)
|
||||
console.log('[' + rigamin + '.' + colmin + ']', 'riga', riga, 'col', col, 'colvera', colvera)
|
||||
|
||||
if (riga > rigamin + 6)
|
||||
riga = rigamin + 6
|
||||
|
||||
@@ -12,6 +12,7 @@ import { CMySelect } from '../CMySelect'
|
||||
import { GlobalStore, UserStore } from '../../store/Modules'
|
||||
import { CMyChipList } from '../CMyChipList'
|
||||
import { CMyToggleList } from '../CMyToggleList'
|
||||
import translate from '@src/globalroutines/util'
|
||||
|
||||
@Component({
|
||||
name: 'CMyFieldDb',
|
||||
@@ -27,6 +28,7 @@ export default class CMyFieldDb extends MixinBase {
|
||||
@Prop({ required: false, default: false }) public disable: boolean
|
||||
@Prop({ required: false, default: '' }) public jointable: string
|
||||
@Prop({ required: false, default: 'settings' }) public table: string
|
||||
@Prop({ required: false, default: '' }) public myimg: string
|
||||
|
||||
public $t
|
||||
public myvalue = ''
|
||||
@@ -90,9 +92,9 @@ export default class CMyFieldDb extends MixinBase {
|
||||
return '***************'
|
||||
} else {
|
||||
if (val === undefined)
|
||||
return '-'
|
||||
return ' <span class="text-grey">(' + translate('reg.select') + ')</span> '
|
||||
else if (val === '') {
|
||||
return '-'
|
||||
return ' <span class="text-grey">(' + translate('reg.select') + ')</span> '
|
||||
} else {
|
||||
let mystr = tools.firstchars(val, 5000)
|
||||
if (val) {
|
||||
|
||||
@@ -1,10 +1,21 @@
|
||||
<template>
|
||||
<div class="text-center">
|
||||
<div class="row items-center justify-center q-gutter-md q-ma-xs">
|
||||
|
||||
<div class="q-ma-xs">
|
||||
<q-field rounded outlined bg-color="orange-3" dense style="min-width:110px;">
|
||||
<q-field rounded outlined bg-color="blue-1" dense style="min-width:110px;">
|
||||
<template v-slot:control>
|
||||
<div class="self-center full-width no-outline text-center" tabindex="0">{{title}}</div>
|
||||
<div class="centermydiv">
|
||||
<div v-if="myimg" class="text-center">
|
||||
<q-img
|
||||
:src="myimg"
|
||||
class="text-center"
|
||||
style="height: 50px; width: 50px;"
|
||||
:alt="title">
|
||||
</q-img>
|
||||
</div>
|
||||
<div class="self-center full-width no-outline text-center" tabindex="0">{{ title }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</q-field>
|
||||
</div>
|
||||
@@ -56,7 +67,7 @@
|
||||
</div>
|
||||
<div v-else-if="type === tools.FieldType.intcode">
|
||||
|
||||
{{ myvalprinted }}
|
||||
<div v-html="myvalprinted"></div>
|
||||
|
||||
</div>
|
||||
<div v-else-if="((type === tools.FieldType.multiselect) || (type === tools.FieldType.multioption))">
|
||||
@@ -88,7 +99,7 @@
|
||||
@input="savefieldboolean"></q-toggle>
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ myvalprinted }}
|
||||
<div v-html="myvalprinted"></div>
|
||||
</div>
|
||||
|
||||
<q-popup-edit
|
||||
@@ -103,7 +114,8 @@
|
||||
<div v-if="type === tools.FieldType.boolean">
|
||||
<q-checkbox v-model="myvalue" :label="col.title">
|
||||
</q-checkbox>
|
||||
{{ visuValByType(myvalue) }}
|
||||
<div v-html="visuValByType(myvalue)">
|
||||
</div>
|
||||
</div>
|
||||
<div v-else-if="type === tools.FieldType.string">
|
||||
<q-input v-model="myvalue"
|
||||
@@ -205,25 +217,25 @@
|
||||
:isarray="true">
|
||||
</CMyToggleList>
|
||||
|
||||
<!--
|
||||
<q-select
|
||||
v-model="myvalue"
|
||||
rounded
|
||||
dense
|
||||
outlined
|
||||
multiple
|
||||
options-dense
|
||||
:display-value="db_fieldsTable.getTitleByTable(col.jointable)"
|
||||
emit-value
|
||||
map-options
|
||||
:options="db_fieldsTable.getTableJoinByName(col.jointable)"
|
||||
:option-label="db_fieldsTable.getLabelByTable(col.jointable)"
|
||||
:option-value="db_fieldsTable.getKeyByTable(col.jointable)"
|
||||
style="min-width: 150px"
|
||||
>
|
||||
<!--
|
||||
<q-select
|
||||
v-model="myvalue"
|
||||
rounded
|
||||
dense
|
||||
outlined
|
||||
multiple
|
||||
options-dense
|
||||
:display-value="db_fieldsTable.getTitleByTable(col.jointable)"
|
||||
emit-value
|
||||
map-options
|
||||
:options="db_fieldsTable.getTableJoinByName(col.jointable)"
|
||||
:option-label="db_fieldsTable.getLabelByTable(col.jointable)"
|
||||
:option-value="db_fieldsTable.getKeyByTable(col.jointable)"
|
||||
style="min-width: 150px"
|
||||
>
|
||||
|
||||
</q-select>
|
||||
-->
|
||||
</q-select>
|
||||
-->
|
||||
</div>
|
||||
<div v-else-if="col.fieldtype === tools.FieldType.multioption">
|
||||
</div>
|
||||
@@ -239,5 +251,5 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './CMyFieldDb.scss';
|
||||
@import './CMyFieldDb.scss';
|
||||
</style>
|
||||
|
||||
@@ -61,6 +61,8 @@ export default class CMyFlotta extends MixinNave {
|
||||
public date_close: Date = null
|
||||
public revolut: string = ''
|
||||
public email_paypal: string = ''
|
||||
public payeer_id: string = ''
|
||||
public advcash_id: string = ''
|
||||
public note_payment: string = ''
|
||||
public link_payment: string = ''
|
||||
public link_superchat: string = ''
|
||||
@@ -136,6 +138,8 @@ export default class CMyFlotta extends MixinNave {
|
||||
this.note_payment = this.flotta.note_payment
|
||||
this.revolut = this.flotta.revolut
|
||||
this.email_paypal = this.flotta.email_paypal
|
||||
this.payeer_id = this.flotta.payeer_id
|
||||
this.advcash_id = this.flotta.advcash_id
|
||||
this.link_payment = this.flotta.link_payment
|
||||
this.link_superchat = this.flotta.link_superchat
|
||||
}
|
||||
|
||||
@@ -84,6 +84,20 @@
|
||||
</div>
|
||||
|
||||
<div class="justify-sm-start q-ma-md">
|
||||
<q-input v-model="payeer_id" style="max-width: 300px;" label="ID Payeer:"
|
||||
filled dense
|
||||
:readonly="true"
|
||||
debounce="1000"
|
||||
@input="change_field('payeer_id')">
|
||||
|
||||
</q-input>
|
||||
<q-input v-model="advcash_id" style="max-width: 300px;" label="ID Advanced Cash:"
|
||||
filled dense
|
||||
:readonly="true"
|
||||
debounce="1000"
|
||||
@input="change_field('advcash_id')">
|
||||
|
||||
</q-input>
|
||||
<q-input v-model="email_paypal" style="max-width: 300px;" label="Email Paypal:"
|
||||
filled dense
|
||||
:readonly="true"
|
||||
@@ -99,7 +113,7 @@
|
||||
|
||||
</q-input>
|
||||
<q-input standout bottom-slots
|
||||
v-model="link_payment" style="max-width: 400px;" label="Link per Paypal.me:"
|
||||
v-model="link_payment" style="max-width: 400px;" label="Link MoneyBox PayPal:"
|
||||
:readonly="true"
|
||||
debounce="1000"
|
||||
filled dense
|
||||
@@ -251,6 +265,8 @@
|
||||
<div class="justify-evenly" style="max-width: 300px;">
|
||||
<strong>Legenda dei codici speciali da inserire nei messaggi: </strong>
|
||||
<div>{link_paypalme}</div>
|
||||
<div>{payeer_id}</div>
|
||||
<div>{advcash_id}</div>
|
||||
<div>{link_superchat}</div>
|
||||
<div>{tutor1}</div>
|
||||
<div>{tutor2}</div>
|
||||
@@ -447,7 +463,8 @@
|
||||
@click="Mostraplacca(tools.getRiganave(rec.riga), tools.getColnave(rec.col))">
|
||||
</q-btn>
|
||||
</div>
|
||||
<div style="width: 30px;">
|
||||
<div v-if="!!rec.profile" style="width: 30px;">
|
||||
|
||||
<q-avatar v-if="tools.geticon(rec.profile.nationality)" :class="tools.geticon(rec.profile.nationality)"
|
||||
size="sm">
|
||||
</q-avatar>
|
||||
|
||||
@@ -97,15 +97,15 @@ export default class CMyNave extends MixinNave {
|
||||
sortable: true
|
||||
},
|
||||
{ name: 'nave', align: 'center', label: 'Gift Chat', field: 'nave', sortable: true },
|
||||
{ name: 'name', align: 'center', label: 'Nome Cognome', field: 'name', sortable: true },
|
||||
{ name: 'posizione', align: 'center', label: 'Posizione', field: 'posizione', sortable: true },
|
||||
{ name: 'date_made_gift', align: 'center', label: 'Inviato', field: 'date_made_gift', sortable: true },
|
||||
{ name: 'name', align: 'center', label: translate('reg.name_complete'), field: 'name', sortable: true },
|
||||
{ name: 'posizione', align: 'center', label: translate('dashboard.posizione'), field: 'posizione', sortable: true },
|
||||
{ name: 'date_made_gift', align: 'center', label: translate('dashboard.inviato'), field: 'date_made_gift', sortable: true },
|
||||
// { name: 'tel', align: 'center', label: 'Tel', field: 'tel', sortable: true },
|
||||
{ name: 'made_gift', align: 'center', label: 'Conferm.', field: 'made_gift', sortable: true },
|
||||
{ name: 'made_gift', align: 'center', label: translate('dashboard.azione'), field: 'made_gift', sortable: true },
|
||||
{
|
||||
name: 'commento_al_sognatore',
|
||||
align: 'center',
|
||||
label: 'Commento',
|
||||
label: translate('dashboard.commento'),
|
||||
field: 'commento_al_sognatore',
|
||||
sortable: true
|
||||
},
|
||||
@@ -223,6 +223,12 @@ export default class CMyNave extends MixinNave {
|
||||
if (!!this.getRevolutPagamentoSognatore()) {
|
||||
this.tabpagam = 'revolut'
|
||||
}
|
||||
if (!!this.getAdvCashPagamentoSognatore()) {
|
||||
this.tabpagam = 'advcash'
|
||||
}
|
||||
if (!!this.getPayeerPagamentoSognatore()) {
|
||||
this.tabpagam = 'payeer'
|
||||
}
|
||||
}
|
||||
|
||||
public getListaDonatoriDaConfermare() {
|
||||
@@ -418,6 +424,10 @@ export default class CMyNave extends MixinNave {
|
||||
|
||||
}
|
||||
|
||||
public getIdPagam() {
|
||||
|
||||
}
|
||||
|
||||
public HoEffettuatoIlDono() {
|
||||
const msgtitle = translate('dashboard.confermi_dono')
|
||||
const msginvia = msgtitle
|
||||
@@ -434,7 +444,7 @@ export default class CMyNave extends MixinNave {
|
||||
col: this.posiz.col,
|
||||
_id: this.iodonatore._id,
|
||||
date_made_gift: tools.getDateNow(),
|
||||
commento_al_sognatore: this.commento_al_sognatore + ' (' + this.tabpagam + ')',
|
||||
commento_al_sognatore: this.commento_al_sognatore + ' (' + this.tabpagam + ')' + this.getIdPagam(),
|
||||
},
|
||||
param2: this.sognatoredelDono().username,
|
||||
param3: mymsg
|
||||
@@ -499,6 +509,41 @@ export default class CMyNave extends MixinNave {
|
||||
return ''
|
||||
}
|
||||
|
||||
public getPayeerPagamentoSognatore() {
|
||||
const rec = this.sognatoredelDono()
|
||||
if (!!rec) {
|
||||
if (!!rec.profile)
|
||||
return rec.profile.payeer_id
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
public getAdvCashPagamentoSognatore() {
|
||||
const rec = this.sognatoredelDono()
|
||||
if (!!rec) {
|
||||
if (!!rec.profile)
|
||||
return rec.profile.advcash_id
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
public getLinkPayeerPagamentoSognatore() {
|
||||
const payeerid = this.getPayeerPagamentoSognatore()
|
||||
if (!!payeerid) {
|
||||
return 'https://payeer.com/en/account/send/'
|
||||
}
|
||||
|
||||
return ''
|
||||
}
|
||||
public getLinkAdvCashPagamentoSognatore() {
|
||||
const advcash = this.getAdvCashPagamentoSognatore()
|
||||
if (!!advcash) {
|
||||
return 'https://wallet.advcash.com/pages/transfer/wallet'
|
||||
}
|
||||
|
||||
return ''
|
||||
}
|
||||
|
||||
public getpaypalmePagamentoSognatore() {
|
||||
const rec = this.sognatoredelDono()
|
||||
if (!!rec) {
|
||||
|
||||
@@ -130,11 +130,90 @@
|
||||
narrow-indicator
|
||||
@input="changetab"
|
||||
>
|
||||
<q-tab v-if="!!getlinkRevolutSognatore()" name="revolut" icon="img:statics/images/revolut.jpg" label="revolut"></q-tab>
|
||||
<q-tab v-if="!!getemailPagamentoSognatore()" name="paypal" icon="img:statics/images/paypal.jpg" label="paypal"></q-tab>
|
||||
<q-tab v-if="!!getPayeerPagamentoSognatore()" name="payeer" icon="img:statics/images/payeer.jpg"
|
||||
label="payeer"></q-tab>
|
||||
<q-tab v-if="!!getAdvCashPagamentoSognatore()" name="advcash"
|
||||
icon="img:statics/images/advcash.jpg"
|
||||
label="advcash"></q-tab>
|
||||
<q-tab v-if="!!getlinkRevolutSognatore()" name="revolut" icon="img:statics/images/revolut.jpg"
|
||||
label="revolut"></q-tab>
|
||||
<q-tab v-if="!!getemailPagamentoSognatore()" name="paypal" icon="img:statics/images/paypal.jpg"
|
||||
label="paypal"></q-tab>
|
||||
</q-tabs>
|
||||
|
||||
<q-tab-panels v-model="tabpagam" animated>
|
||||
<q-tab-panel name="payeer">
|
||||
<q-img src="../../statics/images/regalo.jpg"
|
||||
class=""
|
||||
style="height: 150px; width: 150px;"
|
||||
alt="regalo">
|
||||
</q-img>
|
||||
<q-img src="../../statics/images/payeer.jpg"
|
||||
class=""
|
||||
style="height: 150px; width: 150px;"
|
||||
alt="Payeer">
|
||||
</q-img>
|
||||
<br><br>
|
||||
|
||||
|
||||
<q-btn
|
||||
rounded
|
||||
icon="fas fa-gift"
|
||||
color="primary"
|
||||
type="a"
|
||||
size="md"
|
||||
label="Payeer"
|
||||
:href="getLinkPayeerPagamentoSognatore()"
|
||||
target="__blank">
|
||||
</q-btn>
|
||||
<br>
|
||||
<br>
|
||||
<a :href="getLinkPayeerPagamentoSognatore()" target="_blank">{{
|
||||
getLinkPayeerPagamentoSognatore() }}</a>
|
||||
<div class="text-center text-h4">
|
||||
<CCopyBtn title="Advanced Cash Email" :texttocopy="getPayeerPagamentoSognatore()">
|
||||
|
||||
</CCopyBtn>
|
||||
</div>
|
||||
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="advcash">
|
||||
<q-img src="../../statics/images/regalo.jpg"
|
||||
class=""
|
||||
style="height: 150px; width: 150px;"
|
||||
alt="regalo">
|
||||
</q-img>
|
||||
<q-img src="../../statics/images/advcash.jpg"
|
||||
class=""
|
||||
style="height: 150px; width: 150px;"
|
||||
alt="AdvCash">
|
||||
</q-img>
|
||||
<br><br>
|
||||
|
||||
|
||||
<q-btn
|
||||
rounded
|
||||
icon="fas fa-gift"
|
||||
color="primary"
|
||||
type="a"
|
||||
size="md"
|
||||
label="AdvCash"
|
||||
:href="getLinkAdvCashPagamentoSognatore()"
|
||||
target="__blank">
|
||||
</q-btn>
|
||||
<br>
|
||||
<br>
|
||||
<a :href="getLinkAdvCashPagamentoSognatore()" target="_blank">{{
|
||||
getLinkAdvCashPagamentoSognatore() }}</a>
|
||||
|
||||
<div class="text-center text-h4">
|
||||
<CCopyBtn title="Advanced Cash Email" :texttocopy="getAdvCashPagamentoSognatore()">
|
||||
|
||||
</CCopyBtn>
|
||||
</div>
|
||||
|
||||
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="paypal">
|
||||
<div>
|
||||
<q-img src="../../statics/images/regalo.jpg"
|
||||
@@ -246,7 +325,7 @@
|
||||
rounded
|
||||
color="positive"
|
||||
size="lg"
|
||||
:label="$t('dashboard.ho_effettuato_il_dono')"
|
||||
:label="$t('dashboard.ho_effettuato_il_dono') + ' (' + tabpagam + ')'"
|
||||
icon="fas fa-gift"
|
||||
@click="HoEffettuatoIlDono">
|
||||
</q-btn>
|
||||
@@ -258,7 +337,7 @@
|
||||
text-color="green"
|
||||
color="white"
|
||||
icon="fas fa-gift">
|
||||
{{ $t('dashboard.ho_effettuato_il_dono') }}
|
||||
{{ $t('dashboard.ho_effettuato_il_dono') + ' (' + tabpagam + ')' }}
|
||||
</q-chip>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -164,20 +164,9 @@ export default class CMyRequirement extends MixinUsers {
|
||||
return ''
|
||||
},
|
||||
isok(user) {
|
||||
let ispaypal = false
|
||||
if (user) {
|
||||
if (!!user.profile.paymenttypes) {
|
||||
if (user.profile.paymenttypes.includes('paypal')) {
|
||||
if (user.profile.email_paypal) {
|
||||
ispaypal = true
|
||||
}
|
||||
}
|
||||
if (!!user.profile)
|
||||
if (!!user.profile.email_paypal) {
|
||||
const ris = (user.profile.email_paypal !== '') && ispaypal
|
||||
return ris
|
||||
}
|
||||
|
||||
return UserStore.state.my.profile.paymenttypes.length > 1
|
||||
}
|
||||
}
|
||||
return false
|
||||
|
||||
@@ -16,6 +16,7 @@ import { CRequisiti } from '../CRequisiti'
|
||||
import { shared_consts } from '../../common/shared_vuejs'
|
||||
import { CGuidelines } from '../CGuidelines'
|
||||
import { CVideoPromo } from '../CVideoPromo'
|
||||
import { lists } from '../../store/Modules/lists'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -49,6 +50,16 @@ export default class CStatus extends MixinBase {
|
||||
return 0
|
||||
}
|
||||
|
||||
private DiceDiAverPartec: boolean = false
|
||||
|
||||
/*@Watch('UserStore.state.my.profile.ask_zoom_partecipato', { immediate: true, deep: true })
|
||||
public array_changed() {
|
||||
console.log('*** ask_zoom_partecipato *** ', '[', UserStore.state.my.profile.ask_zoom_partecipato, ']')
|
||||
if (UserStore.state.my.profile.ask_zoom_partecipato !== undefined)
|
||||
this.DiceDiAverPartec = UserStore.state.my.profile.ask_zoom_partecipato
|
||||
console.log('*** this.DiceDiAverPartec *** ', '[', this.DiceDiAverPartec, ']')
|
||||
}*/
|
||||
|
||||
public arrsteps = [
|
||||
// {
|
||||
// title: 'steps.chat_biblio',
|
||||
@@ -175,18 +186,7 @@ export default class CStatus extends MixinBase {
|
||||
descr: 'steps.paymenttype_long',
|
||||
page: '',
|
||||
funccheck(index) {
|
||||
let ispaypal = false
|
||||
if (UserStore.state.my.profile.paymenttypes) {
|
||||
if (UserStore.state.my.profile.paymenttypes.includes('paypal')) {
|
||||
if (UserStore.state.my.profile.email_paypal)
|
||||
ispaypal = true
|
||||
}
|
||||
if (UserStore.state.my.profile)
|
||||
if (UserStore.state.my.profile.paymenttypes)
|
||||
return (UserStore.state.my.profile.paymenttypes.length >= 1) && ispaypal
|
||||
|
||||
}
|
||||
return false
|
||||
return UserStore.state.my.profile.paymenttypes.length > 1
|
||||
},
|
||||
funccheck_error(index) {
|
||||
return true
|
||||
@@ -344,10 +344,12 @@ export default class CStatus extends MixinBase {
|
||||
}
|
||||
|
||||
public created() {
|
||||
this.DiceDiAverPartec = UserStore.state.my.profile.ask_zoom_partecipato
|
||||
this.my_dream = UserStore.state.my.profile.my_dream
|
||||
|
||||
this.setstep()
|
||||
this.setsteptodo()
|
||||
|
||||
this.my_dream = UserStore.state.my.profile.my_dream
|
||||
}
|
||||
|
||||
public change_mydream() {
|
||||
@@ -452,33 +454,6 @@ export default class CStatus extends MixinBase {
|
||||
return UserStore.state.my.profile.paymenttypes
|
||||
}
|
||||
|
||||
get isselectPaypal() {
|
||||
if (UserStore.state.my.profile) {
|
||||
// console.log('pay', UserStore.state.my.profile.paymenttypes)
|
||||
if (UserStore.state.my.profile.paymenttypes) {
|
||||
if (UserStore.state.my.profile.paymenttypes.includes('paypal')) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
}
|
||||
get isselectRevolut() {
|
||||
if (UserStore.state.my.profile) {
|
||||
// console.log('pay', UserStore.state.my.profile.paymenttypes)
|
||||
if (UserStore.state.my.profile.paymenttypes) {
|
||||
if (UserStore.state.my.profile.paymenttypes.includes('revolut')) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public geticonstep(mystep) {
|
||||
if (!!mystep.icon)
|
||||
return mystep.icon
|
||||
@@ -526,24 +501,17 @@ export default class CStatus extends MixinBase {
|
||||
|
||||
}
|
||||
|
||||
public hagiapartecipato() {
|
||||
tools.AskGiaPartecipatoZoom(this, UserStore.state.my)
|
||||
}
|
||||
|
||||
get Completato9Req() {
|
||||
// return tools.Is9ReqOk(this.dashboard.myself)
|
||||
return this.CompletatoRequisiti && (this.getnuminvitati_attivi() >= 2)
|
||||
}
|
||||
|
||||
get RequisitoPayment() {
|
||||
let ispaypal = false
|
||||
if (UserStore.state.my.profile.paymenttypes) {
|
||||
if (UserStore.state.my.profile.paymenttypes.includes('paypal')) {
|
||||
if (UserStore.state.my.profile.email_paypal)
|
||||
ispaypal = true
|
||||
}
|
||||
if (UserStore.state.my.profile)
|
||||
if (UserStore.state.my.profile.paymenttypes)
|
||||
return (UserStore.state.my.profile.paymenttypes.length >= 1) && ispaypal
|
||||
|
||||
}
|
||||
return false
|
||||
return (UserStore.state.my.profile.paymenttypes.length > 1)
|
||||
}
|
||||
|
||||
get percstep() {
|
||||
@@ -572,6 +540,10 @@ export default class CStatus extends MixinBase {
|
||||
return this.getstep >= this.NUMSTEP_OBBLIGATORI
|
||||
}
|
||||
|
||||
public NoPartNoZoom() {
|
||||
return !this.DiceDiAverPartec && !this.VistoZoom
|
||||
}
|
||||
|
||||
public scrolltostep(mystep) {
|
||||
this.step = mystep
|
||||
if (mystep > 0)
|
||||
@@ -581,6 +553,18 @@ export default class CStatus extends MixinBase {
|
||||
|
||||
}
|
||||
|
||||
public Callback(funz) {
|
||||
console.log('callback')
|
||||
if (funz === lists.MenuAction.ZOOM_GIA_PARTECIPATO) {
|
||||
UserStore.mutations.setDiceDiAverPartecipato(true)
|
||||
this.DiceDiAverPartec = UserStore.state.my.profile.ask_zoom_partecipato
|
||||
// UserStore.state.my.profile.ask_zoom_partecipato = true
|
||||
|
||||
console.log('UserStore.state.my.profile.ask_zoom_partecipato = true')
|
||||
console.log('this.DiceDiAverPartec', this.DiceDiAverPartec)
|
||||
}
|
||||
}
|
||||
|
||||
public nextstep(index) {
|
||||
this.step = index + 1
|
||||
this.setsteptodo()
|
||||
|
||||
@@ -104,9 +104,10 @@
|
||||
<div v-html="$t(mystep.descr, {sitename: $t('ws.sitename')})"></div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.paymenttype_revolut')" bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad" canopen="true" :visible="true">
|
||||
myclass="myshad" canopen="true" :visible="false">
|
||||
|
||||
<CVideo myvideokey="nST5iHM2LbE">
|
||||
|
||||
@@ -118,6 +119,7 @@
|
||||
</q-btn>
|
||||
|
||||
</CTitleBanner>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.paymenttype_paypal')" bgcolor="bg-primary"
|
||||
@@ -160,21 +162,39 @@
|
||||
jointable="paymenttypes">
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb v-if="isselectRevolut" :title="$t('reg.revolut')"
|
||||
<CMyFieldDb v-if="tools.isselectRevolut()" :title="$t('reg.revolut')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="revolut"
|
||||
:type="tools.FieldType.string">
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb v-if="isselectPaypal" :title="$t('reg.email_paypal')"
|
||||
<CMyFieldDb v-if="tools.isselectPaypal()"
|
||||
:title="$t('reg.email_paypal')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="email_paypal"
|
||||
:type="tools.FieldType.string">
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb :title="$t('reg.link_payment')"
|
||||
<CMyFieldDb v-if="tools.isselectPayeer()"
|
||||
:title="$t('reg.payeer_id')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="payeer_id"
|
||||
:type="tools.FieldType.string">
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb v-if="tools.isselectAdvCash()"
|
||||
:title="$t('reg.advcash_id')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="advcash_id"
|
||||
:type="tools.FieldType.string">
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb v-if="tools.isselectPaypal()"
|
||||
:title="$t('reg.link_payment')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="link_payment"
|
||||
@@ -220,6 +240,19 @@
|
||||
:msgFalse="$t('steps.zoom_no_partecipato')">
|
||||
</CRequisiti>
|
||||
|
||||
<div v-if="NoPartNoZoom()">
|
||||
<q-btn rounded color="blue" @click="hagiapartecipato()"
|
||||
:label="$t('steps.zoom_gia_partecipato')"></q-btn>
|
||||
<br>
|
||||
</div>
|
||||
<div v-else>
|
||||
<CRequisiti v-if="!VistoZoom" :statebool="true" :msgTrue="$t('steps.zoom_richiesta_inviata')"
|
||||
msgFalse="">
|
||||
</CRequisiti>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div v-if="mystep.descr">
|
||||
<div v-html="$t(mystep.descr, {sitename: $t('ws.sitename')})"></div>
|
||||
</div>
|
||||
|
||||
@@ -65,6 +65,10 @@ export default class Header extends Vue {
|
||||
return UserStore.state.isTutor
|
||||
}
|
||||
|
||||
get isZoomeri() {
|
||||
return UserStore.state.isZoomeri
|
||||
}
|
||||
|
||||
get isTratuttrici() {
|
||||
return UserStore.state.isTratuttrici
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user