Skip to content

treasury:debit-interests command [15$] #1

@shadiakiki1986

Description

@shadiakiki1986

This command is supposed to generate a report called "debit interests" for the treasury department.

It has a few options such as the format required, the date to use, the accounts to include, etc.
In this report, all options are optional, with default values.
Example usage is already documented for this in the readme (the part referencing bin/ffa-old-treasury-debitInterest.php ).
Check in that file for the default values.

You will also notice there already exists a bin/ffa.php file. This is the application I started. It already contains the command treasury:debit-interests, but it's just copied from the symfony2/console documentation, so it doesn't really generate the required report. Also, I didn't add any of its options.

As a first step, please add the options needed for this command to the configure function in the treasury:debit-interest command.

Secondly, please modify the execute function also to include the original code from bin/ffa-old-treasury-debitInterest.php file.

Finally, the repository has tests that run on travis-ci. Here is the most recent build test result. You will notice that the errors are for the options date_month and accountType. There are no errors for the format option because I already added it. Let's please start by incorporating those.

PS: if you already ran a composer install, you can run the tests locally by using composer test

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions