From a5dc694967c588a2c1bbc4a23b61fceee1be540a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 5 Feb 2019 15:54:44 +0100 Subject: [PATCH] mail DE: Always use Maxibrief, ignore Grossbrief It's hard to predict if the thickness will be > 2 cm, so let's always go for Maxibrief. --- .../spree/calculator/sysmocom_mail_value_calculator.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/models/spree/calculator/sysmocom_mail_value_calculator.rb b/app/models/spree/calculator/sysmocom_mail_value_calculator.rb index d0f3201..91506c3 100644 --- a/app/models/spree/calculator/sysmocom_mail_value_calculator.rb +++ b/app/models/spree/calculator/sysmocom_mail_value_calculator.rb @@ -29,10 +29,8 @@ module Spree def postage_for_weight_DE(weight) - # Grossbrief Einschreiben: 3.95; Maxibrief Einschreiben: 5.10 / 7.30 - if weight < 500 - return 3.95 - elsif weight < 1000 + # Maxibrief Einschreiben: 5.10 + if weight < 1000 return 5.10 elsif weight < 2000 return 7.30