Lines 103-118
Link Here
|
103 |
</table> |
103 |
</table> |
104 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
104 |
<a class="submit merge" id="merge" href="#merge_invoices">Merge selected invoices</a> |
105 |
[% IF tab == 'closed' %] |
105 |
[% IF tab == 'closed' %] |
106 |
<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> |
106 |
<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> |
107 |
[% ELSE %] |
107 |
[% ELSE %] |
108 |
<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> |
108 |
<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> |
109 |
[% END %] |
109 |
[% END %] |
110 |
|
110 |
|
111 |
[% END %] <!-- invoices_table --> |
111 |
[% END %] <!-- invoices_table --> |
112 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
112 |
<div id="invoicestabs" class="toptabs" style="clear:both;"> |
113 |
<ul class="ui-tabs-nav"> |
113 |
<ul class="ui-tabs-nav"> |
114 |
<li><a href="#opened">Open Invoices ([% openedinvoices.size || 0 | html %])</a></li> |
114 |
<li><a href="#opened">Open invoices ([% openedinvoices.size || 0 | html %])</a></li> |
115 |
<li><a href="#closed">Closed Invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
115 |
<li><a href="#closed">Closed invoices ([% closedinvoices.size || 0 | html %]) </a></li> |
116 |
</ul> |
116 |
</ul> |
117 |
<div id="opened"> |
117 |
<div id="opened"> |
118 |
[% IF openedinvoices %] |
118 |
[% IF openedinvoices %] |
119 |
- |
|
|