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 |
- |
|
|