OblioSoftware / OblioApi

Oblio.eu API implementation for PHP
https://www.oblio.eu/api
MIT License
8 stars 0 forks source link

discountAllAbove - nu calculeaza corect totalul #2

Closed stardand closed 1 month ago

stardand commented 1 month ago

Cand se trimite discount procentual pentru toate produsele, valoarea procentuala se adauga corect in factura, dar totalul de plata este incorect.

{ "name": "Discount 10% Test", "discount": 10, "discountType": "procentual", "discountAllAbove": 1 }

1 serv1 400.00 2 serv2 6.00 3 Discount 10% -40.60 Total plata 405.40 RON

image

MihaiCraciun88 commented 1 month ago

Multumim, s-a rezolvat