feature/cierres #42

Merged
aldarien merged 13 commits from feature/cierres into develop 2025-09-23 15:41:32 -03:00
9 changed files with 163 additions and 71 deletions
Showing only changes of commit 31fc1269b4 - Show all commits

View File

@ -305,7 +305,6 @@
onChange: (value, text, $selectedItem) => {
const unitPromotions = this.promotions.filter(promotion => promotion.units.length > 0)
const promotions = unitPromotions.filter(promotion => promotion.units.filter(unit => unit.id === parseInt(value)).length > 0)
console.debug($selectedItem.parent().parent().parent().parent().find('.add_promotions_unit'))
$selectedItem.parent().parent().parent().parent().find('.add_promotions_unit')
.dropdown('change values', promotions.map(promotion => {
return {