Lines 5-16
Link Here
|
5 |
{{ $__("Package #%s").format(erm_package.package_id) }} |
5 |
{{ $__("Package #%s").format(erm_package.package_id) }} |
6 |
<span class="action_links"> |
6 |
<span class="action_links"> |
7 |
<router-link |
7 |
<router-link |
|
|
8 |
v-if="permissions.eholdings.write" |
8 |
:to="`/cgi-bin/koha/erm/eholdings/local/packages/edit/${erm_package.package_id}`" |
9 |
:to="`/cgi-bin/koha/erm/eholdings/local/packages/edit/${erm_package.package_id}`" |
9 |
:title="$__('Edit')" |
10 |
:title="$__('Edit')" |
10 |
><i class="fa fa-pencil"></i |
11 |
><i class="fa fa-pencil"></i |
11 |
></router-link> |
12 |
></router-link> |
12 |
|
13 |
|
13 |
<router-link |
14 |
<router-link |
|
|
15 |
v-if="permissions.eholdings.write" |
14 |
:to="`/cgi-bin/koha/erm/eholdings/local/packages/delete/${erm_package.package_id}`" |
16 |
:to="`/cgi-bin/koha/erm/eholdings/local/packages/delete/${erm_package.package_id}`" |
15 |
:title="$__('Delete')" |
17 |
:title="$__('Delete')" |
16 |
><i class="fa fa-trash"></i |
18 |
><i class="fa fa-trash"></i |
Lines 118-123
export default {
Link Here
|
118 |
return { |
120 |
return { |
119 |
format_date, |
121 |
format_date, |
120 |
get_lib_from_av, |
122 |
get_lib_from_av, |
|
|
123 |
permissions, |
121 |
} |
124 |
} |
122 |
}, |
125 |
}, |
123 |
data() { |
126 |
data() { |