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
                
                
                    
                                                
                                                    
                                |  | @@ 370-372 (lines=3) @@ | 
                                                            
                                    | 367 |  |         print '<div class="inline-block divButAction"><a class="butActionDelete" href="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=delete">' . $langs->trans('Delete') . '</a></div>' . "\n"; | 
                                                            
                                    | 368 |  |     } | 
                                                            
                                    | 369 |  |  | 
                                                            
                                    | 370 |  |     if($user->rights->flightlog->vol->financial && $object->fk_type == 2 && !$object->hasFacture()){ | 
                                                            
                                    | 371 |  |         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"; | 
                                                            
                                    | 372 |  |     } | 
                                                            
                                    | 373 |  |  | 
                                                            
                                    | 374 |  |     print '</div>' . "\n"; | 
                                                            
                                    | 375 |  |  |