[Koha-bugs] [Bug 34985] Add a quantity field to the manual invoice form

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 4 19:38:07 CEST 2023


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

--- Comment #2 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 156552
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156552&action=edit
Bug 34985: Add a quantity field to the manual invoice form

This patch add a Quantity field and a Cost field to the manual invoice form
this will allow to automatically multiply the amount when it has a default
amount.

Test plan:

1) Apply the patch
2) Create multiple charge types some with default amount and some without
default amount
    1-1) Go to Administraion -> Debit types
    1-2) Click on New Debit types
    1-3) Fill the form check the "Can be manually invoiced?" field
    1-5) Click on save
3) Create a manual invoice
    2-1) Find a patrons
    2-2) Click on Accounting tab
    2-3) Click on Create manual invoice tab
    2-4) Select a type with default amount set
        ->Cost field and Quantity field should be added to the form
    2-5) Edit the Cost field or Quantity field
        ->The amount will be automatically calculate
    2-6) Select a type with no default amount set
        ->Cost field and Quantity field should not be added to the form

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


More information about the Koha-bugs mailing list