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

<script>
    export default {

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

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