This commit is contained in:
2025-01-10 15:52:49 +01:00
parent 1ecf89a2b1
commit f6accf0aa7
3 changed files with 8 additions and 7 deletions

View File

@@ -737,7 +737,8 @@ const saveSerialInvoice = async () => {
endText: itemInfo.value.endText, endText: itemInfo.value.endText,
rows: itemInfo.value.rows, rows: itemInfo.value.rows,
contactPerson: itemInfo.value.contactPerson, contactPerson: itemInfo.value.contactPerson,
serialConfig: itemInfo.value.serialConfig serialConfig: itemInfo.value.serialConfig,
letterhead: itemInfo.value.letterhead,
} }
let data = null let data = null

View File

@@ -64,10 +64,10 @@ const openEmail = () => {
> >
Bearbeiten Bearbeiten
</UButton> </UButton>
<UButton <!-- <UButton
:to="dataStore.documents.find(i => i.createdDocument === itemInfo.id) ? dataStore.documents.find(i => i.createdDocument === itemInfo.id).url : ''" :to="dataStore.documents.find(i => i.createdDocument === itemInfo.id) ? dataStore.documents.find(i => i.createdDocument === itemInfo.id).url : ''"
target="_blank" target="_blank"
>In neuen Tab anzeigen</UButton> >In neuen Tab anzeigen</UButton>-->
<UButton <UButton
@click="router.push(`/createDocument/edit/?linkedDocument=${itemInfo.id}`)" @click="router.push(`/createDocument/edit/?linkedDocument=${itemInfo.id}`)"
> >

View File

@@ -412,14 +412,14 @@ const showFile = (fileId) => {
<td> <td>
<UIcon class="mr-1" :name="entry.type === 'folder' ? 'i-heroicons-folder' : 'i-heroicons-document'"/> <UIcon class="mr-1" :name="entry.type === 'folder' ? 'i-heroicons-folder' : 'i-heroicons-document'"/>
<a <a
:class="[...index === selectedFileIndex ? ['text-primary'] : ['dark:text-white','text-black']]" :class="[...index === selectedFileIndex ? ['text-primary', 'text-xl'] : ['dark:text-white','text-black','text-xl']]"
@click="entry.type === 'folder' ? changeFolder(currentFolders.find(i => i.id === entry.id)) : showFile(entry.id)" @click="entry.type === 'folder' ? changeFolder(currentFolders.find(i => i.id === entry.id)) : showFile(entry.id)"
>{{entry.label}}</a> >{{entry.label}}</a>
</td> </td>
<td> <td>
<span v-if="entry.type === 'file'">{{dayjs(documents.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span> <span v-if="entry.type === 'file'" class="text-xl">{{dayjs(documents.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
<span v-if="entry.type === 'folder'">{{dayjs(currentFolders.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span> <span v-if="entry.type === 'folder'" class="text-xl">{{dayjs(currentFolders.find(i => i.id === entry.id).created_at).format("DD.MM.YY HH:mm")}}</span>
</td> </td>
</tr> </tr>
</table> </table>
@@ -542,7 +542,7 @@ const showFile = (fileId) => {
} }
tr:nth-child(odd) { tr:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.05);
} }
</style> </style>