http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3050

--- Comment #4 from Marc Véron <ve...@veron.ch> ---
Created attachment 25306
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25306&action=edit
[SIGNED-OFF] Bug 3050 - Add an option to upload scanned invoices

New feature, adds an ability to attach arbitrary files to
acquisition records (currently: to the invoices - but it can
be extended to baskets, basketgroups, budgets etc.).

Note: this code is (heavily) based on "Bug 8130 - attach PDF
files to a patron record" by Kale M Hall, main difference being
that new table (misc_files) and new module (Koha/Misc/Files.pm)
are intended to be a little more generic solution - they allow to
store and manage files associated with great many kinds of records,
from arbitrary tables.

Test plan:
1) Enable system preference 'AcqEnableFiles' in acquisition
2) New option 'Manage invoice files' appears in the invoice
detail page
3) Upload/view/download/delete some files for the invoice
4) Try to delete invoice with files attached (files should
get deleted as well)
5) Ensure there are no regressions of any kind in invoice detail
page (acqui/invoice.pl).

Tested with several file types. Works as expected (and is a great feature!)
Signed-off-by: Marc Véron <ve...@veron.ch>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to