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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorBaskets.vue (-4 / +4 lines)
Lines 117-127 export default { Link Here
117
                    searchable: true,
117
                    searchable: true,
118
                    orderable: true,
118
                    orderable: true,
119
                    render(data, type, row, meta) {
119
                    render(data, type, row, meta) {
120
                        const name = row.name ? row.name : __("Unnamed basket")
120
                        return (
121
                        return (
121
                            '<a href="/cgi-bin/koha/acqui/basket.pl?basketno=' +
122
                            '<a href="/cgi-bin/koha/acqui/basket.pl?basketno=' +
122
                            row.basket_id +
123
                            row.basket_id +
123
                            '" class="show">' +
124
                            '" class="show">' +
124
                            escape_str(`${row.name} (#${row.basket_id})`) +
125
                            escape_str(`${name} (#${row.basket_id})`) +
125
                            "</a>"
126
                            "</a>"
126
                        )
127
                        )
127
                    },
128
                    },
Lines 139-145 export default { Link Here
139
                        ).length
140
                        ).length
140
                        if (cancelledOrders) {
141
                        if (cancelledOrders) {
141
                            count +=
142
                            count +=
142
                                " (" + cancelledOrders + _(" cancelled") + ")"
143
                                " (" + cancelledOrders + __(" cancelled") + ")"
143
                        }
144
                        }
144
                        return count
145
                        return count
145
                    },
146
                    },
Lines 176-182 export default { Link Here
176
                            count +=
177
                            count +=
177
                                " (" +
178
                                " (" +
178
                                recordCount.cancelledBibs.length +
179
                                recordCount.cancelledBibs.length +
179
                                _(" cancelled") +
180
                                __(" cancelled") +
180
                                ")"
181
                                ")"
181
                        }
182
                        }
182
                        return count
183
                        return count
183
- 

Return to bug 38010