Merge branch 'dev' into beta
This commit is contained in:
@@ -290,6 +290,23 @@ const setDocumentTypeConfig = (withTexts = false) => {
|
||||
|
||||
itemInfo.value.letterhead = letterheads.value[0].id
|
||||
|
||||
if(itemInfo.value.type === "advanceInvoices") {
|
||||
|
||||
|
||||
itemInfo.value.rows.push({
|
||||
mode: "free",
|
||||
text: "Abschlagszahlung",
|
||||
quantity: 1,
|
||||
unit: 10,
|
||||
price: 0,
|
||||
taxPercent: 19,
|
||||
discountPercent: 0,
|
||||
advanceInvoiceData: advanceInvoiceData.value
|
||||
})
|
||||
|
||||
setPosNumbers()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1182,12 +1199,12 @@ const setRowData = (row) => {
|
||||
{{dataStore.documentTypesForCreation[itemInfo.type].labelSingle}}
|
||||
</template>
|
||||
</USelectMenu>
|
||||
<UButton
|
||||
<!-- <UButton
|
||||
variant="outline"
|
||||
v-if="itemInfo.type === 'advanceInvoices'"
|
||||
icon="i-heroicons-arrow-down-tray"
|
||||
@click="showAdvanceInvoiceCalcModal = true"
|
||||
>Auto Positionen</UButton>
|
||||
>Auto Positionen</UButton>-->
|
||||
</InputGroup>
|
||||
|
||||
<USlideover
|
||||
|
||||
Reference in New Issue
Block a user