]> git.koha-community.org Git - koha.git/commit
Bug 16513 - Improvements and fixes for quote upload process
authorOwen Leonard <oleonard@myacpl.org>
Fri, 13 May 2016 13:59:53 +0000 (09:59 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:13:03 +0000 (10:13 +0200)
commit5f3ee1ed82a77d7ea94ea70ae8aa1f92f3c5b170
treeafd7d3551fb870ce12c21c4e4811b3d4f833e230
parentf72d2cb6bf523ea068cbedeacb0bfadf989c0b54
Bug 16513 - Improvements and fixes for quote upload process

This patch fixes some minor bugs and adds a small enhancement to the
quotes editor and quotes upload pages.

To test, apply the patch and go to Tools -> Quote editor

- In the table of quotes, clicking the "ID" table header should trigger
  an alert, "Click on the quote's ide to select..."
- Go to "Import quotes" and select a file to upload.
- On the upload preview page you should see a new "Cancel import"
  button. Clicking it should return you to the quotes upload page after
  asking for confirmation.
- Test the upload cancel button:
  - If you have fast reflexes or are uploading a file large enough, you
    should be able to see a "Cancel upload" button during the upload
    process.
  - Clicking this button should cancel the upload and return you to the
    quote upload page.

Tested on top of Bug 16589, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 90a1d98e068e38e1c0655d608d98d7d88f344429)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/quotes-upload-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt