|
Lines 82-92
Link Here
|
| 82 |
|
82 |
|
| 83 |
id = "#return_claim_spinner_" + data.item_id; |
83 |
id = "#return_claim_spinner_" + data.item_id; |
| 84 |
|
84 |
|
| 85 |
let formated_date = $datetime(data.created_on); |
85 |
let formatted_date = $datetime(data.created_on); |
| 86 |
|
86 |
|
| 87 |
let content = ""; |
87 |
let content = ""; |
| 88 |
if ( data.claim_id ) { |
88 |
if ( data.claim_id ) { |
| 89 |
content = '<span class="badge">' + formated_date + '</span>'; |
89 |
content = '<span class="badge">' + formatted_date + '</span>'; |
| 90 |
$(id).parent().parent().addClass('ok'); |
90 |
$(id).parent().parent().addClass('ok'); |
| 91 |
} else { |
91 |
} else { |
| 92 |
content = _("Unable to claim as returned"); |
92 |
content = _("Unable to claim as returned"); |
| 93 |
- |
|
|