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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-8 / +20 lines)
Lines 480-490 input { Link Here
480
        }
480
        }
481
    }
481
    }
482
482
483
    &.alert {
484
        background-color: #FFFF99;
485
        border-color: #900;
486
    }
487
488
    &.hasDatepicker {
483
    &.hasDatepicker {
489
        background-image: url("../img/famfamfam/silk/calendar.png");
484
        background-image: url("../img/famfamfam/silk/calendar.png");
490
        background-position-x: right;
485
        background-position-x: right;
Lines 513-518 input { Link Here
513
    }
508
    }
514
}
509
}
515
510
511
.input-warning {
512
    background-color: #FFFF99;
513
    border-color: #900;
514
}
515
516
label,
516
label,
517
.label {
517
.label {
518
    color: #000;
518
    color: #000;
Lines 1975-1981 i { Link Here
1975
    }
1975
    }
1976
}
1976
}
1977
1977
1978
.checkout-setting {
1978
.circ-setting {
1979
    font-size: 85%;
1979
    font-size: 85%;
1980
    padding-top: .3em;
1980
    padding-top: .3em;
1981
1981
Lines 1989-1995 i { Link Here
1989
    }
1989
    }
1990
}
1990
}
1991
1991
1992
.checkout-settings {
1992
.circ-settings {
1993
    background-color: #F4F8F9;
1993
    background-color: #F4F8F9;
1994
    border-radius: 0;
1994
    border-radius: 0;
1995
    border-top: 2px solid #B9D8D9;
1995
    border-top: 2px solid #B9D8D9;
Lines 2000-2009 i { Link Here
2000
    padding: 1em 1em 0;
2000
    padding: 1em 1em 0;
2001
}
2001
}
2002
2002
2003
#show-checkout-settings {
2003
#show-circ-settings {
2004
    margin-top: .5em;
2004
    margin-top: .5em;
2005
}
2005
}
2006
2006
2007
.checkin-active-setting {
2008
    background-color: #FFC;
2009
    border-radius: 3px;
2010
    box-shadow: 1px 1px 2px 0 rgba(102, 102, 102, .5);
2011
    margin: .5em;
2012
    padding: .5em;
2013
}
2014
2015
.form-control-group {
2016
    white-space: nowrap;
2017
}
2018
2007
.blocker {
2019
.blocker {
2008
    color: #990000;
2020
    color: #990000;
2009
}
2021
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-8 / +8 lines)
Lines 531-545 No patron matched <span class="ex">[% message | html %]</span> Link Here
531
    [% END %]
531
    [% END %]
532
    <button type="submit" class="btn btn-default">Check out</button>
532
    <button type="submit" class="btn btn-default">Check out</button>
533
533
534
    <div id="show-checkout-settings">
534
    <div id="show-circ-settings">
535
        <a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> Checkout settings</a>
535
        <a href="#"><i class="fa fa-caret-right circ-settings-icon"></i> Checkout settings</a>
536
    </div>
536
    </div>
537
537
538
    <div class="checkout-settings">
538
    <div class="circ-settings">
