View | Details | Raw Unified | Return to bug 22773
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-4 / +3 lines)
Lines 44-54 Link Here
44
            [% ELSE %]
44
            [% ELSE %]
45
                [% SET tab = 'opened' %]
45
                [% SET tab = 'opened' %]
46
            [% END %]
46
            [% END %]
47
          <input type="checkbox" style="vertical-align: middle;" id="show_only_subscription" class="show_only_subscription" data-tableid="[% tab %]resultst"/>
47
          <input type="checkbox" style="vertical-align: middle;" id="show_only_subscription" class="show_only_subscription" data-tableid="[% tab | html %]resultst"/>
48
          <label for="show_only_subscription">
48
          <label for="show_only_subscription">
49
            Show only subscriptions
49
            Show only subscriptions
50
          </label>
50
          </label>
51
          <table id="[% tab %]resultst" class="result">
51
          <table id="[% tab | html %]resultst" class="result">
52
            <thead>
52
            <thead>
53
              <tr>
53
              <tr>
54
                [% IF CAN_user_acquisition_merge_invoices %]
54
                [% IF CAN_user_acquisition_merge_invoices %]
Lines 119-125 Link Here
119
            </tbody>
119
            </tbody>
120
          </table>
120
          </table>
121
          [% IF CAN_user_acquisition_merge_invoices %]
121
          [% IF CAN_user_acquisition_merge_invoices %]
122
   +          <a class="btn btn-default submit merge" id="merge" href="#merge_invoices"><i class="fa fa-compress"></i> Merge selected invoices</a>
122
              <a class="btn btn-default submit merge" id="merge" href="#merge_invoices"><i class="fa fa-compress"></i> Merge selected invoices</a>
123
              [% IF tab == 'closed' %]
123
              [% IF tab == 'closed' %]
124
                <a class="btn btn-default" id="open_sel" href="#reopen_selected" data-op="reopen" data-referer="referer=/cgi-bin/koha/acqui/invoices.pl%3Fop=do_search%26invoicenumber=[% invoicenumber | uri %]%26supplier=[% booksellerid | uri %]%26shipmentdatefrom=[% shipmentdatefrom | $KohaDates %]%26shipmentdateto=[% shipmentdateto | $KohaDates %]%26billingdatefrom=[% billingdatefrom | $KohaDates %]%26billingdateto=[% billingdateto | $KohaDates %]%26isbneanissn=[% isbneanissn | uri %]%26title=[% title | uri %]%26author=[% author | uri %]%26publisher=[% publisher | uri %]%26publicationyear=[% publicationyear | uri %]%26branch=[% branch | uri %]"><i class="fa fa-refresh"></i> Reopen selected invoices</a>
124
                <a class="btn btn-default" id="open_sel" href="#reopen_selected" data-op="reopen" data-referer="referer=/cgi-bin/koha/acqui/invoices.pl%3Fop=do_search%26invoicenumber=[% invoicenumber | uri %]%26supplier=[% booksellerid | uri %]%26shipmentdatefrom=[% shipmentdatefrom | $KohaDates %]%26shipmentdateto=[% shipmentdateto | $KohaDates %]%26billingdatefrom=[% billingdatefrom | $KohaDates %]%26billingdateto=[% billingdateto | $KohaDates %]%26isbneanissn=[% isbneanissn | uri %]%26title=[% title | uri %]%26author=[% author | uri %]%26publisher=[% publisher | uri %]%26publicationyear=[% publicationyear | uri %]%26branch=[% branch | uri %]"><i class="fa fa-refresh"></i> Reopen selected invoices</a>
125
              [% ELSE  %]
125
              [% ELSE  %]
126
- 

Return to bug 22773