8298-zonePriceOptimum #3345

Merged
jgallego merged 5 commits from 8298-zonePriceOptimum into dev 2025-01-17 08:30:45 +00:00
Owner
No description provided.
jgallego added 2 commits 2025-01-08 09:31:07 +00:00
jgallego requested review from pako 2025-01-08 09:31:14 +00:00
jgallego requested review from alexm 2025-01-08 09:31:32 +00:00
jgallego added 1 commit 2025-01-08 10:59:03 +00:00
jgallego added 1 commit 2025-01-08 12:44:31 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
53c604762a
Merge branch 'dev' into 8298-zonePriceOptimum
pako requested changes 2025-01-08 13:04:46 +00:00
Dismissed
@ -235,0 +236,4 @@
ic.cm3delivery
* (
(
zo.price
Member

zo.priceOptimum + (( zo.price - zo.priceOptimum) * 2 * ( 1 - c.packagesDiscountFactor))

Per a que "price" no siga el preu màxim, sino el preu mig. D'altra manera, tindrien que canviar tots els preus actuals.

zo.priceOptimum + (( zo.price - zo.priceOptimum) * 2 * ( 1 - c.packagesDiscountFactor)) Per a que "price" no siga el preu màxim, sino el preu mig. D'altra manera, tindrien que canviar tots els preus actuals.
@ -0,0 +1,3 @@
ALTER TABLE `vn`.`client`
ADD COLUMN `packagesDiscountFactor` DECIMAL(4,3) NOT NULL DEFAULT 1.000
COMMENT 'Factor (1-0) que pondera el precio final entre priceOptimum (mejor) y price (peor)';
Member

COMMENT 'Porcentaje de ajuste entre el numero de bultos medio del cliente, y el número medio óptimo para las zonas en las que compra'

COMMENT 'Porcentaje de ajuste entre el numero de bultos medio del cliente, y el número medio óptimo para las zonas en las que compra'
jgallego added 1 commit 2025-01-16 11:56:19 +00:00
jgallego requested review from pako 2025-01-16 11:59:00 +00:00
pako approved these changes 2025-01-16 13:46:40 +00:00
jgallego removed review request for alexm 2025-01-17 05:33:26 +00:00
jgallego requested review from alexm 2025-01-17 05:33:40 +00:00
alexm approved these changes 2025-01-17 06:07:26 +00:00
jgallego merged commit d4b7d54052 into dev 2025-01-17 08:30:45 +00:00
jgallego deleted branch 8298-zonePriceOptimum 2025-01-17 08:30:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#3345
No description provided.