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

(-)a/circ/circulation.pl (-4 / +1 lines)
Lines 160-169 else { Link Here
160
my ($datedue,$invalidduedate);
160
my ($datedue,$invalidduedate);
161
161
162
my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
162
my $duedatespec_allow = C4::Context->preference('SpecifyDueDate');
163
if( $onsite_checkout ) {
163
if( $duedatespec_allow ) {
164
    $datedue = output_pref({ dt => dt_from_string, dateonly => 1, dateformat => 'iso' });
165
    $datedue .= ' 23:59:00';
166
} elsif( $duedatespec_allow ) {
167
    if ($duedatespec) {
164
    if ($duedatespec) {
168
        if ($duedatespec =~ C4::Dates->regexp('syspref')) {
165
        if ($duedatespec =~ C4::Dates->regexp('syspref')) {
169
                $datedue = dt_from_string($duedatespec);
166
                $datedue = dt_from_string($duedatespec);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 lines)
Lines 50-56 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); Link Here
50
function toggle_onsite_checkout(){
50
function toggle_onsite_checkout(){
51
    if ( $("#onsite_checkout").attr('checked') ) {
51
    if ( $("#onsite_checkout").attr('checked') ) {
52
        $("#duedatespec").val("[% todaysdate | $KohaDates with_hours => 1%]")
52
        $("#duedatespec").val("[% todaysdate | $KohaDates with_hours => 1%]")
53
        $("#duedatespec").datetimepicker('destroy');
54
    } else {
53
    } else {
55
        $("#duedatespec").datetimepicker({
54
        $("#duedatespec").datetimepicker({
56
            onClose: function(dateText, inst) { $("#barcode").focus(); },
55
            onClose: function(dateText, inst) { $("#barcode").focus(); },
57
- 

Return to bug 13647