As per #15. I misread that issue, this is actually a new issue!
This was bugging me more than it should have, so here's a quick PR to fix it. The correct functionality of this checkbox is that having it checked calculates cost by weight, and having it unchecked calculates cost by length. I thought about changing the logic and leaving this checkbox as is, but a change to the data entry enablers for cost_per_weight and cost_per_length, so this makes more sense.
I've also tweaked the language a little to make it a bit more readable / grammatically correct.
As per #15.I misread that issue, this is actually a new issue!This was bugging me more than it should have, so here's a quick PR to fix it. The correct functionality of this checkbox is that having it checked calculates cost by weight, and having it unchecked calculates cost by length. I thought about changing the logic and leaving this checkbox as is, but a change to the data entry enablers for cost_per_weight and cost_per_length, so this makes more sense.
I've also tweaked the language a little to make it a bit more readable / grammatically correct.