Loading data/ddl/table/TBL_CONTRAT.php −24 Changes for data/ddl/table/TBL_CONTRAT.php: 0 added lines, 24 removed lines. Original line number Diff line number Diff line Loading @@ -417,30 +417,6 @@ return [ 'position' => 40, 'commentaire' => NULL, ], 'TOTAL_HEURES_PAYEES' => [ 'name' => 'TOTAL_HEURES_PAYEES', 'type' => 'float', 'bdd-type' => 'FLOAT', 'length' => 0, 'scale' => NULL, 'precision' => 126, 'nullable' => FALSE, 'default' => '0', 'position' => 43, 'commentaire' => NULL, ], 'TOTAL_HEURES_PERIODE_ESSAI' => [ 'name' => 'TOTAL_HEURES_PERIODE_ESSAI', 'type' => 'float', 'bdd-type' => 'FLOAT', 'length' => 0, 'scale' => NULL, 'precision' => 126, 'nullable' => FALSE, 'default' => '0', 'position' => 39, 'commentaire' => NULL, ], 'TP' => [ 'name' => 'TP', 'type' => 'float', Loading data/ddl_columns_pos.php −2 Changes for data/ddl_columns_pos.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -1526,11 +1526,9 @@ return [ 'TAUX_REMU_MAJORE_DATE', 'TOTAL_HETD', 'TOTAL_HEURES', 'TOTAL_HEURES_PERIODE_ESSAI', 'TOTAL_HEURES_FORMATION', 'VOLUME_HORAIRE_INDEX', 'TOTAL_GLOBAL_HETD', 'TOTAL_HEURES_PAYEES', 'AUTRES_LIBELLES', ], 'TBL_DMEP_LIQUIDATION' => [ Loading module/Contrat/src/Tbl/Process/ContratProcess.php −4 Changes for module/Contrat/src/Tbl/Process/ContratProcess.php: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -697,10 +697,6 @@ class ContratProcess implements ProcessInterface } $contrat->totalHeures = $totalHeures; if ($contrat->parent == null) { //total d'heure du contrat divisé par 10, n'est valable que sur les contrats et pas les avenants $contrat->totalHeuresPeriodeEssai = $totalHeures / 10; } } Loading module/Contrat/src/Tbl/Process/Model/Contrat.php −1 Changes for module/Contrat/src/Tbl/Process/Model/Contrat.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,6 @@ class Contrat /** @var VolumeHoraire[] */ public array $volumesHoraires = []; public float $totalHeures = 0.0; public ?float $totalHeuresPeriodeEssai = null; Loading tests/TblContrat/CalculTotalHeuresTest.php −8 Changes for tests/TblContrat/CalculTotalHeuresTest.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -48,11 +48,7 @@ final class CalculTotalHeuresTest extends TblContratTestCase $this->process->calculTotalHeures($contrat2); self::assertEquals(50.0, $contrat1->totalHeures); self::assertEquals(5.0, $contrat1->totalHeuresPeriodeEssai); self::assertEquals(30.0, $contrat2->totalHeures); self::assertEquals(0.0, $contrat2->totalHeuresPeriodeEssai); } Loading Loading @@ -100,11 +96,7 @@ final class CalculTotalHeuresTest extends TblContratTestCase $this->process->calculTotalHeures($contrat2); self::assertEquals(40.0, $contrat1->totalHeures); self::assertEquals(4.0, $contrat1->totalHeuresPeriodeEssai); self::assertEquals(30.0, $contrat2->totalHeures); self::assertEquals(0.0, $contrat2->totalHeuresPeriodeEssai); } } Loading
data/ddl/table/TBL_CONTRAT.php −24 Changes for data/ddl/table/TBL_CONTRAT.php: 0 added lines, 24 removed lines. Original line number Diff line number Diff line Loading @@ -417,30 +417,6 @@ return [ 'position' => 40, 'commentaire' => NULL, ], 'TOTAL_HEURES_PAYEES' => [ 'name' => 'TOTAL_HEURES_PAYEES', 'type' => 'float', 'bdd-type' => 'FLOAT', 'length' => 0, 'scale' => NULL, 'precision' => 126, 'nullable' => FALSE, 'default' => '0', 'position' => 43, 'commentaire' => NULL, ], 'TOTAL_HEURES_PERIODE_ESSAI' => [ 'name' => 'TOTAL_HEURES_PERIODE_ESSAI', 'type' => 'float', 'bdd-type' => 'FLOAT', 'length' => 0, 'scale' => NULL, 'precision' => 126, 'nullable' => FALSE, 'default' => '0', 'position' => 39, 'commentaire' => NULL, ], 'TP' => [ 'name' => 'TP', 'type' => 'float', Loading
data/ddl_columns_pos.php −2 Changes for data/ddl_columns_pos.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -1526,11 +1526,9 @@ return [ 'TAUX_REMU_MAJORE_DATE', 'TOTAL_HETD', 'TOTAL_HEURES', 'TOTAL_HEURES_PERIODE_ESSAI', 'TOTAL_HEURES_FORMATION', 'VOLUME_HORAIRE_INDEX', 'TOTAL_GLOBAL_HETD', 'TOTAL_HEURES_PAYEES', 'AUTRES_LIBELLES', ], 'TBL_DMEP_LIQUIDATION' => [ Loading
module/Contrat/src/Tbl/Process/ContratProcess.php −4 Changes for module/Contrat/src/Tbl/Process/ContratProcess.php: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -697,10 +697,6 @@ class ContratProcess implements ProcessInterface } $contrat->totalHeures = $totalHeures; if ($contrat->parent == null) { //total d'heure du contrat divisé par 10, n'est valable que sur les contrats et pas les avenants $contrat->totalHeuresPeriodeEssai = $totalHeures / 10; } } Loading
module/Contrat/src/Tbl/Process/Model/Contrat.php −1 Changes for module/Contrat/src/Tbl/Process/Model/Contrat.php: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,6 @@ class Contrat /** @var VolumeHoraire[] */ public array $volumesHoraires = []; public float $totalHeures = 0.0; public ?float $totalHeuresPeriodeEssai = null; Loading
tests/TblContrat/CalculTotalHeuresTest.php −8 Changes for tests/TblContrat/CalculTotalHeuresTest.php: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -48,11 +48,7 @@ final class CalculTotalHeuresTest extends TblContratTestCase $this->process->calculTotalHeures($contrat2); self::assertEquals(50.0, $contrat1->totalHeures); self::assertEquals(5.0, $contrat1->totalHeuresPeriodeEssai); self::assertEquals(30.0, $contrat2->totalHeures); self::assertEquals(0.0, $contrat2->totalHeuresPeriodeEssai); } Loading Loading @@ -100,11 +96,7 @@ final class CalculTotalHeuresTest extends TblContratTestCase $this->process->calculTotalHeures($contrat2); self::assertEquals(40.0, $contrat1->totalHeures); self::assertEquals(4.0, $contrat1->totalHeuresPeriodeEssai); self::assertEquals(30.0, $contrat2->totalHeures); self::assertEquals(0.0, $contrat2->totalHeuresPeriodeEssai); } }