The generate report now generates lot details
This commit is contained in:
parent
e6aae5a096
commit
aff9052baf
1 changed files with 14 additions and 14 deletions
|
|
@ -200,26 +200,26 @@ string generate_posts_iterator::generate_amount(std::ostream& out,
|
||||||
generate_commodity(buf);
|
generate_commodity(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Possibly generate an annotized commodity, but make it rarer
|
// Possibly generate an annotized commodity, but make it rarer
|
||||||
if (! no_negative && three_gen() == 1) {
|
if (! no_negative && three_gen() == 1) {
|
||||||
if (truth_gen()) {
|
if (three_gen() == 1) {
|
||||||
out << " {";
|
buf << " {";
|
||||||
generate_amount(out, value_t(), true);
|
generate_amount(buf, value_t(), true);
|
||||||
out << '}';
|
buf << '}';
|
||||||
}
|
}
|
||||||
if (truth_gen()) {
|
#if 0
|
||||||
out << " [";
|
if (six_gen() == 1) {
|
||||||
generate_date(out);
|
buf << " [";
|
||||||
out << ']';
|
generate_date(buf);
|
||||||
|
buf << ']';
|
||||||
}
|
}
|
||||||
if (truth_gen()) {
|
#endif
|
||||||
out << " (";
|
if (six_gen() == 1) {
|
||||||
generate_string(out, strlen_gen());
|
buf << " (";
|
||||||
out << ')';
|
generate_string(buf, six_gen());
|
||||||
|
buf << ')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (! not_this_amount.is_null() &&
|
if (! not_this_amount.is_null() &&
|
||||||
value_t(buf.str()).as_amount().commodity() ==
|
value_t(buf.str()).as_amount().commodity() ==
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue