|
|
|
|
|
|
|
|
if (this.behaviorPriceValue == 'by-piece') { |
|
|
if (this.behaviorPriceValue == 'by-piece') { |
|
|
this.setBuyingPriceByRefUnit(); |
|
|
this.setBuyingPriceByRefUnit(); |
|
|
this.setBuyingPriceByRefUnitWithTax(); |
|
|
this.setBuyingPriceByRefUnitWithTax(); |
|
|
|
|
|
log('ncihe'); |
|
|
this.setPriceByRefUnit(); |
|
|
this.setPriceByRefUnit(); |
|
|
this.setPriceByRefUnitWithTax(); |
|
|
this.setPriceByRefUnitWithTax(); |
|
|
} else if (this.behaviorPriceValue == 'by-reference-unit') { |
|
|
} else if (this.behaviorPriceValue == 'by-reference-unit') { |
|
|
this.setPriceFromPriceByRefUnit(); |
|
|
this.setPriceFromPriceByRefUnit(); |
|
|
this.setPriceWithTax(); |
|
|
this.setPriceWithTax(); |
|
|
log('ncihe'); |
|
|
|
|
|
|
|
|
|
|
|
this.setBuyingPriceFromBuyingPriceByRefUnit(); |
|
|
this.setBuyingPriceFromBuyingPriceByRefUnit(); |
|
|
this.setBuyingPriceWithTax(); |
|
|
this.setBuyingPriceWithTax(); |
|
|
} |
|
|
} |