                        '<td>' +
                                        '<span class="rc-badge ' + (device.status === 'free' ? 'rc-badge-success' : device.status === 'rented' ? 'rc-badge-warning' : 'rc-badge-secondary') + '">' +
                                            (device.status || 'Unknown') +
                                        '</span>' +
                                    '</td>' +
                                    '<td>' +
                                        '<button onclick="remove