Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Balance export in ledger format [Second attempt] #26

Closed
wants to merge 17 commits into from

Conversation

hrj
Copy link
Owner

@hrj hrj commented Apr 15, 2014

No description provided.

@@ -62,7 +62,8 @@ object SettingsHelper {
val reportOptions = config.optConfig("reportOptions")
val isRight = reportOptions.map(_.optStringList("isRight")).flatten.getOrElse(Nil)
val exportConfigs = config.optConfigList("exports").getOrElse(Nil)
val exports = exportConfigs.map(makeExportSettings)
// val exports = exportConfigs.map(makeExportSettings)
val exports = exportConfigs.map(makeExportSettings(_))
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Above change is not required. Please revert back the change.

@@ -164,6 +172,9 @@ trait AccountMatcher {
abstract class ReportSettings(val title: String, val accountMatch: Option[Seq[String]], val outFiles: Seq[String]) extends AccountMatcher {
}

abstract class ExportSettings(val title: String, val accountMatch: Option[Seq[String]], val outFiles: Seq[String]) extends AccountMatcher {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for title in export settings. Remove it and all related code.

@hrj hrj closed this Apr 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants