Lines 116-131
Link Here
|
116 |
[% IF CAN_user_acquisition_merge_invoices %] |
116 |
[% IF CAN_user_acquisition_merge_invoices %] |
117 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
117 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
118 |
[% IF tab == 'closed' %] |
118 |
[% IF tab == 'closed' %] |
119 |
<a class="submit" 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> |
119 |
<a class="submit" 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> |
120 |
[% ELSE %] |
120 |
[% ELSE %] |
121 |
<a class="submit" id="close_sel" href="#close_selected" data-op="close" 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-times-circle"></i> Close Selected Invoices</a> |
121 |
<a class="submit" id="close_sel" href="#close_selected" data-op="close" 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-times-circle"></i> Close selected nvoices</a> |
122 |
[% END %] |
122 |
[% END %] |
123 |
|
123 |
|
124 |
[% END %] <!-- invoices_table --> |
124 |
[% END %] <!-- invoices_table --> |
125 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
125 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
126 |
<ul class="ui-tabs-nav"> |
126 |
<ul class="ui-tabs-nav"> |
127 |
<li><a href="#opened">Open Invoices ([% openedinvoices.size || 0 | html %])</a></li> |
127 |
<li><a href="#opened">Open invoices ([% openedinvoices.size || 0 | html %])</a></li> |
128 |
<li><a href="#closed">Closed Invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
128 |
<li><a href="#closed">Closed invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
129 |
</ul> |
129 |
</ul> |
130 |
<div id="opened"> |
130 |
<div id="opened"> |
131 |
[% IF openedinvoices %] |
131 |
[% IF openedinvoices %] |
132 |
- |
|
|