net weights implementation WIP

This commit is contained in:
2025-03-22 01:02:37 +03:00
parent d83f106a91
commit 59315f9445
12 changed files with 104 additions and 94 deletions

View File

@@ -83,8 +83,7 @@ void OutputDialog::on_buttonBox_accepted() {
output_file << std::fixed << std::setprecision(2) << goods.get_quantity();
break;
case ColumnType::goods_net_weight:
output_file << "TODO";
// TODO
output_file << goods.get_net_weight();
break;
case ColumnType::goods_total:
output_file << std::fixed << std::setprecision(2) << goods.calculate_total_price();