Commit 5bc191e1 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix : Accès au modèle de feuille de temps (non-utilisé pour le moment)

parent d85b9705
Loading
Loading
Loading
Loading
+3 −1
Changes for module/Oscar/src/Oscar/Controller/TimesheetController.php: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ class TimesheetController extends AbstractOscarController



        $modele = $this->getConfiguration('oscar.paths.timesheet_synthesis_modele');


        $output = [
            'activityId' => $activity_id,
@@ -611,6 +611,8 @@ class TimesheetController extends AbstractOscarController

        if( $format == "excel" ){

            $modele = $this->getConfiguration('oscar.paths.timesheet_synthesis_modele');

            $cellDays = ['C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U', 'V', 'W','X','Y','Z','AA', 'AB', 'AC', 'AD', 'AE','AF','AG'];
            $lineWpFormula = '=SUM(C%s:AG%s)';
            $rowWpFormula = '=SUM(%s10:%s%s)';