forked from verdnatura/salix-front
refactor: refs #6971 moved correct button + unmade previous changes
This commit is contained in:
parent
61e7a77882
commit
0c8f5f4888
|
@ -205,6 +205,17 @@ function navigateToRouteSummary(event, row) {
|
|||
<div class="route-list">
|
||||
<div class="q-pa-md">
|
||||
<QCard class="vn-one q-py-sm q-px-lg">
|
||||
<QBtn
|
||||
icon="vn:invoice-in-create"
|
||||
color="primary"
|
||||
:disable="!selectedRows?.length"
|
||||
@click="openDmsUploadDialog"
|
||||
class="createInvoiceIn"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Create invoiceIn') }}
|
||||
</QTooltip>
|
||||
</QBtn>
|
||||
<VnLv class="flex">
|
||||
<template #label>
|
||||
<span class="text-h6">{{ t('Total') }}</span>
|
||||
|
@ -289,18 +300,6 @@ function navigateToRouteSummary(event, row) {
|
|||
</template>
|
||||
</VnPaginate>
|
||||
</div>
|
||||
<QPageSticky :offset="[20, 20]" v-if="selectedRows?.length">
|
||||
<QBtn
|
||||
fab
|
||||
icon="vn:invoice-in-create"
|
||||
color="primary"
|
||||
@click="openDmsUploadDialog"
|
||||
>
|
||||
<QTooltip>
|
||||
{{ t('Create invoiceIn') }}
|
||||
</QTooltip>
|
||||
</QBtn>
|
||||
</QPageSticky>
|
||||
</QPage>
|
||||
<QDialog v-model="dmsDialog.show">
|
||||
<VnDms
|
||||
|
@ -326,6 +325,11 @@ function navigateToRouteSummary(event, row) {
|
|||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.createInvoiceIn {
|
||||
float: right;
|
||||
margin-top: -0.2%;
|
||||
}
|
||||
</style>
|
||||
<i18n>
|
||||
es:
|
||||
|
|
|
@ -253,15 +253,6 @@ const openTicketsDialog = (id) => {
|
|||
>
|
||||
<QTooltip>{{ t('Mark as served') }}</QTooltip>
|
||||
</QBtn>
|
||||
<RouterLink :to="{ name: 'RouteCreate' }">
|
||||
<QBtn
|
||||
icon="add"
|
||||
color="primary"
|
||||
:disable="!selectedRows?.length"
|
||||
@click="{ navigate }"
|
||||
/>
|
||||
<QTooltip>{{ t('newRoute') }}</QTooltip>
|
||||
</RouterLink>
|
||||
</template>
|
||||
</VnSubToolbar>
|
||||
<div class="route-list">
|
||||
|
@ -452,6 +443,20 @@ const openTicketsDialog = (id) => {
|
|||
</VnPaginate>
|
||||
</div>
|
||||
<QPageSticky :offset="[20, 20]">
|
||||
<RouterLink :to="{ name: 'RouteCreate' }">
|
||||
<QBtn
|
||||
fab
|
||||
icon="add"
|
||||
color="primary"
|
||||
:disable="!selectedRows?.length"
|
||||
@click="
|
||||
{
|
||||
navigate;
|
||||
}
|
||||
"
|
||||
/>
|
||||
<QTooltip>{{ t('newRoute') }}</QTooltip>
|
||||
</RouterLink>
|
||||
</QPageSticky>
|
||||
</QPage>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue