Bug 22147: Hidden 'Batch modify' button on report print layout

Test plan:
1) Create or run a report that has an itemnumber column
2) Notice the Batch modify button under the itemnumber heading
3) Print the page
4) Notice the button no longer shows on the printed page

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5ea9fb9163)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5054f1a1a3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jasmine Amohia 2019-01-16 21:26:10 +00:00 committed by Lucas Gass
parent ea6239a434
commit 949deafe49
2 changed files with 2 additions and 1 deletions

View File

@ -295,6 +295,7 @@ td.debit {
#changelanguage,
#menu,
#limitselect,
#batchModify,
.gradient,
div.yui-b,
.noprint,

View File

@ -734,7 +734,7 @@ canned reports and writing custom SQL reports.</p>
[% FOREACH header_ro IN header_row %]
[% IF header_ro.cell == 'itemnumber' %]
<th>
[% header_ro.cell %] <button type="submit" data-toggle="tooltip" title="Send visible items to batch modification" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</button>
[% header_ro.cell | html %] <button type="submit" data-toggle="tooltip" title="Send visible items to batch modification" id="batchModify" class="btn btn-xs btn-default send_to_item_mod"><i class="fa fa-pencil"></i> Batch modify</button>
</th>
[% ELSE %]
<th>[% header_ro.cell %]</th>