refactor: refs #6971 fixed request changes
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-03-25 09:52:04 +01:00
parent a530e44179
commit bf0e2d3bf6
2 changed files with 15 additions and 29 deletions

View File

@ -204,18 +204,7 @@ function navigateToRouteSummary(event, row) {
<QPage class="column items-center">
<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>
<QCard class="vn-one q-py-sm q-px-lg flex justify-between">
<VnLv class="flex">
<template #label>
<span class="text-h6">{{ t('Total') }}</span>
@ -224,6 +213,16 @@ function navigateToRouteSummary(event, row) {
<span class="text-h6 q-ml-md">{{ toCurrency(total) }}</span>
</template>
</VnLv>
<QBtn
icon="vn:invoice-in-create"
color="primary"
:disable="!selectedRows?.length"
@click="openDmsUploadDialog"
>
<QTooltip>
{{ t('Create invoiceIn') }}
</QTooltip>
</QBtn>
</QCard>
</div>
<VnPaginate
@ -325,11 +324,6 @@ function navigateToRouteSummary(event, row) {
cursor: pointer;
}
}
.createInvoiceIn {
float: right;
margin-top: -0.2%;
}
</style>
<i18n>
es:

View File

@ -444,18 +444,10 @@ const openTicketsDialog = (id) => {
</div>
<QPageSticky :offset="[20, 20]">
<RouterLink :to="{ name: 'RouteCreate' }">
<QBtn
fab
icon="add"
color="primary"
:disable="!selectedRows?.length"
@click="
{
navigate;
}
"
/>
<QTooltip>{{ t('newRoute') }}</QTooltip>
<QBtn fab icon="add" color="primary" />
<QTooltip>
{{ t('newRoute') }}
</QTooltip>
</RouterLink>
</QPageSticky>
</QPage>