minor -- размеры и мм. тоже

This commit is contained in:
2023-01-09 23:29:57 +03:00
parent ad74f0a51e
commit c961b64036

View File

@@ -162,6 +162,8 @@ def get_flaps_for_big_pictures(query_set) -> dict:
'url2img': f"img/{img_file_name}", 'url2img': f"img/{img_file_name}",
'iWinWidth': i.iWinWidth, 'iWinWidth': i.iWinWidth,
'iWinHight': i.iWinHight, 'iWinHight': i.iWinHight,
'iWinWidth_mm': int(i.iWinWidth*10),
'iWinHight_mm': int(i.iWinHight*10),
'iWinDepth': i.iWinDepth, 'iWinDepth': i.iWinDepth,
'iQuantity': i.iQuantity, 'iQuantity': i.iQuantity,
'sDescription': i.sDescripion, 'sDescription': i.sDescripion,