feat: creation form and database storage

This commit is contained in:
yannis
2025-06-26 10:57:52 +02:00
parent 526de3276a
commit 7e163656ea
2 changed files with 571 additions and 500 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -162,7 +162,7 @@ $massactionbutton = $form->selectMassAction('', $arrayofmassactions);
$morehtmlright = '';
//if (!empty($moreoptions['showhideaddbutton']) && $conf->use_javascript_ajax) {
$tmpurlforbutton = DOL_URL_ROOT.'/user/api_token/list.php?id='.$id.'&action=create';
$tmpurlforbutton = DOL_URL_ROOT.'/user/api_token/card.php?id='.$id.'&action=create';
// TODO Permissions ? $morehtmlright .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', $tmpurlforbutton, '', $permtoeditline);
$morehtmlright .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', $tmpurlforbutton);
//}