]> _ Git - fluidbook-toolbox.git/commitdiff
#7414
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 26 Mar 2025 10:27:35 +0000 (11:27 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 26 Mar 2025 10:27:35 +0000 (11:27 +0100)
app/Http/Controllers/Admin/TeamPayController.php

index 2687240b9e3f990345e2e3cab73732a6dd992817..70411863e3a2edcfcdfb0d93992208bbb6a77d0b 100644 (file)
@@ -34,8 +34,6 @@ class TeamPayController extends Controller
 
     protected function getSlips($id = null)
     {
-
-
         $res = [];
         if (null === $id) {
             if (can('team-pay:admin')) {
@@ -57,7 +55,7 @@ class TeamPayController extends Controller
         foreach ($iterator as $item) {
             /** @var $item \SplFileInfo */
             $n = $item->getFilename();
-            if ($item->getExtension() === 'pdf' && ($id === 'all' || str_starts_with($n, $id))) {
+            if (mb_strtolower($item->getExtension()) === 'pdf' && ($id === 'all' || str_starts_with($n, $id))) {
                 $year = substr($n, 4, 4);
                 $month = substr($n, 8, 2);
                 $oxygene = substr($n, 0, 3);