@@ -338,9 +338,12 @@ |
||
338 | 338 | |
339 | 339 | <?php if (!$flightProduct) : ?> |
340 | 340 | <a class="butActionRefused" href="#">Générer</a> |
341 | - <?php else: ?> |
|
341 | + <?php else { |
|
342 | + : ?> |
|
342 | 343 | <button class="butAction" type="submit">Générer</button> |
343 | - <?php endif; ?> |
|
344 | + <?php endif; |
|
345 | +} |
|
346 | +?> |
|
344 | 347 | |
345 | 348 | <a class="butAction" href="<?php echo DOL_URL_ROOT . '/flightlog/card.php?id=' . $flight->id; ?>">Retour au |
346 | 349 | vol</a> |