|
Lines 1-6
Link Here
|
| 1 |
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
1 |
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
| 2 |
<title>Koha › Acquisitions</title> |
2 |
<title>Koha › Acquisitions</title> |
| 3 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
3 |
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
|
|
4 |
<script type="text/javascript"> |
| 5 |
//<![CDATA[ |
| 6 |
$(document).ready(function() { |
| 7 |
$('#showallbudgets').click(function() { |
| 8 |
if ( $('#showallbudgets:checked').val() !== undefined) { |
| 9 |
$('.b_inactive').show(); |
| 10 |
$('#b_inactive').show(); |
| 11 |
$('.bu_active').show(); |
| 12 |
$('.bu_inactive').hide(); |
| 13 |
} |
| 14 |
else { |
| 15 |
$('.b_inactive').hide(); |
| 16 |
$('#b_inactive').hide(); |
| 17 |
$('.bu_inactive').show(); |
| 18 |
$('.bu_active').hide(); |
| 19 |
} |
| 20 |
}); |
| 21 |
}); |
| 22 |
//]]> |
| 23 |
</script> |
| 24 |
|
| 4 |
</head> |
25 |
</head> |
| 5 |
<body> |
26 |
<body> |
| 6 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
27 |
<!-- TMPL_INCLUDE NAME="header.inc" --> |
|
Lines 83-96
Link Here
|
| 83 |
<th>Total</th> |
104 |
<th>Total</th> |
| 84 |
<th> </th> |
105 |
<th> </th> |
| 85 |
<th> </th> |
106 |
<th> </th> |
| 86 |
<th align="right" ><!-- TMPL_VAR name="total" --></th> |
107 |
<th align="right" ><span class="bu_active" style="display : none;"><!-- TMPL_VAR name="total" --></span><span class="bu_inactive" ><!-- TMPL_VAR name="total_active" --></span></th> |
| 87 |
<th align="right" ><!-- TMPL_VAR name="totordered" --></th> |
108 |
<th align="right" ><span class="bu_active" style="display : none;"><!-- TMPL_VAR name="totordered" --></span><span class="bu_inactive" ><!-- TMPL_VAR name="totordered_active" --></span></th> |
| 88 |
<th align="right" ><!-- TMPL_VAR name="totspent" --></th> |
109 |
<th align="right" ><span class="bu_active" style="display : none;"><!-- TMPL_VAR name="totspent" --></span><span class="bu_inactive" ><!-- TMPL_VAR name="totspent_active" --></span></th> |
| 89 |
<th align="right" ><!-- TMPL_VAR name="totavail" --></th> |
110 |
<th align="right" ><span class="bu_active" style="display : none;"><!-- TMPL_VAR name="totavail" --></span><span class="bu_inactive" ><!-- TMPL_VAR name="totavail_active" --></span></th> |
| 90 |
</tr> |
111 |
</tr> |
| 91 |
</tfoot> |
112 |
</tfoot> |
| 92 |
<tbody> |
113 |
<tbody> |
| 93 |
<!-- TMPL_LOOP name="loop_budget" --> |
114 |
<!-- TMPL_LOOP name="loop_budget" --> |
|
|
115 |
<!-- TMPL_IF NAME="budget_period_active" --> |
| 94 |
<!--TMPL_IF NAME="__odd__" --> |
116 |
<!--TMPL_IF NAME="__odd__" --> |
| 95 |
<tr> |
117 |
<tr> |
| 96 |
<!--TMPL_ELSE--> |
118 |
<!--TMPL_ELSE--> |
|
Lines 104-113
Link Here
|
| 104 |
<td align="right" ><!-- TMPL_VAR name="budget_spent" --></td> |
126 |
<td align="right" ><!-- TMPL_VAR name="budget_spent" --></td> |
| 105 |
<td align="right" ><!-- TMPL_VAR name="budget_avail" --></td> |
127 |
<td align="right" ><!-- TMPL_VAR name="budget_avail" --></td> |
| 106 |
</tr> |
128 |
</tr> |
|
|
129 |
<!--TMPL_ELSE --> |
| 130 |
<!--TMPL_IF NAME="__odd__" --> |
| 131 |
<tr class="b_inactive" style="display : none;"> |
| 132 |
<!--TMPL_ELSE--> |
| 133 |
<tr class="highlight" id = "b_inactive" style="display : none;"> |
| 134 |
<!--/TMPL_IF--> |
| 135 |
<td align="center" ><!-- TMPL_VAR name="budget_code" --></td> |
| 136 |
<td align="center"><!-- TMPL_VAR name="budget_owner" --></td> |
| 137 |
<td align="center"><!-- TMPL_VAR name="budget_branchname" --></td> |
| 138 |
<td align="right" ><!-- TMPL_VAR name="budget_amount" --></td> |
| 139 |
<td align="right" ><!-- TMPL_VAR name="budget_ordered" --></td> |
| 140 |
<td align="right" ><!-- TMPL_VAR name="budget_spent" --></td> |
| 141 |
<td align="right" ><!-- TMPL_VAR name="budget_avail" --></td> |
| 142 |
<!-- /TMPL_IF --> |
| 107 |
<!-- /TMPL_LOOP --> |
143 |
<!-- /TMPL_LOOP --> |
| 108 |
</tbody> |
144 |
</tbody> |
| 109 |
</table> |
145 |
</table> |
| 110 |
</div> |
146 |
</div><span class="label">Show all : </span><input type="checkbox" id="showallbudgets" /> |
| 111 |
<!-- /TMPL_IF --> |
147 |
<!-- /TMPL_IF --> |
| 112 |
</div> |
148 |
</div> |
| 113 |
|
149 |
|
| 114 |
- |
|
|