Skip to content

Commit

Permalink
Add precision to mortar paste values
Browse files Browse the repository at this point in the history
  • Loading branch information
luthando5 committed Jan 9, 2025
1 parent 84af203 commit 2a8e0f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bika/cement/extenders/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ def parse_mix_design_concrete_data(self, data):
def parse_mix_design_mortar_paste_data(self, data):
concrete_data = {}
concrete_data["design_title"] = data[1][2] # design w/cm (title)
concrete_data["replacement"] = data[1][4]
concrete_data["lab_temperature"] = data[5][4]
concrete_data["mortar_temperature"] = data[6][4]
concrete_data["replacement"] = format_number(data[1][4])
concrete_data["lab_temperature"] = format_number(data[5][4])
concrete_data["mortar_temperature"] = format_number(data[6][4])
concrete_data["mold_numbers"] = data[5][6]
concrete_data["mortar_flow"] = data[6][6]
concrete_data["mortar_flow"] = format_number(data[6][6])
return concrete_data

def create_mix_design(self, batch, data):
Expand Down

0 comments on commit 2a8e0f0

Please sign in to comment.