Koha/acqui
Colin Campbell e294defc29 bug 9505 refactor loops in invoices.pl
- Remove an unnecessary loop where output just
  recreated input.
- Remove unnecessary temp variables that obscure code purpose.
- Call the variable containing invoices, invoices
  rather than anonymous and ambiguous results
  reflect namechange in template.
- Lists are passed to template as array refs;
  declare them as scalars as that is how we use them.
- No need to introduce the whole namespace of some C4
  modules for 1 routine.

Test plan:

Note that this patch should not change any visible behavior.

[1] Open the invoice search page.
[2] Verify that the list of suppliers in the drop-down
    on the search form is complete.
[3] Verify that the list of libraries in the drop-down
    on the saerch form is complete.
[4] Perform a search.  Verify that the list of invoices
    is correct.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-05-30 07:12:03 -07:00
..
pdfformat Bug 10023 follow-up: Remove the last occurrences of N[degree sign] 2013-04-24 08:56:33 -04:00
acqui-home.pl
addorder.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
addorderiso2709.pl
basket.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
basketgroup.pl Bug 9806 : QA Followup - use template plugin for branch names 2013-05-23 08:03:19 -07:00
basketheader.pl
booksellers.pl Bug 9824: Make it possible to apply/cancel switch 2013-05-19 08:43:38 -04:00
check_budget_total.pl
check_duplicate_barcode_ajax.pl
check_uniqueness.pl
currency.pl
fetch_sort_dropbox.pl
finishreceive.pl Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
histsearch.pl Revert "Bug 6554: Followup for acquisitions" 2013-04-29 15:17:24 -07:00
invoice.pl
invoices.pl bug 9505 refactor loops in invoices.pl 2013-05-30 07:12:03 -07:00
lateorders.pl Bug 9014 - Add time due to slips 2013-03-21 11:07:42 -04:00
modordernotes.pl
neworderbiblio.pl
neworderempty.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
newordersubscription.pl Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
newordersuggestion.pl
ordered.pl
orderreceive.pl Bug 9923: (MT #11060) actual cost not getting populated 2013-03-29 21:26:28 -04:00
parcel.pl Bug 10044: Remove duplicate pagination on the pending orders page. 2013-05-01 22:58:27 -04:00
parcels.pl Bug 10152: Default sorting wrong in parcels.pl 2013-05-01 06:25:55 -04:00
spent.pl
supplier.pl
uncertainprice.pl
updatesupplier.pl
z3950_search.pl Bug 9986: Two fixes for Z3950 search 2013-04-15 08:44:11 -04:00