fix priority number of free trips
This commit is contained in:
parent
53d3a7f51f
commit
77f7b00b8f
|
@ -42,7 +42,7 @@ func (s *PFM63PricingService) Prices(params PricingParams) (map[string]Price, er
|
|||
|
||||
if params.Beneficiary.History < free_trips {
|
||||
pricing = 0
|
||||
} else if params.Beneficiary.Priority && params.Beneficiary.History <= 5 {
|
||||
} else if params.Beneficiary.Priority && params.Beneficiary.History < 5 {
|
||||
pricing = 0
|
||||
} else if slices.Contains(fixedCityPrices, params.SharedMobility.Destination.CityCode) {
|
||||
if params.SharedMobility.OutwardOnly {
|
||||
|
|
Loading…
Reference in New Issue