Update booking_extrafields.php (#25556)

delete Buttons part
This commit is contained in:
UT from dolibit 2023-08-02 19:20:37 +02:00 committed by GitHub
parent f0dbc21956
commit abfdb0a853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,9 +21,9 @@
*/
/**
* \file admin/booking_extrafields.php
* \ingroup bookcal
* \brief Page to setup extra fields of booking
* \file htdocs/bookcal/admin/booking_extrafields.php
* \ingroup bookcal
* \brief Page to setup extra fields of booking
*/
// Load Dolibarr environment
@ -87,13 +87,6 @@ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
print dol_get_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit') {
print '<div class="tabsAction">';
print '<a class="butAction reposition" href="'.$_SERVER["PHP_SELF"].'?action=create">'.$langs->trans("NewAttribute").'</a>';
print "</div>";
}
/*
* Creation of an optional field