Allow reports with like-kind columns to export only if the LK setting is true.
This commit is contained in:
parent
3a679fbfe8
commit
247c24551e
|
@ -33,11 +33,13 @@ pub fn export(
|
||||||
&raw_acct_map
|
&raw_acct_map
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if settings.lk_treatment_enabled {
|
||||||
export_csv::_3_account_sums_to_csv_with_orig_basis(
|
export_csv::_3_account_sums_to_csv_with_orig_basis(
|
||||||
&settings,
|
&settings,
|
||||||
&raw_acct_map,
|
&raw_acct_map,
|
||||||
&account_map
|
&account_map
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
export_csv::_4_transaction_mvmt_detail_to_csv(
|
export_csv::_4_transaction_mvmt_detail_to_csv(
|
||||||
&settings,
|
&settings,
|
||||||
|
@ -55,6 +57,7 @@ pub fn export(
|
||||||
&transactions_map
|
&transactions_map
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
if settings.lk_treatment_enabled {
|
||||||
export_csv::_6_transaction_mvmt_detail_to_csv_w_orig(
|
export_csv::_6_transaction_mvmt_detail_to_csv_w_orig(
|
||||||
&settings,
|
&settings,
|
||||||
&action_records_map,
|
&action_records_map,
|
||||||
|
@ -62,6 +65,7 @@ pub fn export(
|
||||||
&account_map,
|
&account_map,
|
||||||
&transactions_map
|
&transactions_map
|
||||||
)?;
|
)?;
|
||||||
|
}
|
||||||
|
|
||||||
export_txt::_1_account_lot_detail_to_txt(
|
export_txt::_1_account_lot_detail_to_txt(
|
||||||
&settings,
|
&settings,
|
||||||
|
|
Loading…
Reference in New Issue