[Koha-bugs] [Bug 34077] New: writeoff_debts without --confirm doesn't show which accountline records it would have been written off

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 21 16:07:35 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34077

            Bug ID: 34077
           Summary: writeoff_debts without --confirm doesn't show which
                    accountline records it would have been written off
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

The documentation in writeoff_debts says that if we omit --confirm, "the script
will only report on the accountline records it would have been written off".

However, while testing bug 28995, I tried to see which accountline would be
written off, and omitting the --confirm flag only shows the help.

I ran

./misc/cronjobs/writeoff_debts.pl --added-after 2023-06-20

and it showed the help.

When I ran

./misc/cronjobs/writeoff_debts.pl --added-after 2023-06-20 --confirm

it wrote off the charge correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list