@@ -48,7 +48,7 @@ |
||
| 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 | } |
@@ -90,7 +90,7 @@ |
||
| 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 | ?> |
@@ -22,9 +22,12 @@ |
||
| 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()): ?> |