Commit 0f2ad1aa authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

FIX : Erreur d'affichage des totaux lors du récap

parent 9eb14198
Loading
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -930,7 +930,7 @@
                            hl[code].days[d] = 0.0;

                        hl[code].days[d] += dec.duration;
                        hl[code].total += dec.duration;
                        //hl[code].total += dec.duration;
                    });
                });

@@ -1066,12 +1066,9 @@

        methods: {
            handledEditComment(type, data){
                console.log("MODIFICATION COMMENTAIRE ", type, data);

                this.commentEditedLabel = data.label;
                this.commentEdited = data;
                this.commentEditedContent = data.comment;

            },

            handlerSendComment(){
@@ -1094,8 +1091,6 @@
                    formData.append('code', code);
                    formData.append('content', this.commentEditedContent);

                    console.log("Envoi du commentaire");

                    this.$http.post('', formData).then(
                        ok => {
                            this.fetch();
@@ -1222,11 +1217,9 @@
                this.loading = true;
                this.$http.get(this.urlValidation +'?year=' + this.ts.year + '&month=' + this.ts.month).then(
                    ok => {
                        console.log("OK");
                        this.sendMonth(action);
                    },
                    ko => {
                        console.log(ko);
                        this.error = ko.body;
                    }
                ).then(foo => {
+3 −10

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.