card.php 1 location
|
@@ 493-495 (lines=3) @@
|
490 |
|
print '<div class="inline-block divButAction"><a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=delete">' . $langs->trans('Delete') . '</a></div>' . "\n"; |
491 |
|
} |
492 |
|
|
493 |
|
if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ |
494 |
|
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"; |
495 |
|
} |
496 |
|
|
497 |
|
print '</div>' . "\n"; |
498 |
|
|
card_tab_financial.php 1 location
|
@@ 110-112 (lines=3) @@
|
107 |
|
// Buttons |
108 |
|
print '<div class="tabsAction">' . "\n"; |
109 |
|
|
110 |
|
if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ |
111 |
|
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"; |
112 |
|
} |
113 |
|
|
114 |
|
print '</div>' . "\n"; |
115 |
|
|