Completed
Push — feature/fixing_cost ( 2c76a0...f58af6 )
by Laurent
01:38
created
Http/Web/Controller/AddFlightDamageController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
             try{
50 50
                 $this->handle($form->getObject());
51
-            }catch(\Exception $e){
51
+            } catch(\Exception $e){
52 52
                 print $e->getMessage();
53 53
                 dol_syslog($e->getMessage(), LOG_ERR);
54 54
             }
Please login to merge, or discard this patch.
card_tab_damage.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $actionName = $routes[$action][1];
91 91
 
92 92
         call_user_func([new $controllerName($db), $actionName]);
93
-    }else{
93
+    } else{
94 94
         echo 'Route non trouvée.';
95 95
     }
96 96
 ?>
Please login to merge, or discard this patch.
Http/Web/templates/flight_damage/view.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,12 @@
 block discarded – undo
22 22
             <td>
23 23
                 <?php if($currentDamage->isInvoiced()): ?>
24 24
                     <i class="fas fa-check"></i>
25
-                <?php else: ?>
25
+                <?php else {
26
+    : ?>
26 27
                     <i class="fas fa-times"></i>
27
-                <?php endif; ?>
28
+                <?php endif;
29
+}
30
+?>
28 31
             </td>
29 32
             <td>
30 33
                 <?php if(!$currentDamage->isInvoiced()): ?>
Please login to merge, or discard this patch.