Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Hammat Wele 1558e8c165
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

Signed-off-by: Kristi Krueger <kkrueger@cuyahogalibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 17:41:36 -03:00
..
accountline-details.tt Bug 34377: (follow-up) Use patron-title include 2023-10-25 11:08:00 -03:00
alert-subscriptions.tt Bug 28130: Manage a patron's subscription alerts 2023-10-11 10:31:37 -03:00
apikeys.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
boraccount.tt Bug 35015: (QA follow-up) Fix paid transactions filter in the staff interface 2023-10-10 09:22:36 -03:00
deletemem.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
discharge.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
discharges.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
files.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
holdshistory.tt Bug 31357: Separate holds history from intranetreadinghistory 2023-10-20 16:31:16 -03:00
housebound.tt Bug 34660: Make deliveries table on housebound.tt a DataTable 2023-09-18 15:31:51 -03:00
ill-requests.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
mancredit.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
maninvoice.tt Bug 34985: Add a quantity field to the manual invoice form 2023-11-08 17:41:36 -03:00
member-flags.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
member-password.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
member.tt Bug 35127: Fix 'Search type' for patron search 2023-10-25 10:35:26 -03:00
memberentrygen.tt Bug 34931: Remove fieldset/legend in favor of div/h3 2023-11-08 09:58:58 -03:00
members-update.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
merge-patrons.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
moremember-brief.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
moremember-print.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
moremember.tt Bug 26170: Add protected status for patrons 2023-11-01 17:23:06 -03:00
notices.tt Bug 12532: Expose CC address in patron notices display 2023-10-10 09:58:51 -03:00
pay.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
paycollect.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
printfeercpt.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
printinvoice.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
printnotice.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
purchase-suggestions.tt Bug 34501: Added Non-public notes to the member purchase suggestion table 2023-10-20 11:43:04 -03:00
readingrec.tt Bug 33948: Replace GetAllIssues with Koha::Checkouts - staff 2023-09-22 12:35:49 -03:00
recallshistory.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
routing-lists.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
search.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
statistics.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
two_factor_auth.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00
update-child.tt Bug 33920: Improve translation of title tags: Patrons 2023-08-29 14:59:03 -03:00