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

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +3 lines)
Lines 588-595 $(document).ready(function() { Link Here
588
588
589
                        if ( oObj.return_claim_id ) {
589
                        if ( oObj.return_claim_id ) {
590
                          content = '<span class="badge">' + oObj.return_claim_created_on_formatted + '</span>';
590
                          content = '<span class="badge">' + oObj.return_claim_created_on_formatted + '</span>';
591
                        } else {
591
                        } else if ( ClaimReturnedLostValue ) {
592
                          content = '<a class="btn btn-default btn-xs claim-returned-btn" data-itemnumber="' + oObj.itemnumber + '"><i class="fa fa-exclamation-circle"></i> ' + __("Claim returned") + '</a>';
592
                          content = '<a class="btn btn-default btn-xs claim-returned-btn" data-itemnumber="' + oObj.itemnumber + '"><i class="fa fa-exclamation-circle"></i> ' + __("Claim returned") + '</a>';
593
                        } else {
594
                          content = '<a class="btn btn-default btn-xs" disabled="disabled" title="Claim returned is disabled"><i class="fa fa-exclamation-circle"></i> ' + __("Claim returned") + '</a>';
593
                        }
595
                        }
594
                        return content;
596
                        return content;
595
                    }
597
                    }
596
- 

Return to bug 25583