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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js (-3 lines)
Lines 112-120 function export_checkouts(format) { Link Here
112
        $("#dont_export_item").val(0);
112
        $("#dont_export_item").val(0);
113
    } else if (format == 'iso2709') {
113
    } else if (format == 'iso2709') {
114
        $("#dont_export_item").val(1);
114
        $("#dont_export_item").val(1);
115
    } else if (format === '') {
116
            alert(MSG_DEFINE_CSV_FORMAT);
117
            return false;
118
    }
115
    }
119
    document.issues.action="/cgi-bin/koha/tools/export.pl";
116
    document.issues.action="/cgi-bin/koha/tools/export.pl";
120
    document.getElementById("export_format").value = format;
117
    document.getElementById("export_format").value = format;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-5 / +2 lines)
Lines 16-22 Link Here
16
//<![CDATA[
16
//<![CDATA[
17
var MSG_ADD_MESSAGE = _("Add a new message");
17
var MSG_ADD_MESSAGE = _("Add a new message");
18
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
18
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
19
var MSG_EXPORT_DEFINE_CSV_FORMAT = _("You must define a CSV profile for export (in tools -> CSV export profiles) and fill the 'ExportWithCsvProfile' system preference");
19
20
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
20
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
21
[% IF ( UseTablesortForCirc ) %]$.tablesorter.addParser({
21
[% IF ( UseTablesortForCirc ) %]$.tablesorter.addParser({
22
    id: 'articles',
22
    id: 'articles',
Lines 813-821 No patron matched <span class="ex">[% message %]</span> Link Here
813
                <option value="iso2709_995">ISO2709 with items</option>
813
                <option value="iso2709_995">ISO2709 with items</option>
814
                <option value="iso2709">ISO2709 without items</option>
814
                <option value="iso2709">ISO2709 without items</option>
815
                [% IF ( export_with_csv_profile ) %]
815
                [% IF ( export_with_csv_profile ) %]
816
                <option value="csv">CSV</option>
816
                  <option value="csv">CSV</option>
817
                [% ELSE %]
818
                <option value="">CSV</option>
819
                [% END %]
817
                [% END %]
820
            </select>
818
            </select>
821
           <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
819
           <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
822
- 

Return to bug 9294