New CustomerInventory,
New Mitgliederverwaltung für Vereine New Bank Auto Complete
This commit is contained in:
@@ -350,6 +350,14 @@ const hasBlockingIncomingInvoiceErrors = computed(() => blockingIncomingInvoiceE
|
||||
<span class="font-mono text-xs opacity-75 mr-2">{{ option.vendorNumber }}</span> {{ option.name }}
|
||||
</template>
|
||||
</USelectMenu>
|
||||
<UButton
|
||||
v-if="mode !== 'show'"
|
||||
icon="i-heroicons-x-mark"
|
||||
variant="outline"
|
||||
color="rose"
|
||||
:disabled="!itemInfo.vendor"
|
||||
@click="itemInfo.vendor = null"
|
||||
/>
|
||||
<EntityModalButtons
|
||||
v-if="mode !== 'show'"
|
||||
type="vendors"
|
||||
|
||||
@@ -14,6 +14,9 @@ const resources = {
|
||||
spaces: {
|
||||
label: "Lagerplätze"
|
||||
},
|
||||
customerspaces: {
|
||||
label: "Kundenlagerplätze"
|
||||
},
|
||||
invoices: {
|
||||
label: "Rechnungen"
|
||||
},
|
||||
@@ -23,6 +26,9 @@ const resources = {
|
||||
inventoryitems: {
|
||||
label: "Inventarartikel"
|
||||
},
|
||||
customerinventoryitems: {
|
||||
label: "Kundeninventarartikel"
|
||||
},
|
||||
projects: {
|
||||
label: "Projekte"
|
||||
},
|
||||
@@ -37,7 +43,17 @@ const resources = {
|
||||
}
|
||||
}
|
||||
|
||||
const numberRanges = ref(auth.activeTenantData.numberRanges)
|
||||
const numberRanges = ref(auth.activeTenantData.numberRanges || {})
|
||||
|
||||
Object.keys(resources).forEach((key) => {
|
||||
if (!numberRanges.value[key]) {
|
||||
numberRanges.value[key] = {
|
||||
prefix: "",
|
||||
suffix: "",
|
||||
nextNumber: 1000
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
const updateNumberRanges = async (range) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user