Bug 7308: (follow-up) change color style for fund child
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / aqbudgets.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Administration &rsaquo; Funds[% IF ( add_form ) %] &rsaquo; [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name %]'[% END %][% ELSE %]Add fund [% END %][% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 //<![CDATA[
6 var MSG_BUDGET_PARENT_ALLOCATION = "- " + _("Fund amount exceeds parent allocation") + "\n";
7 var MSG_BUDGET_PERIOD_ALLOCATION = "- " + _("Fund amount exceeds period allocation") + "\n";
8 var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") + "\n";
9 //]]>
10 </script>
11
12 <script type="text/javascript" src="[% themelang %]/js/acq.js"></script>
13
14 [% IF ( add_form ) %]
15 <script type="text/javascript">
16 //<![CDATA[
17
18     function userPopup() {
19         window.open("/cgi-bin/koha/admin/aqbudget_user_search.pl?type=user",
20             'PatronPopup',
21             'width=740,height=450,location=yes,toolbar=no,'
22             + 'scrollbars=yes,resize=yes'
23         );
24     }
25
26     function ownerPopup() {
27         window.open("/cgi-bin/koha/admin/aqbudget_user_search.pl?type=owner",
28             'PatronPopup',
29             'width=740,height=450,location=yes,toolbar=no,'
30             + 'scrollbars=yes,resize=yes'
31         );
32     }
33
34     function edit_owner(borrowernumber, surname, firstname) {
35         $('#budget_owner_name').empty();
36         $('#budget_owner_id').val('');
37         if (borrowernumber) {
38             var ownerlink = '<a href="/cgi-bin/koha/members/moremember.pl'
39                 + '?borrowernumber=' + borrowernumber + '">'
40                 + firstname + ' ' + surname + '</a>';
41             $('#budget_owner_name').html(ownerlink);
42             $('#budget_owner_id').val(borrowernumber);
43         }
44     }
45
46     function ownerRemove() {
47         edit_owner(0);
48     }
49
50     function add_user(borrowernumber, surname, firstname) {
51         var ids = $("#budget_users_id").val().split(':');
52         if(borrowernumber && ids.indexOf(borrowernumber) == -1) {
53             var li = '<li id="user_' + borrowernumber + '">'
54                 + '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber='
55                 + borrowernumber + '">' + firstname + ' ' + surname
56                 + '</a> [<a style="cursor:pointer"'
57                 + 'onclick="del_user(' + borrowernumber +')">Remove</a>]</li>';
58             $(li).insertBefore("li#add_user_button");
59             ids.push(borrowernumber);
60             $("#budget_users_id").val(ids.join(':'));
61         } else {
62             return -1;
63         }
64         return 0;
65     }
66
67     function del_user(borrowernumber) {
68         var ids = $("#budget_users_id").val().split(':');
69         if (borrowernumber) {
70             var idx = ids.indexOf(borrowernumber+'');
71             if (idx != -1) {
72                 ids.splice(idx, 1);
73                 $("#budget_users_id").val(ids.join(':'));
74                 $("li#user_" + borrowernumber).remove();
75             }
76         }
77     }
78
79     function Check(f) {
80         var ok=1;
81         var _alertString="";
82         var alertString2;
83
84         if (!(isNotNull(f.budget_code,1))) {
85             _alertString += _("- Budget code cannot be blank") + "\n";
86         }
87
88         if (!(isNotNull(f.budget_name,1))) {
89             _alertString += _("- Budget name cannot be blank") + "\n";
90         }
91
92         if (!(isNotNull(f.budget_amount,1))) {
93             _alertString += _("- Budget amount cannot be blank") + "\n";
94         }
95
96         var budgetId;
97         if   (typeof(f.budget_id ) != "undefined")  {
98             budgetId = f.budget_id.value
99         }
100
101         var newBudgetParent;
102
103 //  hack to test if selected parent_id in scrolling-list...
104 //  if value == 'undef' its got a selected_parent :/
105         if(f.budget_parent_id){
106             var chkAdd   =  f.budget_parent_id.value ;
107             if  (     typeof(chkAdd ) != "undefined") {
108                 newBudgetParent  =  f.budget_parent_id.value
109             } else {
110                 newBudgetParent  =  f.budget_parent_id.item(0).value
111             }
112
113             if   (budgetId  > 0)  {  ; //its a mod ...
114                 // if parent == curent-budget, fail...
115                 if ( newBudgetParent  ==  budgetId     ) {
116                         _alertString += _("- Budget parent is current budget") + "\n";
117                 }
118
119                 else if (newBudgetParent) {
120                     var result = checkBudgetParent(  budgetId , newBudgetParent   );
121                     if (result) {
122                         _alertString += result;
123                     }
124                 }
125             }
126         }
127
128          // else do lookup
129         var budgetTotal = Math.abs(f.budget_amount.value);
130         var result =   budgetExceedsParent  (budgetTotal, budgetId, newBudgetParent, f.budget_period_id.value)
131         if (result) {
132             _alertString += result;
133         }
134
135         if (_alertString.length==0) {
136             document.Aform.submit();
137         } else {
138             alertString2 = _("Form not submitted because of the following problem(s)");
139             alertString2 += "\n------------------------------------------------------------------------------------\n\n";
140             alertString2 += _alertString;
141             alert(alertString2);
142         }
143     }
144 //]]>
145 </script>
146 [% ELSE %]
147     [% IF ( notree ) %]
148         <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
149         [% INCLUDE 'datatables.inc' %]
150     [% ELSE %]
151         <link href="[% themelang %]/lib/jquery/plugins/treetable/stylesheets/jquery.treeTable.css" rel="stylesheet" type="text/css" />
152         <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/treetable/jquery.treeTable.min.js"></script>
153     [% END %]
154
155 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.qtip.js"></script>
156
157 <script type="text/javascript">
158 //<![CDATA[
159     //
160     $(document).ready(function() {
161         var tooltipcontent = $(".tooltipcontent");
162         tooltipcontent.hide();
163
164         $(".tooltiped td").each(function (){
165             contentelem = $(this).parent().children().filter(".tooltipcontent");
166             if(contentelem.html() != ""){
167             $(this).qtip({
168                 content: contentelem.html(),
169                 show: "mouseover",
170                 hide: "mouseout",
171                 style: {
172                     name: "light",
173                     tip: "bottomLeft",
174                     border: {
175                         radius: 5,
176                         color: "#356CA1"
177                     }
178                 },
179                 position: {
180                     corner: {
181                         target: "topRight",
182                         tooltip: "bottomRight"
183                     }
184                 }
185             });
186             }
187         });
188         [% IF ( notree ) %]
189             $("#budgeth").dataTable($.extend(true, {}, dataTablesDefaults, {
190                 "aoColumnDefs": [
191                     { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
192                 ],
193                 "sPaginationType": "four_button"
194             }));
195         [% ELSE %]
196         $("#budgeth").treeTable();
197         [% END %]
198
199         $("#filterbutton").click(function() {
200             $("#fundfilters").slideToggle(0);
201         });
202     });
203 //]]>
204 </script>
205 [% END %]
206
207 </head>
208 <body id="admin_aqbudgets" class="admin">
209 [% INCLUDE 'header.inc' %]
210 [% INCLUDE 'budgets-admin-search.inc' %]
211
212 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
213     <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> &rsaquo; [% IF ( else ) %]Funds for '[% budget_period_description %]'[% END %][% IF ( add_form ) %]
214     <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]">Funds</a> &rsaquo; [% IF ( budget_id ) %]Modify fund[% IF ( budget_name ) %] '[% budget_name %]'[% END %][% ELSE %]Add fund[% END %][% END %]  [% IF ( delete_confirm ) %]
215     <a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a> &rsaquo; Delete fund?[% END %]</div>
216
217 <div id="doc3" class="yui-t2">
218 <div id="bd">
219 <div id="yui-main">
220 <div class="yui-b" id="content">
221
222
223 [% UNLESS ( delete_confirm ) %][% INCLUDE 'budgets-admin-toolbar.inc' %][% END %]
224
225 [% IF (error_not_authorised_to_modify) %]
226     <div class="error">
227         <p>You are not authorized to modify this fund</p>
228     </div>
229 [% END %]
230
231 [% IF ( else ) %]
232
233 <h1>Funds for '[% budget_period_description %]'</h1>
234
235 [% INCLUDE 'budgets-active-currency.inc' %]
236
237 [% IF ( budget ) %]
238
239 <table id="budgeth">
240     <thead>
241         <tr>
242             <th>Fund code</th>
243             <th>Fund name</th>
244             <th>Base-level allocated</th>
245             <th>Base-level ordered</th>
246             <th>Total ordered</th>
247             <th>Base-level spent</th>
248             <th>Total spent</th>
249             <th>Base-level available</th>
250             <th>Total available</th>
251             <th class="tooltipcontent">&nbsp;</th>
252             <th>Actions</th>
253         </tr>
254     </thead>
255 <tfoot>
256     <tr>
257     <th colspan="2" style="text-align: left;" nowrap="nowrap">Period allocated [% IF ( budget_period_total ) %][% budget_period_total %][% END %]  </th>
258     <th nowrap="nowrap" class="data"> [% period_alloc_total %]</th>
259     <th></th>
260     <th class="data">[% ordered_total %]</th>
261     <th></th>
262     <th class="data">[% spent_total %]</th>
263     <th></th>
264     <th class="tooltipcontent"></th>
265     <th class="data">[% available_total %]</th>
266     <th></th>
267     </tr>
268     </tfoot>
269     <tbody>
270         [% FOREACH budge IN budget %]
271     [% IF ( budge.toggle ) %]
272     <tr id="node-[% budge.budget_id %]" class="highlight[% IF ( budge.budget_parent_id ) %] child-of-node-[% budge.budget_parent_id %][% END %] tooltiped">
273     [% ELSE %]
274     <tr id="node-[% budge.budget_id %]" class="tooltiped [% IF ( budge.budget_parent_id ) %] child-of-node-[% budge.budget_parent_id %][% END %]">
275     [% END %]
276
277     <td>[% budge.budget_code_indent %]</td>
278     <td>[% budge.budget_name %]</td>
279     <td class="data">
280       [% IF budge.budget_parent_id %]
281         <span style="color:grey">[% budge.budget_amount %]</span>
282       [% ELSE %]
283         [% budge.budget_amount %]
284       [% END %]
285     </td>
286     <td class="data">
287       [% IF budge.budget_parent_id %]
288         <span style="color:grey">[% budge.budget_ordered %]</span>
289       [% ELSE %]
290         [% budge.budget_ordered %]
291       [% END %]
292     </td>
293     <td class="data">
294       [% IF budge.budget_parent_id %]
295         <span style="color:grey">[% budge.total_ordered %]</span>
296       [% ELSE %]
297         [% budge.total_ordered %]
298       [% END %]
299     </td>
300     <td class="data">
301       [% IF budge.budget_parent_id %]
302         <span style="color:grey">[% budge.budget_spent %]</span>
303       [% ELSE %]
304         [% budge.budget_spent %]
305       [% END %]
306     </td>
307     <td class="data">
308       [% IF budge.budget_parent_id %]
309         <span style="color:grey">[% budge.total_spent %]</span>
310       [% ELSE %]
311         [% budge.total_spent %]
312       [% END %]
313     </td>
314
315
316     [% BLOCK colorcellvalue %]
317         [% IF (value > 0) %]
318             <span style="color: green;">
319         [% ELSIF (value < 0) %]
320             <span style="color: red;">
321         [% ELSE %]
322             <span>
323         [% END %]
324             [% text %]
325         </span>
326     [% END %]
327     <td class="data">
328         [% INCLUDE colorcellvalue value=budge.budget_remaining text=budge.budget_remaining_display %]
329     </td>
330     <td class="data">
331         [% INCLUDE colorcellvalue value=budge.total_remaining text=budge.total_remaining_display %]
332     </td>
333
334     <td class="tooltipcontent">[% IF ( budge.budget_owner_id ) %]<strong>Owner: </strong><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% budge.budget_owner_id %]">[% budge.budget_owner_name %]</a>[% END %]
335         [% IF ( budge.budget_branchcode ) %]<br /><strong>Library: </strong>[% budge.budget_branchcode %][% END %]
336         [% IF ( budge.budget_notes ) %]<br /><strong>Notes: </strong>[% budge.budget_notes %][% END %]
337         [% IF ( budge.budget_hierarchy ) %]
338             <ul class="budget_hierarchy">[% FOREACH budget_hierarch IN budge.budget_hierarchy %]
339                 [% IF ( budget_hierarch.element_id ) %]
340                     <li><a href="?op=add_form&amp;budget_id=[% budget_hierarch.element_id %]&amp;budget_period_id=[% budget_hierarch.budget_period_id %]">[% budget_hierarch.element_name %]</a></li>
341                 [% ELSE %]
342                     <li><strong>[% budget_hierarch.element_name %] : </strong></li>
343                 [% END %]
344                 [% END %]
345             </ul>
346         [% END %]</td>
347     [% IF ( budge.budget_lock ) %]
348         <td> <span style="color: gray;"> Edit Delete </span> </td>
349     [% ELSE %]
350         <td>
351             <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_id=[% budge.budget_id %]&amp;budget_period_id=[% budge.budget_period_id %]" >Edit</a>
352             <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=delete_confirm&amp;budget_id=[% budge.budget_id %]&amp;budget_period_id=[% budge.budget_period_id %]">Delete</a>
353             <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_parent_id=[% budge.budget_id %]&amp;budget_period_id=[% budge.budget_period_id %]">Add child fund</a>
354         </td>
355     [% END %]
356     </tr>
357     [% END %]
358     </tbody>
359 </table>
360
361 [% ELSE %]
362     No fund found
363 [% END %]
364
365 [% IF ( pagination_bar ) %]<div class="pages">[% pagination_bar %]</div>[% END %]
366 [% END %] <!-- else -->
367
368 <!-- ********************************************************************************************** -->
369 <!-- create add/mod entry form -->
370 [% IF ( add_form && !error_not_authorised_to_modify ) %]
371 <form action="/cgi-bin/koha/admin/aqbudgets.pl" name="Aform" method="post">
372     <fieldset class="rows">
373     <legend>[% IF ( budget_id ) %]Modify[% ELSE %]Add[% END %] Fund
374     [% IF ( budget_period_description ) %]
375         [% budget_name %] for Budget '[% budget_period_description %]'
376     [% END %]
377     </legend>
378
379     <input type="hidden" name="op" value="add_validate" />
380     <input type="hidden" name="checked" value="0" />
381     <ol>
382     [% IF ( budget_parent_id ) %]
383     <li>
384         <span class="label">Fund parent: </span>
385         [% budget_parent_name %]
386         [% budget_parent_id %] - [% budget_parent_name %]
387         <input type="hidden" name="budget_parent_id" value="[% budget_parent_id %]" />
388     </li>
389     [% END %]
390     <li>
391     <label class="required"  for="budget_code">Fund code: </label>
392     <input type="text" name="budget_code" id="budget_code" value="[% budget_code %]" size="30" />
393     </li>
394
395     <li>
396     <label class="required" for="budget_name">Fund name: </label>
397     <input type="text" name="budget_name" id="budget_name" value="[% budget_name %]" size="60" />
398     </li>
399
400     <li>
401     <label style="white-space: nowrap;" for="budget_amount" class="required">Amount: </label>
402     <input type="text" name="budget_amount" id="budget_amount" value="[% budget_amount %]" size="8" />
403     </li>
404
405     <li>
406       <label for="budget_encumb">Warning at (%): </label>
407       <input type="text" name="budget_encumb" id="budget_encumb" value="[% budget_encumb %]" size="10" />
408       <span style="color:grey">0 to disable</span>
409     </li>
410
411     <li>
412       <label for="budget_expend">Warning at (amount): </label>
413       <input type="text" name="budget_expend" id="budget_expend" value="[% budget_expend %]" size="10" /><input type="hidden" name="budget_owner_id" id="budget_owner_id" value="[% budget_owner_id %]" />
414       <span style="color:grey">0 to disable</span>
415     </li>
416
417     <li>
418         <span class="label">Owner: </span>
419         <span  id="budget_owner_name">
420         <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% budget_owner_id %]">
421             [% budget_owner_name %]
422         </a>
423         </span>
424         <input type="hidden" name="budget_owner_id" id="budget_owner_id"
425             value="[% budget_owner_id %]" />
426
427         <!-- FIXME: hardcoded button positions :/ -->
428         <input type="button" id="edit_owner" value="Edit owner"
429             onclick="ownerPopup(); return false;" />
430         <input type="button" id="remove_owner" value="Remove owner"
431             onclick="ownerRemove(); return false;" />
432     </li>
433
434     <li>
435         <span class="label">Users:</span>
436         <ul style="float:left;" id="budget_users">
437             [% FOREACH user IN budget_users %]
438                 <li id="user_[% user.borrowernumber %]">
439                     <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% user.borrowernumber %]">
440                         [% user.firstname %] [% user.surname %]
441                     </a>
442                     [<a style="cursor:pointer"
443                     onclick="del_user([% user.borrowernumber %])">Remove</a>]
444                 </li>
445             [% END %]
446             <li id="add_user_button">
447                 <input type="button" onclick="userPopup()" value="Add users" />
448             </li>
449         </ul>
450         <input type="hidden" name="budget_users_ids" id="budget_users_id" value="[% budget_users_ids %]" />
451     <li>
452     <label for="budget_branchcode">Library: </label>
453     <select name="budget_branchcode" id="budget_branchcode">
454     <option value=""></option>
455     [% FOREACH branchloop_selec IN branchloop_select %]
456         [% UNLESS ( branchloop_selec.selected ) %] <option value="[% branchloop_selec.value %]" > [% ELSE %] <option value="[% branchloop_selec.value %]" selected="selected"> [% END %] [% branchloop_selec.value %]-[% branchloop_selec.branchname %]</option>
457     [% END %]
458     </select>
459     </li>
460
461     <li>
462     <label for="budget_permission">Restrict access to: </label>
463     <select name="budget_permission" id="budget_permission">
464         [% IF ( budget_perm_0 ) %]
465             <option value="0" selected="selected">
466         [% ELSE %]
467             <option value="0">
468         [% END %]
469             None
470         </option>
471
472         [% IF ( budget_perm_1 ) %]
473             <option value="1" selected="selected">
474         [% ELSE %]
475             <option value="1">
476         [% END %]
477             Owner
478         </option>
479
480         [% IF ( budget_perm_3) %]
481             <option value="3" selected="selected">
482         [% ELSE %]
483             <option value="3">
484         [% END %]
485             Owner and users
486         </option>
487
488         [% IF ( budget_perm_2 ) %]
489             <option value="2" selected="selected">
490         [% ELSE %]
491             <option value="2">
492         [% END %]
493             Owner, users and library
494         </option>
495     </select>
496     </li>
497
498     <li>
499     <label for="budget_notes">Notes: </label>
500     <textarea name="budget_notes" id="budget_notes"  cols="80" rows="6">[% budget_notes %]</textarea>
501     </li>
502
503     <li>
504     <label  style="white-space: nowrap;" for="authorised_value_category1">Statistic 1 done on: </label>
505         <select name="sort1_authcat" id="authorised_value_category1">
506             <option value=""></option>
507             [% FOREACH authorised_value_categories IN authorised_value_categories1 %]
508                 [% IF ( authorised_value_categories.selected ) %]
509                     <option value="[% authorised_value_categories.category %]" selected="selected">
510                         [% authorised_value_categories.category %]
511                     </option>
512                 [% ELSE %]
513                     <option value="[% authorised_value_categories.category %]">
514                         [% authorised_value_categories.category %]
515                     </option>
516                 [% END %]
517             [% END %]
518         </select>
519     </li>
520     <li>
521     <label  style="white-space: nowrap;" for="authorised_value_category2">Statistic 2 done on: </label>
522         <select name="sort2_authcat" id="authorised_value_category2">
523             <option value=""></option>
524             [% FOREACH authorised_value_categories IN authorised_value_categories2 %]
525                 [% IF ( authorised_value_categories.selected ) %]
526                     <option value="[% authorised_value_categories.category %]" selected="selected">
527                         [% authorised_value_categories.category %]
528                     </option>
529                 [% ELSE %]
530                     <option value="[% authorised_value_categories.category %]">
531                         [% authorised_value_categories.category %]
532                     </option>
533                 [% END %]
534             [% END %]
535         </select>
536     </li>
537     </ol>
538
539     [% IF ( budget_id ) %]
540         <input type="hidden" name="budget_id" value="[% budget_id %]" />
541     [% END %]
542     </fieldset>
543
544     <fieldset class="action">
545         <input type="submit" value="Submit" onclick="Check(this.form); return false;" /> <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl">Cancel</a>
546         <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
547     </fieldset>
548 </form>
549
550 [% END %] <!-- add_form -->
551
552 [% IF ( delete_confirm ) %]
553 <div class="dialog alert"> <h3>Delete fund [% budget_name %]?</h3>
554 <table>
555     <tr>
556     <th scope="row">Fund amount:</th>
557     <td>[% budget_amount %]</td>
558     </tr>
559 </table>
560
561 <form action="[% action %]" method="post">
562     <input type="hidden" name="op" value="delete_confirmed" />
563     <input type="hidden" name="budget_id" value="[% budget_id %]" />
564     <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
565     <input type="submit" value="Delete" class="approve" />
566 </form>
567
568 <form action="[% action %]" method="get">
569     <input type="submit" class="deny" value="Cancel" />
570 </form>
571 </div>
572 [% END %]
573
574 </div>
575 </div>
576 <div class="yui-b">
577 [% IF ( else ) %]<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="get">
578     <a href="#" id="filterbutton">Filters</a>
579     <fieldset class="brief" id="fundfilters">
580     <h4>Fund filters</h4>
581         <ol>
582         <li>
583             <label for="filter_budgetbranch2">Library: </label>
584             <select name="filter_budgetbranch" id="filter_budgetbranch2" style="width:10em;">
585                 <option value=""></option>
586                 [% FOREACH branchloo IN branchloop %]
587                 [% UNLESS ( branchloo.selected ) %]<option value="[% branchloo.value %]">
588                 [% ELSE %]<option value="[% branchloo.value %]" selected="selected">[% END %]
589                 [% branchloo.branchname %]</option>
590                 [% END %]
591             </select>
592         </li>
593         <li class="radio">
594
595         <label for="show_mine">Show my funds only</label>
596             [% IF ( show_mine ) %]
597                 <input type="checkbox" id="show_mine"  name="show_mine" value="1" checked="checked" />
598             [% ELSE %]
599                 <input type="checkbox" id="show_mine"  name="show_mine" value="1" />
600         [% END %]
601         </li>
602         </ol>
603
604         <input type="hidden" name="show" value="1" />
605         <input type="hidden"  name="budget_period_id" value="[% budget_period_id %]" />
606         <input type="submit" class="submit" name="filter" value="Go" />
607     </fieldset>
608 </form>[% END %]
609 [% INCLUDE 'acquisitions-menu.inc' %]
610 </div>
611 </div>
612 [% INCLUDE 'intranet-bottom.inc' %]