Lines 1-4
Link Here
|
1 |
[% USE Context %] |
|
|
2 |
<!-- catalog-strings.inc --> |
1 |
<!-- catalog-strings.inc --> |
3 |
<script> |
2 |
<script> |
4 |
/* Some required variables from the template */ |
3 |
/* Some required variables from the template */ |
Lines 6-13
Link Here
|
6 |
var count = [% count || 0 | html %]; |
5 |
var count = [% count || 0 | html %]; |
7 |
var holdcount = [% holdcount || 0 | html %]; |
6 |
var holdcount = [% holdcount || 0 | html %]; |
8 |
[% SET orders = biblio.orders %] |
7 |
[% SET orders = biblio.orders %] |
9 |
[% SET current = Context.Scalar(orders, "filter_out_cancelled") %] |
8 |
[% SET current = orders.filter_out_cancelled %] |
10 |
[% SET cancelled = Context.Scalar(orders, "filter_by_cancelled") %] |
9 |
[% SET cancelled = orders.filter_by_cancelled %] |
11 |
var countorders = [% current.count || 0 | html %]; |
10 |
var countorders = [% current.count || 0 | html %]; |
12 |
var countdeletedorders = [% cancelled.count || 0 | html %]; |
11 |
var countdeletedorders = [% cancelled.count || 0 | html %]; |
13 |
var subscriptionscount = [% biblio.subscriptions.count || 0 | html %]; |
12 |
var subscriptionscount = [% biblio.subscriptions.count || 0 | html %]; |