539
539
540
        [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
540
        [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
541
            [% IF ( SpecifyDueDate ) %]
541
            [% IF ( SpecifyDueDate ) %]
542
                <div id="specify-due-date" class="checkout-setting">
542
                <div id="specify-due-date" class="circ-setting">
543
                    <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
543
                    <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
544
                    [% IF ( duedatespec ) %]
544
                    [% IF ( duedatespec ) %]
545
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" />
545
                        <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" />
Lines 558-564 No patron matched <span class="ex">[% message | html %]</span> Link Here
558
        [% END %]
558
        [% END %]
559
559
560
        [% UNLESS ( noissues ) %]
560
        [% UNLESS ( noissues ) %]
561
            <div id="set-automatic-renewal" class="checkout-setting">
561
            <div id="set-automatic-renewal" class="circ-setting">
562
                [% IF NEEDSCONFIRMATION %]
562
                [% IF NEEDSCONFIRMATION %]
563
                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
563
                    <input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" />
564
                [% ELSE %]
564
                [% ELSE %]
Lines 568-574 No patron matched <span class="ex">[% message | html %]</span> Link Here
568
                <label for="auto_renew">Automatic renewal</label>
568
                <label for="auto_renew">Automatic renewal</label>
569
            </div>
569
            </div>
570
            [% IF Koha.Preference('decreaseLoanHighHolds') %]
570
            [% IF Koha.Preference('decreaseLoanHighHolds') %]
571
                <div id="set_high_holds_overrride" class="checkout-setting">
571
                <div id="set_high_holds_overrride" class="circ-setting">
572
                    [% IF NEEDSCONFIRMATION %]
572
                    [% IF NEEDSCONFIRMATION %]
573
                        [% IF override_high_holds %]
573
                        [% IF override_high_holds %]
574
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/>
574
                            <input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/>
Lines 588-594 No patron matched <span class="ex">[% message | html %]</span> Link Here
588
        [% END %]
588
        [% END %]
589
589
590
        [% IF Koha.Preference('OnSiteCheckouts') %]
590
        [% IF Koha.Preference('OnSiteCheckouts') %]
591
            <div id="onsite_checkout-select" class="checkout-setting">
591
            <div id="onsite_checkout-select" class="circ-setting">
592
                [% IF noissues %]
592
                [% IF noissues %]
593
                    <div class="onsite-checkout-only">
593
                    <div class="onsite-checkout-only">
594
                        <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label>
594
                        <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label>
Lines 601-607 No patron matched <span class="ex">[% message | html %]</span> Link Here
601
            </div>
601
            </div>
602
        [% END %]
602
        [% END %]
603
603
604
    </div> <!-- /.checkout-settings -->
604
    </div> <!-- /.circ-settings -->
605
605
606
          <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
606
          <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
607
          <input type="hidden" name="branch" value="[% branch | html %]" />
607
          <input type="hidden" name="branch" value="[% branch | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-60 / +82 lines)
Lines 598-627 Link Here
598
        </div>
598
        </div>
599
[% END%]
599
[% END%]
600
600
601
    <div id="exemptfines" class="dialog message" style="display:none;">
602
        <p>Fines for returned items are forgiven.</p>
603
    </div>
604
    <div id="forgivemanualholdsexpire-alert" class="dialog message" style="display:none;">
605
        <p>Fines are not charged for manually cancelled holds.</p>
606
    </div>
607
    <div id="dropboxmode" class="dialog message" style="display:none;">
608
        <p>Book drop mode.  (Effective checkin date is [% dropboxdate | html %] ).</p>
609
    </div>
610
611
<div class="row">
612
    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
601
    <form id="checkin-form" method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off" >
602
    <fieldset id="circ_returns_checkin">
603
        <h3>Check in</h3>
604
        <div class="row">
613
    <div class="col-sm-6">
605
    <div class="col-sm-6">
614
            <fieldset>
606
                <div class="hint">Enter item barcode:</div>
615
            <legend>Check in</legend>
607
                    <div class="form-control-group">
616
            <label for="barcode">Enter item barcode: </label>
617
            [% IF ( exemptfine ) %]
608
            [% IF ( exemptfine ) %]
618
            <input name="barcode" id="barcode" size="14" class="focus alert" type="text" />
609
                            <input name="barcode" id="barcode" size="14" class="barcode focus input-warning" />
619
            [% ELSIF ( dropboxmode ) %]
610
            [% ELSIF ( dropboxmode ) %]
620
            <input name="barcode" id="barcode" size="14" class="focus alert" type="text" />
611
                            <input name="barcode" id="barcode" size="14" class="barcode focus input-warning" />
612
                        [% ELSE %]
613
                            <input name="barcode" id="barcode" size="14" class="barcode focus" />
614
                        [% END %]
615
                        <button type="submit" class="btn btn-default">Check in</button>
616
                        [% FOREACH inputloo IN inputloop %]
617
                            <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
618
                            <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
619
                            <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
620
                        [% END %]
621
                    </div>
622
                <div id="show-circ-settings">
623
                    <a href="#"><i class="fa circ-settings-icon fa-caret-down"></i> Checkin settings</a>
624
                </div>
625
            </div>
626
            <div class="col-sm-6">
627
                [% IF ( exemptfine ) %]
628
                    <div id="exemptfines" class="checkin-active-setting">
629
                [% ELSE %]
630
                    <div id="exemptfines" class="checkin-active-setting" style="display:none;">
631
                [% END %]
632
                    <p><i class="fa fa-check"></i> Fines for returned items are forgiven.</p>
633
                </div>
634
635
                [% IF ( forgivemanualholdsexpire ) %]
636
                    <div id="forgivemanualholdsexpire-alert" class="checkin-active-setting">
621
            [% ELSE %]
637
            [% ELSE %]
622
            <input name="barcode" id="barcode" size="14" class="focus" type="text" />
638
                    <div id="forgivemanualholdsexpire-alert" class="checkin-active-setting" style="display:none;">
623
            [% END %]
639
            [% END %]
624
            <input type="submit" class="submit" value="Submit" />
640
                    <p><i class="fa fa-check"></i> Fines are not charged for manually cancelled holds.</p>
641
                </div>
642
643
                [% IF ( dropboxmode ) %]
644
                    <div id="dropboxmode" class="checkin-active-setting">
645
                [% ELSE %]
646
                    <div id="dropboxmode" class="checkin-active-setting" style="display:none;">
647
                [% END %]
648
                    <p><i class="fa fa-check"></i> Book drop mode.  (Effective checkin date is [% dropboxdate | html %] ).</p>
649
                </div>
650
            </div>
651
        </div>
652
653
            <div class="circ-settings">
625
654
626
            [% IF Koha.Preference('SpecifyReturnDate') %]
655
            [% IF Koha.Preference('SpecifyReturnDate') %]
627
                <div class="date-select" id="return_date_override_fields">
656
                <div class="date-select" id="return_date_override_fields">
Lines 635-688 Link Here
635
                    [% ELSE %]
664
                    [% ELSE %]
636
                        <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
665
                        <input type="checkbox" id="return_date_override_remember" onclick="this.form.barcode.focus();" name="return_date_override_remember" />
637
                    [% END %]
666
                    [% END %]
638
667
                    <button type="button" class="action btn btn-default btn-xs" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;">Clear</button>
639
                    <input type="button" class="action" id="cleardate" value="Clear" name="cleardate" onclick="this.checked = false; this.form.return_date_override.value = ''; this.form.return_date_override_remember.checked = false; this.form.barcode.focus(); return false;" />
640
            </div>
668
            </div>
641
        [% END %]
669
        [% END %]
642
            [% FOREACH inputloo IN inputloop %]
643
                <input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
644
                <input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
645
                <input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
646
            [% END %]
647
648
670
649
            </fieldset>
650
            </div>
651
            <div class="col-sm-6">
652
            <fieldset id="checkin_options">
653
                <legend>Options</legend>
654
                    [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
671
                    [% IF ( CAN_user_updatecharges_writeoff && overduecharges ) %]
655
                    <p>
672
                <div id="forgive-overdue-fines" class="circ-setting">
656
                        [% IF ( exemptfine ) %]
673
                        [% IF ( exemptfine ) %]
657
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
674
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" checked="checked" />
658
                        [% ELSE %]
675
                        [% ELSE %]
659
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
676
                        <input type="checkbox" id="exemptcheck" name="exemptfine" value="exemptfine" />
660
                        [% END %]
677
                        [% END %]
661
                        <label for="exemptcheck">Forgive overdue charges</label>
678
                        <label for="exemptcheck">Forgive overdue charges</label>
662
                    </p>
679
                </div>
663
                    [% END %] <!-- overduecharges -->
680
            [% END %]
664
                    <p>
681
            <!-- overduecharges -->
682
            <div id="book-drop-mode" class="circ-setting">
665
                        [% IF ( dropboxmode ) %]
683
                        [% IF ( dropboxmode ) %]
666
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
684
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" checked="checked" />
667
                        [% ELSE %]
685
                        [% ELSE %]
668
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
686
                        <input type="checkbox" id="dropboxcheck" name="dropboxmode" value="dropboxmode" />
669
                        [% END %]
687
                        [% END %]
670
                        <label for="dropboxcheck">Book drop mode</label>
688
                        <label for="dropboxcheck">Book drop mode</label>
671
                    </p>
689
            </div>
672
                    [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
690
                    [% IF Koha.Preference('ExpireReservesMaxPickUpDelayCharge') %]
673
                    <p>
691
                <div id="forgive-manual-hold-fees" class="circ-setting">
674
                        [% IF ( forgivemanualholdsexpire ) %]
692
                        [% IF ( forgivemanualholdsexpire ) %]
675
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" />
693
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" checked="checked" />
676
                        [% ELSE %]
694
                        [% ELSE %]
677
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
695
                        <input type="checkbox" id="forgivemanualholdsexpire" name="forgivemanualholdsexpire" value="forgivemanualholdsexpire" />
678
                        [% END %]
696
                        [% END %]
679
                        <label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label>
697
                        <label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label>
680
                    </p>
681
                    [% END %] <!-- overduecharges -->
682
            </fieldset>
683
        </div>
684
    </form>
685
</div>
698
</div>
699
            [% END %]
700
            <!-- overduecharges -->
701
        </div> [%# /.circ-settings  %]
702
    </fieldset> [%# /#circ_returns_checkin %]
703
</form> [%# /#checkin-form  %]
686
704
687
[% IF ( riloop ) %]
705
[% IF ( riloop ) %]
688
    <h2>Checked-in items</h2>
706
    <h2>Checked-in items</h2>
Lines 738-752 Link Here
738
    </table>
756
    </table>
739
[% END %]
757
[% END %]
740
758
741
                    [% IF Koha.Preference('CircSidebar') %]
759
                [% IF Koha.Preference('CircSidebar') %]
742
                            </div> <!-- /.col-sm-10.col-sm-push-2 -->
760
                        </div> <!-- /.col-sm-10.col-sm-push-2 -->
743
                            <div class="col-sm-2 col-sm-pull-10">
761
                        <div class="col-sm-2 col-sm-pull-10">
744
                                <aside>
762
                            <aside>
745
                                    [% INCLUDE 'circ-nav.inc' %]
763
                                [% INCLUDE 'circ-nav.inc' %]
746
                                </aside>
764
                            </aside>
747
                            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
765
                        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
748
                        </div> <!-- /.row -->
766
                    </div> <!-- /.row -->
749
                    [% END %]
767
                [% ELSE %]
768
                        </div> <!-- /.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 -->
769
                    </div> <!-- /.row -->
770
                [% END %]
750
771
751
            </main>
772
            </main>
752
        </div> <!-- /.col-sm-12 -->
773
        </div> <!-- /.col-sm-12 -->
Lines 757-762 Link Here
757
    [% INCLUDE 'columns_settings.inc' %]
778
    [% INCLUDE 'columns_settings.inc' %]
758
    [% INCLUDE 'calendar.inc' %]
779
    [% INCLUDE 'calendar.inc' %]
759
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") | $raw %]
780
    [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") | $raw %]
781
    [% Asset.js("js/pages/circulation.js") | $raw %]
760
    [% INCLUDE 'timepicker.inc' %]
782
    [% INCLUDE 'timepicker.inc' %]
761
783
762
    <script>
784
    <script>
Lines 828-850 Link Here
828
850
829
            $("#exemptcheck").change(function () {
851
            $("#exemptcheck").change(function () {
830
                if (this.checked == true) {
852
                if (this.checked == true) {
831
                    $("#barcode").addClass("alert");
853
                    $("#barcode").addClass("input-warning");
832
                    $("#exemptfines").show();
854
                    $("#exemptfines").show();
833
                } else {
855
                } else {
834
                    $("#barcode").removeClass("alert");
856
                    $("#barcode").removeClass("input-warning");
835
                    $("#exemptfines").hide();
857
                    $("#exemptfines").hide();
836
                }
858
                }
837
                $("#barcode").focus();
859
                $("#barcode").focus();
838
            });
860
            });
839
            $("#dropboxcheck").change(function () {
861
            $("#dropboxcheck").change(function () {
840
                if (this.checked == true) {
862
                if (this.checked == true) {
841
                    $("#barcode").addClass("alert");
863
                    $("#barcode").addClass("input-warning");
842
                    $("#dropboxmode").show();
864
                    $("#dropboxmode").show();
843
865
844
                    $("#return_date_override_fields :input").prop('disabled', true);
866
                    $("#return_date_override_fields :input").prop('disabled', true);
845
                    $("#return_date_override").datetimepicker("disable");
867
                    $("#return_date_override").datetimepicker("disable");
846
                } else {
868
                } else {
847
                    $("#barcode").removeClass("alert");
869
                    $("#barcode").removeClass("input-warning");
848
                    $("#dropboxmode").hide();
870
                    $("#dropboxmode").hide();
849
871
850
                    $("#return_date_override_fields :input").prop('disabled', false);
872
                    $("#return_date_override_fields :input").prop('disabled', false);
Lines 854-863 Link Here
854
            });
876
            });
855
            $("#forgivemanualholdsexpire").change(function () {
877
            $("#forgivemanualholdsexpire").change(function () {
856
                if (this.checked == true) {
878
                if (this.checked == true) {
857
                    $("#barcode").addClass("alert");
879
                    $("#barcode").addClass("input-warning");
858
                    $("#forgivemanualholdsexpire-alert").show();
880
                    $("#forgivemanualholdsexpire-alert").show();
859
                } else {
881
                } else {
860
                    $("#barcode").removeClass("alert");
882
                    $("#barcode").removeClass("input-warning");
861
                    $("#forgivemanualholdsexpire-alert").hide();
883
                    $("#forgivemanualholdsexpire-alert").hide();
862
                }
884
                }
863
                $("#barcode").focus();
885
                $("#barcode").focus();
Lines 866-878 Link Here
866
            [% IF(overduecharges) %]
888
            [% IF(overduecharges) %]
867
                $("#barcode").focus(function () {
889
                $("#barcode").focus(function () {
868
                    if (($("#exemptcheck").prop("checked") == true) || ($("#dropboxcheck").prop("checked") == true)) {
890
                    if (($("#exemptcheck").prop("checked") == true) || ($("#dropboxcheck").prop("checked") == true)) {
869
                        $("#barcode").addClass("alert");
891
                        $("#barcode").addClass("input-warning");
870
                    } else {
892
                    } else {
871
                        $("#barcode").removeClass("alert");
893
                        $("#barcode").removeClass("input-warning");
872
                    }
894
                    }
873
                });
895
                });
874
                $("#barcode").blur(function () {
896
                $("#barcode").blur(function () {
875
                    $("#barcode").removeClass("alert");
897
                    $("#barcode").removeClass("input-warning");
876
                });
898
                });
877
            [% END %]
899
            [% END %]
878
900
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js (-15 / +15 lines)
Lines 54-79 $(document).ready(function() { Link Here
54
        return false;
54
        return false;
55
    });
55
    });
56
56
57
    var checkout_settings = $(".checkout-settings");
57
    var circ_settings = $(".circ-settings");
58
    var checkout_settings_icon = $(".checkout-settings-icon");
58
    var circ_settings_icon = $(".circ-settings-icon");
59
59
60
    // If any checkboxes in the checkout settings are selected, show the settings by default
60
    // If any checkboxes in the circ settings are selected, show the settings by default
61
    if ( $(".checkout-settings input:checked,#duedatespec[value!='']").length ) {
61
    if ( $(".circ-settings input:checked,#duedatespec[value!='']").length ) {
62
        checkout_settings.show();
62
        circ_settings.show();
63
        checkout_settings_icon.removeClass("fa-caret-right").addClass("fa-caret-down");
63
        circ_settings_icon.removeClass("fa-caret-right").addClass("fa-caret-down");
64
    } else {
64
    } else {
65
        checkout_settings.hide();
65
        circ_settings.hide();
66
        checkout_settings_icon.removeClass("fa-caret-down").addClass("fa-caret-right");
66
        circ_settings_icon.removeClass("fa-caret-down").addClass("fa-caret-right");
67
    }
67
    }
68
68
69
    $("#show-checkout-settings a").on("click",function(){
69
    $("#show-circ-settings a").on("click",function(e){
70
        if( checkout_settings.is(":hidden")){
70
        e.preventDefault();
71
            checkout_settings.show();
71
        if( circ_settings.is(":hidden")){
72
            checkout_settings_icon.removeClass("fa-caret-right").addClass("fa-caret-down");
72
            circ_settings.show();
73
            circ_settings_icon.removeClass("fa-caret-right").addClass("fa-caret-down");
73
        } else {
74
        } else {
74
            $("#barcode").focus();
75
            $("#barcode").focus();
75
            checkout_settings.hide();
76
            circ_settings.hide();
76
            checkout_settings_icon.removeClass("fa-caret-down").addClass("fa-caret-right");
77
            circ_settings_icon.removeClass("fa-caret-down").addClass("fa-caret-right");
77
        }
78
        }
78
    });
79
    });
79
80
80
- 

Return to bug 20959