Lines 14-20
Link Here
|
14 |
v-bind="tableOptions" |
14 |
v-bind="tableOptions" |
15 |
@edit="goToResourceEdit" |
15 |
@edit="goToResourceEdit" |
16 |
@delete="doResourceDelete" |
16 |
@delete="doResourceDelete" |
17 |
@select="doSelect" |
|
|
18 |
@receive="doReceive" |
17 |
@receive="doReceive" |
19 |
></KohaTable> |
18 |
></KohaTable> |
20 |
</div> |
19 |
</div> |
Lines 69-75
export default {
Link Here
|
69 |
searchTerm: null, |
68 |
searchTerm: null, |
70 |
tableOptions: { |
69 |
tableOptions: { |
71 |
columns: this.getTableColumns(), |
70 |
columns: this.getTableColumns(), |
72 |
options: { embed: "aliases,baskets,subscriptions+count" }, |
71 |
options: { |
|
|
72 |
embed: "aliases,baskets,subscriptions+count,invoices", |
73 |
}, |
73 |
url: () => this.tableURL(), |
74 |
url: () => this.tableURL(), |
74 |
add_filters: true, |
75 |
add_filters: true, |
75 |
filters_options: { |
76 |
filters_options: { |
Lines 93-99
export default {
Link Here
|
93 |
(!row.baskets || |
94 |
(!row.baskets || |
94 |
row.baskets.length === 0) && |
95 |
row.baskets.length === 0) && |
95 |
(!row.subscriptions_count || |
96 |
(!row.subscriptions_count || |
96 |
row.subscriptions_count === 0), |
97 |
row.subscriptions_count === 0) && |
|
|
98 |
(!row.invoices || |
99 |
row.invoices.length === 0), |
97 |
}, |
100 |
}, |
98 |
}, |
101 |
}, |
99 |
{ |
102 |
{ |
100 |
- |
|
|