View | Details | Raw Unified | Return to bug 19928
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-1 / +13 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% BLOCK csv_export %]
2
[% BLOCK csv_export %]
2
    <div class="btn-group">
3
    <div class="btn-group">
3
        <a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]"><i class="fa fa-download"></i> Export as CSV</a>
4
        <a id="exportbutton" class="btn btn-default btn-sm" href="[% script_name %]?op=export&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]">
5
            <i class="fa fa-download"></i>
6
            Export as
7
            [% SWITCH Koha.Preference('delimiter') %]
8
                [% CASE '#' %] pound (#) separated text (.csv)
9
                [% CASE ',' %] comma separated text (.csv)
10
                [% CASE '/' %] slash separated text (.csv)
11
                [% CASE ';' %] semicolon separated text (.csv)
12
                [% CASE '\\' %] backslash separated text (.csv)
13
                [% CASE 'tabulation' %] tab separated text (.csv)
14
            [% END %]
15
        </a>
4
      <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
16
      <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a>
5
      <ul class="dropdown-menu" id="export-csv-menu">
17
      <ul class="dropdown-menu" id="export-csv-menu">
6
          <li><a href="#">Default</a></li>
18
          <li><a href="#">Default</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-2 / +15 lines)
Lines 1-4 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
3
[% USE Koha %]
4
[% BLOCK syspref_delimiter %]
5
    [%- SWITCH Koha.Preference('delimiter') -%]
6
        [%- CASE '#' %] pound (#) separated text (.csv)
7
        [%- CASE ',' %] comma separated text (.csv)
8
        [%- CASE '/' %] slash separated text (.csv)
9
        [%- CASE ';' %] semicolon separated text (.csv)
10
        [%- CASE '\\' %] backslash separated text (.csv)
11
        [%- CASE 'tabulation' %] tab separated text (.csv)
12
    [%- END -%]
13
[% END %]
14
2
[% INCLUDE 'doc-head-open.inc' %]
15
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
16
<title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
4
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
17
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
Lines 142-148 function submitForm(form) { Link Here
142
                    [% IF (closedbg) %]
155
                    [% IF (closedbg) %]
143
                        <div id="toolbar" class="btn-toolbar">
156
                        <div id="toolbar" class="btn-toolbar">
144
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
157
                            <div class="btn-group"><a href="[% script_name %]?op=reopen&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]&amp;mode=singlebg" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-download"></i> Reopen this basket group</a></div>
145
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as CSV</a></div>
158
                            <div class="btn-group"><a href="[% script_name %]?op=export&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="exportbutton"><i class="fa fa-download"></i> Export this basket group as[%- PROCESS syspref_delimiter -%]</a></div>
146
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
159
                            <div class="btn-group"><a href="[% script_name %]?op=print&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="printbutton"><i class="fa fa-download"></i> Print this basket group in PDF</a></div>
147
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
160
                            <div class="btn-group"><a href="[% script_name %]?op=ediprint&amp;basketgroupid=[% basketgroupid %]&amp;booksellerid=[% booksellerid %]" class="btn btn-default btn-sm" id="printbutton"><i class="fa fa-download"></i> Generate EDIFACT order</a></div>
148
                        </div>
161
                        </div>
Lines 366-372 function submitForm(form) { Link Here
366
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="View" /></form>
379
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="add" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="View" /></form>
367
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form>
380
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form>
368
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as PDF" /></form>
381
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="print" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as PDF" /></form>
369
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as CSV" /></form>
382
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="export" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Export as[%- PROCESS syspref_delimiter -%]" /></form>
370
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="ediprint" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Generate EDIFACT order" /></form>
383
                                                    <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="ediprint" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Generate EDIFACT order" /></form>
371
                                                </td>
384
                                                </td>
372
                                            </tr>
385
                                            </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-2 / +14 lines)
Lines 1-6 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
4
5
[% USE Koha %]
6
[% BLOCK syspref_delimiter %]
7
    [%- SWITCH Koha.Preference('delimiter') -%]
8
        [%- CASE '#' %] pound (#) separated text (.csv)
9
        [%- CASE ',' %] comma separated text (.csv)
10
        [%- CASE '/' %] slash separated text (.csv)
11
        [%- CASE ';' %] semicolon separated text (.csv)
12
        [%- CASE '\\' %] backslash separated text (.csv)
13
        [%- CASE 'tabulation' %] tab separated text (.csv)
14
    [%- END -%]
15
[% END %]
16
4
[% INCLUDE 'doc-head-open.inc' %]
17
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Acquisitions &rsaquo; Late orders</title>
18
<title>Koha &rsaquo; Acquisitions &rsaquo; Late orders</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
19
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
Lines 205-211 $(document).ready(function() { Link Here
205
    <div class="spacer"></div>
218
    <div class="spacer"></div>
206
219
207
    <p style="display:block;">
220
    <p style="display:block;">
208
        <input type="button" value="Export as CSV" id="ExportSelected" />
221
        <input type="button" value="Export as[%- PROCESS syspref_delimiter -%]" id="ExportSelected" />
209
        [% UNLESS lateorder.budget_lock %]
222
        [% UNLESS lateorder.budget_lock %]
210
            <input type="submit"  value="Claim order" />
223
            <input type="submit"  value="Claim order" />
211
        [% END %]
224
        [% END %]
212
- 

Return to bug 19928