forked from verdnatura/salix-front
refs #5835 change descriptor menu style
This commit is contained in:
parent
f75b81db71
commit
8d04036836
|
@ -227,69 +227,48 @@ function triggerMenu(type) {
|
|||
clickable
|
||||
@click="triggerMenu('book')"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="summarize" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('To book') }}</QItemSection>
|
||||
</QItem>
|
||||
<QSeparator />
|
||||
<QItem
|
||||
v-if="hasAny(['administrative'])"
|
||||
v-ripple
|
||||
clickable
|
||||
@click="triggerMenu('delete')"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="delete" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('Delete invoice') }}</QItemSection>
|
||||
</QItem>
|
||||
<QSeparator />
|
||||
<QItem
|
||||
v-if="hasAny(['administrative'])"
|
||||
v-ripple
|
||||
clickable
|
||||
@click="triggerMenu('clone')"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="file_copy" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('Clone invoice') }}</QItemSection>
|
||||
</QItem>
|
||||
<QSeparator />
|
||||
<QItem
|
||||
v-if="isAgricultural()"
|
||||
v-ripple
|
||||
clickable
|
||||
@click="triggerMenu('showPdf')"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="picture_as_pdf" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('Show agricultural receipt as PDF') }}</QItemSection>
|
||||
</QItem>
|
||||
<QSeparator />
|
||||
<QItem
|
||||
v-if="isAgricultural()"
|
||||
v-ripple
|
||||
clickable
|
||||
@click="triggerMenu('sendPdf')"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="mail" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('Send agricultural receipt as PDF') }}</QItemSection>
|
||||
<QItemSection
|
||||
>{{ t('Send agricultural receipt as PDF') }}...</QItemSection
|
||||
>
|
||||
</QItem>
|
||||
<QSeparator />
|
||||
<QItem
|
||||
v-if="entity.dmsFk"
|
||||
v-ripple
|
||||
clickable
|
||||
@click="downloadFile(entity.dmsFk)"
|
||||
>
|
||||
<QItemSection avatar>
|
||||
<QIcon name="cloud_download" />
|
||||
</QItemSection>
|
||||
<QItemSection>{{ t('components.smartCard.downloadFile') }}</QItemSection>
|
||||
</QItem>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue