sysmocom_mail_value_calculator: Update Calculation "Wert International"
This commit is contained in:
parent
f9611fef4d
commit
19816ee247
|
@ -33,12 +33,8 @@ module Spree
|
|||
if shipping_value < 30
|
||||
# Plain registered letter
|
||||
return base
|
||||
elsif shipping_value > 300
|
||||
# Stops making sense to send it..
|
||||
return 200
|
||||
end
|
||||
|
||||
return base + (((shipping_value.round / 100) + 1) * 1.5)
|
||||
return base + 2.5 + (((shipping_value.round / 100) + 1) * 2)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue