[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-771-g37b3ac6

Git repo owner gitmaster at git.koha-community.org
Fri Jul 5 18:53:30 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  37b3ac65e1dd363db8cc12793980a273b8cc09f4 (commit)
       via  d02e2789e567158b30ad237d5efd864247dd4ead (commit)
      from  d932f6ff250c3a50db379b23abfc40a77620e94b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 37b3ac65e1dd363db8cc12793980a273b8cc09f4
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Fri Jul 5 17:01:28 2013 +0000

    Bug 10390: (follow-up) correct description of a test
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit d02e2789e567158b30ad237d5efd864247dd4ead
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Sun Jun 2 07:50:43 2013 -0400

    Bug 10390: Add ability to delete empty invoices
    
    There is currently no way to delete unused invoices (for example,
    invoices created by mistake), and there really should be, since errors
    and absent-mindedness can result in numerous empty invoices over the
    course of years.
    
    To test:
    1) Apply patch.
    2) Create three invoices in the Acquisitions module. For one of them,
       receive at least one item. For the other two, do not receive any
       items.
    3) View one of the invoices that does not have any items on it.
    4) Try to delete it. This should succeed.
    5) View the invoice that has an item. There should not be any option
       to delete it.
    6) Do an invoice search that brings up the other invoice with no items
       on it. Try to delete it from the results page. This should succeed.
    7) Run the unit test:
       > prove t/Acquisition/Invoice.t
    8) Sign off.
    
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    All tests and QA script pass. I also did another test:
    
    I cancelled all receipts from an existing invoice and then could
    successfully delete it in the last step.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Acquisition.pm                                  |   34 ++++++++++++++++++++
 acqui/invoice.pl                                   |    8 +++++
 .../intranet-tmpl/prog/en/modules/acqui/invoice.tt |    3 ++
 .../prog/en/modules/acqui/invoices.tt              |    3 ++
 t/Acquisition/Invoice.t                            |   23 +++++++++++++-
 5 files changed, 70 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list