Compare commits
No commits in common. "fbad8baa211996316ab2df80356ef483529460c4" and "572467d53e0d7ccd0cd70c096d2071d60491bd4c" have entirely different histories.
fbad8baa21
...
572467d53e
3 changed files with 5 additions and 25 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
## v0.8.1 (2026-01-12)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- decrease confusion for "add item" dialog when creating order
|
|
||||||
|
|
||||||
## v0.8.0 (2025-12-15)
|
## v0.8.0 (2025-12-15)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "Sideshow"
|
name = "Sideshow"
|
||||||
version = "0.8.1"
|
version = "0.8.0"
|
||||||
description = "Case/Special Order Tracker"
|
description = "Case/Special Order Tracker"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [
|
authors = [
|
||||||
|
|
|
||||||
|
|
@ -801,7 +801,6 @@
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-select v-model="productUOM"
|
<b-select v-model="productUOM"
|
||||||
ref="productUOM"
|
|
||||||
@input="refreshTotalPrice += 1">
|
@input="refreshTotalPrice += 1">
|
||||||
<option v-for="choice in productUnitChoices"
|
<option v-for="choice in productUnitChoices"
|
||||||
:key="choice.key"
|
:key="choice.key"
|
||||||
|
|
@ -1233,6 +1232,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.productUOM) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -1896,23 +1899,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
itemDialogSave() {
|
itemDialogSave() {
|
||||||
|
|
||||||
// nb. we check this here instead of disabling the
|
|
||||||
// save button when no UOM is set, to avoid confusion
|
|
||||||
// for the user
|
|
||||||
if (!this.productUOM) {
|
|
||||||
this.$buefy.toast.open({
|
|
||||||
message: "Please specify the Unit of Measure",
|
|
||||||
type: 'is-warning',
|
|
||||||
duration: 2000, // 2 seconds
|
|
||||||
})
|
|
||||||
this.itemDialogTabIndex = 1
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.$refs.productUOM.focus()
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
this.itemDialogAttemptSave()
|
this.itemDialogAttemptSave()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue