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 |
|
|
card.php 1 location
|
@@ 497-499 (lines=3) @@
|
| 494 |
|
print '<div class="inline-block divButAction"><a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=delete">' . $langs->trans('Delete') . '</a></div>' . "\n"; |
| 495 |
|
} |
| 496 |
|
|
| 497 |
|
if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ |
| 498 |
|
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"; |
| 499 |
|
} |
| 500 |
|
|
| 501 |
|
print '</div>' . "\n"; |
| 502 |
|
|