CompositeLight / currentRMS-helper

Chrome extension to add functionality to the CurrentRMS web interface.
11 stars 2 forks source link

Feature Request: Booked out weight #57

Open TechJed opened 4 months ago

TechJed commented 4 months ago

Would be great when loading multiple vans if there was a total booked out weight, similar to how the containers work

CompositeLight commented 4 months ago

Good idea - I can see how this would be useful. Should be possible to bolt this on to the new container weights code - will get to it when I can.

TechJed commented 3 months ago

This works great but seems to have a lot more decimal places than current can store. Screenshot attached image_2024-08-16_103018071

CompositeLight commented 3 months ago

I think I know what I did wrong here. Have just pushed a fix. Let me know if that sorts it.

TechJed commented 2 months ago

Still got the same issue image_2024-09-11_124827879

CompositeLight commented 2 months ago

Very weird - this should be impossible, as the weight data is coerced into a number every time. I can't replicate it at all. Could you give me more info on how this presents: Does it happen on every job, if not what is unique about the ones with the error? Does it happen immediately (from the first book out scan), or do the extra digits row over time? Any other clues welcome.

CompositeLight commented 1 month ago

FINALLY cracked the crazy decimal thing. Bug fix coming in v.1.31.19.

TechJed commented 1 month ago

Woooo