Lines 121-136
Link Here
|
121 |
[% IF CAN_user_acquisition_merge_invoices %] |
121 |
[% IF CAN_user_acquisition_merge_invoices %] |
122 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
122 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
123 |
[% IF tab == 'closed' %] |
123 |
[% IF tab == 'closed' %] |
124 |
<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> |
124 |
<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> |
125 |
[% ELSE %] |
125 |
[% ELSE %] |
126 |
<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> |
126 |
<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> |
127 |
[% END %] |
127 |
[% END %] |
128 |
|
128 |
|
129 |
[% END %] <!-- invoices_table --> |
129 |
[% END %] <!-- invoices_table --> |
130 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
130 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
131 |
<ul class="ui-tabs-nav"> |
131 |
<ul class="ui-tabs-nav"> |
132 |
<li><a href="#opened">Open Invoices ([% openedinvoices.size || 0 | html %])</a></li> |
132 |
<li><a href="#opened">Open invoices ([% openedinvoices.size || 0 | html %])</a></li> |
133 |
<li><a href="#closed">Closed Invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
133 |
<li><a href="#closed">Closed invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
134 |
</ul> |
134 |
</ul> |
135 |
<div id="opened"> |
135 |
<div id="opened"> |
136 |
[% IF openedinvoices %] |
136 |
[% IF openedinvoices %] |
137 |
- |
|
|