- ordinamento aggiornare la pagina "templates" per Fatturati ultimo anno
- bestseller
This commit is contained in:
@@ -630,12 +630,18 @@ export default defineComponent({
|
||||
function isProductBestseller() {
|
||||
|
||||
try {
|
||||
// diventa un bestseller quando il rank6M è tra i primi 10 ordinandoli per rank6M
|
||||
return myproduct.value!.productInfo.rank6M! > 0 && (myproduct.value!.productInfo.rank6M!)
|
||||
if (props.scheda.etichette?.bestseller?.show) {
|
||||
// diventa un bestseller quando il numero di fatturati Annuali è superiore a
|
||||
const numfatturati = props.scheda.etichette?.bestseller?.quantiFattRaggiunti ?? 50;
|
||||
|
||||
return myproduct.value!.productInfo.fatLast6M > numfatturati
|
||||
}
|
||||
} catch (e) {
|
||||
return false
|
||||
}
|
||||
|
||||
return false
|
||||
|
||||
}
|
||||
|
||||
function getScale() {
|
||||
|
||||
Reference in New Issue
Block a user