<template>
    <v-chip 
        small 
        outlined
        :class="{
            clickable : true,
        }"
        @click="ShowCustomersWorkForm"
    >
        {{ customercurs.participants_count }}
    </v-chip>
</template>

<script>
    export default {

        props: {
            customercurs: {required: true},
            app: {required: true},
        },

        methods: {
            ShowCustomersWorkForm(e) {
                this.app.classes.Cursuri.cursparticipantsmenu.x = e.clientX;
                this.app.classes.Cursuri.cursparticipantsmenu.y = e.clientY;
                this.app.classes.Cursuri.cursparticipantsmenu.customercurs = this.customercurs;
                this.app.classes.Cursuri.cursparticipantsmenu.visible = true;
            }
        },
       
        name: 'CustomerCursParticipants',
    }
</script>