Prevent duplicate invoice number reservations
This commit is contained in:
@@ -1761,7 +1761,7 @@ const saveDocument = async (state, resetup = false) => {
|
||||
itemInfo.value.state = state
|
||||
normalizeCustomSurchargePercentage()
|
||||
|
||||
if (state !== "Entwurf") {
|
||||
if (state !== "Entwurf" && !itemInfo.value.documentNumber) {
|
||||
console.log("???")
|
||||
|
||||
const type = itemInfo.value.type
|
||||
|
||||
Reference in New Issue
Block a user