Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Katrin Fischer 4a2cc4e903
Bug 14369: Only show 'Create labels' link on staged records import when status is imported
The label creator won't be able to add a batch for items, if they are
not imported into the database (missing itemnumber). This patch hides
the link, when the status is not imported, to avoid the error situation.

To test:
- Export a record with items from your Koha installation
- Delete items and record from Koha
- Stage the record with the items - the "Create labels" link should be showing
- Try to create the labels - note error
- Apply patch
- Retry - the link should no longer show
- Import the records - the link should show now
- Create labels again - a new batch should have been created
- Verify the link on the batch # leads to the batch in the labels module

Bonus: Moves the message from the .pl file to the template to make
it translatable.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-21 12:28:56 +01:00
..
access_files.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt
batch_extend_due_dates.tt Bug 25020: Preserve time part when batch extending due dates 2020-04-03 14:29:00 +01:00
batch_record_modification.tt Bug 18127: Add missing html filters 2020-03-10 15:20:18 +00:00
batchMod-del.tt
batchMod-edit.tt Bug 25013: Fix capitalization: Edit Items on batch item edit 2020-04-03 14:26:34 +01:00
batchMod.tt
cleanborrowers.tt
csv-profiles.tt
export.tt Bug 14647: Make spelling in file format pull downs match 2020-02-20 08:59:41 +00:00
holidays.tt
import_borrowers.tt Bug 23473: (follow-up) Fix QA complaints (tabs, filters, Dumper) 2020-03-27 12:23:17 +00:00
inventory.tt
koha-news.tt Bug 24764: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature 2020-04-14 08:29:47 +01:00
letter.tt
manage-marc-import.tt Bug 14369: Only show 'Create labels' link on staged records import when status is imported 2020-04-21 12:28:56 +01:00
marc_modification_templates.tt Bug 17510: enable use of subfield 0 in MMT actions 2020-02-21 16:01:34 +00:00
modborrowers.tt Bug 20443: Move GetBorrowerAttributes to Koha::Patron->extended_attributes 2020-03-23 13:39:25 +00:00
overduerules.tt
picture-upload.tt
preview_letter.tt
quotes-upload.tt
quotes.tt Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
stockrotation.tt
tools-home.tt Bug 9422: (RM follow-up) Rebase Correction 2020-04-03 14:26:33 +01:00
upload-images.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
upload.tt
viewlog.tt Bug 21190: Allow browsing the system logs for AUTH events 2020-04-14 16:13:39 +01:00