card_tab_financial.php 1 location
|
@@ 114-116 (lines=3) @@
|
111 |
|
// Buttons |
112 |
|
print '<div class="tabsAction">' . "\n"; |
113 |
|
|
114 |
|
if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ |
115 |
|
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/flightlog/facture.php?id=' . $object->id.'">' . $langs->trans("Facturer") . '</a></div>' . "\n"; |
116 |
|
} |
117 |
|
|
118 |
|
print '</div>' . "\n"; |
119 |
|
|
card.php 1 location
|
@@ 392-394 (lines=3) @@
|
389 |
|
print '<div class="inline-block divButAction"><a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=delete">' . $langs->trans('Delete') . '</a></div>' . "\n"; |
390 |
|
} |
391 |
|
|
392 |
|
if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ |
393 |
|
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/flightlog/facture.php?id=' . $object->id.'">' . $langs->trans("Facturer") . '</a></div>' . "\n"; |
394 |
|
} |
395 |
|
?> |
396 |
|
|
397 |
|
<?php if($user->rights->flightlog->vol->financial && !$object->isBilled() ): ?> |