Koha/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsToolbar.vue
Jonathan Druart e5042cc5c1
Bug 32030: ERM - Vue version
First, `yarn install`.
Then use `yarn build_js` or `yarn watch_js` to regenerate the dist/main.js file

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-08 09:43:38 -03:00

15 lines
311 B
Vue

<template>
<b-button
@click="$emit('switch-view', 'add-form')"
id="new_agreement"
variant="default"
><font-awesome-icon icon="plus" /> New agreement</b-button
>
</template>
<script>
export default {
name: "AgreementsToolbar",
emits: ['switch-view'],
}
</script>