Dokumentenvorlagen im Ausgangsbeleg-Editor ergänzen
All checks were successful
Build and Push Docker Images / build-frontend (push) Successful in 1m22s
Build and Push Docker Images / build-website (push) Successful in 23s
Build and Push Docker Images / build-central-services-api (push) Successful in 22s
Build and Push Docker Images / build-backend (push) Successful in 43s
Build and Push Docker Images / build-central-services-admin (push) Successful in 21s
Build and Push Docker Images / build-docs (push) Successful in 21s
All checks were successful
Build and Push Docker Images / build-frontend (push) Successful in 1m22s
Build and Push Docker Images / build-website (push) Successful in 23s
Build and Push Docker Images / build-central-services-api (push) Successful in 22s
Build and Push Docker Images / build-backend (push) Successful in 43s
Build and Push Docker Images / build-central-services-admin (push) Successful in 21s
Build and Push Docker Images / build-docs (push) Successful in 21s
This commit is contained in:
@@ -21,10 +21,11 @@
|
||||
variant="outline"
|
||||
@click="clearSearchString()"
|
||||
/>
|
||||
<UButton
|
||||
@click="router.push(`/createDocument/edit`)"
|
||||
>
|
||||
+ Ausgangsbeleg
|
||||
<UButton icon="i-heroicons-plus" @click="modal.open(CreateDocumentModal)">
|
||||
+ Dokument
|
||||
</UButton>
|
||||
<UButton icon="i-heroicons-document-duplicate" variant="outline" @click="modal.open(CreateDocumentFromTemplateModal)">
|
||||
+ Dokument aus Vorlage
|
||||
</UButton>
|
||||
</template>
|
||||
</UDashboardNavbar>
|
||||
@@ -163,12 +164,15 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import CreateDocumentModal from "~/components/createDocumentModal.vue"
|
||||
import CreateDocumentFromTemplateModal from "~/components/createDocumentFromTemplateModal.vue"
|
||||
import dayjs from "dayjs";
|
||||
import { ref, computed, reactive, watch } from 'vue';
|
||||
|
||||
const dataStore = useDataStore()
|
||||
const tempStore = useTempStore()
|
||||
const router = useRouter()
|
||||
const modal = useModal()
|
||||
const quoteLikeDocumentTypes = ['quotes', 'costEstimates']
|
||||
const deliveryNoteLikeDocumentTypes = ['deliveryNotes', 'packingSlips']
|
||||
|
||||
@@ -209,7 +213,7 @@ defineShortcuts({
|
||||
document.getElementById("searchinput").focus()
|
||||
},
|
||||
'+': () => {
|
||||
router.push('/createDocument/edit')
|
||||
modal.open(CreateDocumentModal)
|
||||
},
|
||||
'Enter': {
|
||||
usingInput: true,
|
||||
|
||||
Reference in New Issue
Block a user