forked from verdnatura/salix-front
resolve conflicts with dev
This commit is contained in:
parent
cb51445ead
commit
aa40a3b0f5
|
@ -1105,5 +1105,8 @@ export default {
|
||||||
editPictureForm: {
|
editPictureForm: {
|
||||||
allowedFilesText: 'Allowed file types: { allowedContentTypes }',
|
allowedFilesText: 'Allowed file types: { allowedContentTypes }',
|
||||||
},
|
},
|
||||||
|
VnLv: {
|
||||||
|
copyText: '{copyValue} has been copied to the clipboard',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -1105,5 +1105,8 @@ export default {
|
||||||
editPictureForm: {
|
editPictureForm: {
|
||||||
allowedFilesText: 'Tipos de archivo permitidos: { allowedContentTypes }',
|
allowedFilesText: 'Tipos de archivo permitidos: { allowedContentTypes }',
|
||||||
},
|
},
|
||||||
|
VnLv: {
|
||||||
|
copyText: '{copyValue} se ha copiado al portapepeles',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -105,10 +105,8 @@ const sendCampaignMetricsEmail = ({ address }) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const calculateTotal = (buysArray) => {
|
const calculateTotal = (buysArray = []) =>
|
||||||
if (!buysArray || !buysArray.length > 0) return;
|
buysArray.reduce((accumulator, { total }) => accumulator + total, 0);
|
||||||
return buysArray.reduce((accumulator, { total }) => accumulator + total, 0);
|
|
||||||
};
|
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
stateStore.rightDrawer = true;
|
stateStore.rightDrawer = true;
|
||||||
|
@ -117,35 +115,31 @@ onMounted(async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<QToolbar v-if="rows && rows.length > 0" class="bg-vn-dark justify-end">
|
<Teleport to="#st-data" v-if="stateStore.isSubToolbarShown()">
|
||||||
<div id="st-data">
|
<QBtn
|
||||||
<QBtn
|
v-if="dateRanges.from && dateRanges.to"
|
||||||
:disabled="!dateRanges.from && !dateRanges.to"
|
color="primary"
|
||||||
color="primary"
|
icon-right="picture_as_pdf"
|
||||||
icon-right="picture_as_pdf"
|
no-caps
|
||||||
no-caps
|
class="q-mr-md"
|
||||||
class="q-mr-md"
|
@click="openReportPdf()"
|
||||||
@click="openReportPdf()"
|
>
|
||||||
>
|
<QTooltip>
|
||||||
<QTooltip>
|
{{ t('Open as PDF') }}
|
||||||
{{ t('Open as PDF') }}
|
</QTooltip>
|
||||||
</QTooltip>
|
</QBtn>
|
||||||
</QBtn>
|
<QBtn
|
||||||
<QBtn
|
v-if="dateRanges.from && dateRanges.to"
|
||||||
:disabled="!dateRanges.from && !dateRanges.to"
|
color="primary"
|
||||||
color="primary"
|
icon-right="email"
|
||||||
icon-right="email"
|
no-caps
|
||||||
no-caps
|
@click="openSendEmailDialog()"
|
||||||
@click="openSendEmailDialog()"
|
>
|
||||||
>
|
<QTooltip>
|
||||||
<QTooltip>
|
{{ t('Send to email') }}
|
||||||
{{ t('Send to email') }}
|
</QTooltip>
|
||||||
</QTooltip>
|
</QBtn>
|
||||||
</QBtn>
|
</Teleport>
|
||||||
</div>
|
|
||||||
<QSpace />
|
|
||||||
<div id="st-actions"></div>
|
|
||||||
</QToolbar>
|
|
||||||
|
|
||||||
<QPage class="column items-center q-pa-md">
|
<QPage class="column items-center q-pa-md">
|
||||||
<QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above>
|
<QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above>
|
||||||
|
|
Loading…
Reference in New Issue