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