export default {
setup() {
const { setConfirmationDialog, setMessage } = inject("mainStore")
const patron_to_html = $patron_to_html
const table = ref()
return {
table,
patron_to_html,
setConfirmationDialog,
setMessage,
}
render: function (data, type, row, meta) {
const { patron } = row
const importer = patron
? `<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=${patron.patron_id}">${patron.firstname} ${patron.surname}</a>`
? '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' +
patron.patron_id +
'">' +
$patron_to_html(patron) +
"</a>"
: this.$__("Cronjob")
return importer
},
-