[Kde-finance-apps] Review Request 124886: Improve importing csv with 2 amount colmns (credit/debit) where first one can be zero

Stephane Mankowski stephane at mankowski.fr
Sun Aug 23 12:29:34 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124886/#review84215
-----------------------------------------------------------


Hi,

This proposal sounds good.
Could you add a new test in skgtestimportcsv.cpp checking that the account amount is the expected one?

Thank you for your contribution.
Regards.

- Stephane Mankowski


On août 23, 2015, 7:32 matin, Rajeesh K Nambiar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124886/
> -----------------------------------------------------------
> 
> (Updated août 23, 2015, 7:32 matin)
> 
> 
> Review request for Skrooge.
> 
> 
> Repository: skrooge
> 
> 
> Description
> -------
> 
> Some banks export transactions with Credit and Debit in separate columns with credit entry having zero debit amount and vice versa. The second amount column was always skipped as the importing code found 'zero' value and set amountSet flag on the first column.
> 
> Test case:
> Sno,Account,Date,Comments,Withdrawal,Deposit
> 1,112233445566,24/01/2015,CASH WDL/24-01-15,6000,0
> 2,112233445566,29/01/2015,BIL/DEPOSIT/NSP,0,100000
> 
> Amount regex: ^withdrawal|^deposit
> Sign regex: ^withdrawal
> 
> Above test case always skipped Deposit column.
> 
> 
> Diffs
> -----
> 
>   plugins/import/skrooge_import_csv/skgimportplugincsv.cpp ac93eda 
> 
> Diff: https://git.reviewboard.kde.org/r/124886/diff/
> 
> 
> Testing
> -------
> 
> Built Fedora 22 RPM, tested importing file with multiple transactions.
> 
> 
> Thanks,
> 
> Rajeesh K Nambiar
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20150823/01a88161/attachment.html>


More information about the Kde-finance-apps mailing list