Move expense options into advanced booking
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 24s
Build and Push Docker Images / build-frontend (push) Successful in 1m45s
Build and Push Docker Images / build-website (push) Successful in 27s
Build and Push Docker Images / build-central-services-api (push) Successful in 24s
Build and Push Docker Images / build-central-services-admin (push) Successful in 24s
Build and Push Docker Images / build-docs (push) Successful in 23s

This commit is contained in:
2026-08-06 11:51:17 +02:00
parent 78d56738e8
commit 13936db100

View File

@@ -717,7 +717,9 @@ setup()
</div> </div>
</div> </div>
<div class="mt-4 grid grid-cols-1 md:grid-cols-3 gap-3"> <div v-if="showMoreWithoutRecipe"
class="mt-4 p-3 bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700">
<div class="grid grid-cols-1 md:grid-cols-3 gap-3">
<UFormField label="Aufwandsart" size="sm"> <UFormField label="Aufwandsart" size="sm">
<USelectMenu <USelectMenu
v-model="allocationBookingMode" v-model="allocationBookingMode"
@@ -767,8 +769,7 @@ setup()
/> />
</div> </div>
<div v-if="showMoreWithoutRecipe" <div class="mt-3 grid grid-cols-1 md:grid-cols-3 gap-3">
class="mt-4 p-3 bg-gray-50 dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 grid grid-cols-1 md:grid-cols-3 gap-3">
<USelectMenu :items="ownaccounts" value-key="id" label-key="name" v-model="ownAccountToSave" <USelectMenu :items="ownaccounts" value-key="id" label-key="name" v-model="ownAccountToSave"
:search-input="{ placeholder: 'Eigenes Konto' }" :filter-fields="['number','name']" placeholder="Eigenes Konto"> :search-input="{ placeholder: 'Eigenes Konto' }" :filter-fields="['number','name']" placeholder="Eigenes Konto">
<template #default> <template #default>
@@ -792,6 +793,7 @@ setup()
@click="saveAllocation({bankstatement: itemInfo.id, amount: manualAllocationSum, ownaccount: ownAccountToSave ? ownAccountToSave : null, customer: customerAccountToSave ? customerAccountToSave : null, vendor: vendorAccountToSave ? vendorAccountToSave : null, description: allocationDescription })"/> @click="saveAllocation({bankstatement: itemInfo.id, amount: manualAllocationSum, ownaccount: ownAccountToSave ? ownAccountToSave : null, customer: customerAccountToSave ? customerAccountToSave : null, vendor: vendorAccountToSave ? vendorAccountToSave : null, description: allocationDescription })"/>
</div> </div>
</div> </div>
</div>
<div v-if="allocationDescription" class="mt-2"> <div v-if="allocationDescription" class="mt-2">
<UInput v-model="allocationDescription" placeholder="Beschreibung für Buchung..." icon="i-heroicons-pencil" <UInput v-model="allocationDescription" placeholder="Beschreibung für Buchung..." icon="i-heroicons-pencil"