Commit d1fa257e authored by Florian Joriot's avatar Florian Joriot
Browse files

Merge remote-tracking branch 'origin/master'

parents e867463b 8d1c33c2
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4,3 +4,11 @@
 * @var $this       \Application\View\Renderer\PhpRenderer
 * @var $container  \Psr\Container\ContainerInterface
 */

//select * from v_tbl_paiement where intervenant_id = 826844 AND service_referentiel_id = 21673

$stbl = $container->get(\UnicaenTbl\Service\TableauBordService::class);

$data = ['INTERVENANT_ID' => 826844];

$stbl->calculer('paiement', $data);
 No newline at end of file
+25 −26
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
        "This file is @generated automatically"
    ],
    "content-hash": "00ff9bc298c69f77e92b5892881a7db4",
    "content-hash": "b1dec40219b9284fb87959cb1656f00e",
    "packages": [
        {
            "name": "apereo/phpcas",
@@ -2660,16 +2660,16 @@
        },
        {
            "name": "laminas/laminas-escaper",
            "version": "2.15.0",
            "version": "2.16.0",
            "source": {
                "type": "git",
                "url": "https://github.com/laminas/laminas-escaper.git",
                "reference": "c612b0488ae486284c39885efca494c180f16351"
                "reference": "9cf1f5317ca65b4fd5c6a3c2855e24a187b288c8"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/c612b0488ae486284c39885efca494c180f16351",
                "reference": "c612b0488ae486284c39885efca494c180f16351",
                "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/9cf1f5317ca65b4fd5c6a3c2855e24a187b288c8",
                "reference": "9cf1f5317ca65b4fd5c6a3c2855e24a187b288c8",
                "shasum": ""
            },
            "require": {
@@ -2681,12 +2681,11 @@
                "zendframework/zend-escaper": "*"
            },
            "require-dev": {
                "infection/infection": "^0.27.11",
                "infection/infection": "^0.29.8",
                "laminas/laminas-coding-standard": "~3.0.1",
                "maglnet/composer-require-checker": "^3.8.0",
                "phpunit/phpunit": "^9.6.22",
                "psalm/plugin-phpunit": "^0.19.0",
                "vimeo/psalm": "^5.26.1"
                "phpunit/phpunit": "^10.5.45",
                "psalm/plugin-phpunit": "^0.19.2",
                "vimeo/psalm": "^6.6.2"
            },
            "type": "library",
            "autoload": {
@@ -2718,7 +2717,7 @@
                    "type": "community_bridge"
                }
            ],
            "time": "2024-12-17T19:39:54+00:00"
            "time": "2025-02-17T12:40:19+00:00"
        },
        {
            "name": "laminas/laminas-eventmanager",
@@ -5183,16 +5182,16 @@
        },
        {
            "name": "myclabs/deep-copy",
            "version": "1.12.1",
            "version": "1.13.0",
            "source": {
                "type": "git",
                "url": "https://github.com/myclabs/DeepCopy.git",
                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
                "reference": "024473a478be9df5fdaca2c793f2232fe788e414"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414",
                "reference": "024473a478be9df5fdaca2c793f2232fe788e414",
                "shasum": ""
            },
            "require": {
@@ -5231,7 +5230,7 @@
            ],
            "support": {
                "issues": "https://github.com/myclabs/DeepCopy/issues",
                "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
                "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0"
            },
            "funding": [
                {
@@ -5239,7 +5238,7 @@
                    "type": "tidelift"
                }
            ],
            "time": "2024-11-08T17:47:46+00:00"
            "time": "2025-02-12T12:17:51+00:00"
        },
        {
            "name": "nikic/php-parser",
@@ -7865,11 +7864,11 @@
        },
        {
            "name": "unicaen/vue",
            "version": "6.3.1",
            "version": "6.3.2",
            "source": {
                "type": "git",
                "url": "https://git.unicaen.fr/lib/unicaen/vue.git",
                "reference": "711faf702e40cf43c7dfbe44671ae25ab31a7d64"
                "reference": "2b7dc7c451203cb6e7b476fb18df39414f464ca1"
            },
            "type": "library",
            "autoload": {
@@ -7881,7 +7880,7 @@
                ]
            },
            "description": "Module pour utiliser Vue.js",
            "time": "2025-01-22T09:35:03+00:00"
            "time": "2025-02-17T14:08:11+00:00"
        },
        {
            "name": "unicaen/zfc-user",
@@ -9068,16 +9067,16 @@
        },
        {
            "name": "phpstan/phpdoc-parser",
            "version": "2.0.0",
            "version": "2.0.2",
            "source": {
                "type": "git",
                "url": "https://github.com/phpstan/phpdoc-parser.git",
                "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299"
                "reference": "51087f87dcce2663e1fed4dfd4e56eccd580297e"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299",
                "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299",
                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51087f87dcce2663e1fed4dfd4e56eccd580297e",
                "reference": "51087f87dcce2663e1fed4dfd4e56eccd580297e",
                "shasum": ""
            },
            "require": {
@@ -9109,9 +9108,9 @@
            "description": "PHPDoc parser with support for nullable, intersection and generic types",
            "support": {
                "issues": "https://github.com/phpstan/phpdoc-parser/issues",
                "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.0"
                "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.2"
            },
            "time": "2024-10-13T11:29:49+00:00"
            "time": "2025-02-17T20:25:51+00:00"
        },
        {
            "name": "phpunit/php-code-coverage",
+5 −2
Original line number Diff line number Diff line
@@ -36,7 +36,8 @@ SELECT
	'1' 															                                  code_origine,
	i.id 																                                intervenant_id,
	i.nom_usuel || ',' || i.prenom 										                  nom,
	t.prime_id 															                            prime_id
	t.prime_id 															                            prime_id,
	t.date_declaration                                                  date_declaration
FROM
	(
	SELECT
@@ -50,7 +51,8 @@ FROM
		SUM(hpm.total_paie) 					        paie_mission,
		SUM(hpm.total_heures_a_payer) 		  	total_heures_a_payer,
		SUM(hpm.total_heures_payees) 			    total_heures_payees,
		SUM(round(hpm.total_paie * 0.1, 2)) 	montant_prime
		SUM(round(hpm.total_paie * 0.1, 2)) 	montant_prime,
  	MAX(f.histo_creation)                 date_declaration
	FROM
		mission_prime mp
	JOIN mission m ON
@@ -68,6 +70,7 @@ FROM
	JOIN periode p ON
		p.ecart_mois = ROUND(MONTHS_BETWEEN(m.date_fin, a.date_debut)+ 0.5)
			AND p.enseignement = 0
  JOIN fichier f ON f.id = mp.declaration_id and f.histo_destruction IS NULL
		WHERE
			--Il faut impérativement une prime validée
			mp.declaration_id IS NOT NULL
+2 −1
Original line number Diff line number Diff line
@@ -115,7 +115,8 @@ SELECT

  0                                 heures,
  vhr.heures                        heures_ref,
  0                                 heures_non_payees,
  CASE WHEN mnp.id IS NOT NULL
  THEN 1 ELSE 0 END                 heures_non_payees,
  mnp.libelle_court                 motif_non_paiement,
  t.libelle_court                   tag,
  0                                 service_fi,
+2 −2
Original line number Diff line number Diff line
@@ -192,8 +192,8 @@ SELECT
  CASE WHEN si.mode_enseignement_realise = 'semestriel' THEN 1 ELSE 0 END calcul_semestriel,
  mep.id                                      a_payer_id,
  i.annee_id                                  annee_id,
  sr.id                                       service_id,
  NULL                                        service_referentiel_id,
  NULL                                        service_id,
  sr.id                                       service_referentiel_id,
  NULL                                        mission_id,
  NULL                                        volume_horaire_id,
  si.type_intervenant_id                      type_intervenant_id,
Loading