New add drag & drop on some cards

This commit is contained in:
Hystepik
2024-12-09 11:08:49 +01:00
parent 8ca831ff88
commit 4553ba1f81
3 changed files with 3 additions and 3 deletions

View File

@@ -2507,7 +2507,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
$titre = $langs->trans("CardProduct".$object->type);
$picto = ($object->type == Product::TYPE_SERVICE ? 'service' : 'product');
print dol_get_fiche_head($head, 'card', $titre, -1, $picto);
print dol_get_fiche_head($head, 'card', $titre, -1, $picto, 0, '', '', 0, '', 1);
$linkback = '<a href="'.DOL_URL_ROOT.'/product/list.php?restore_lastsearch_values=1&type='.$object->type.'">'.$langs->trans("BackToList").'</a>';
$object->next_prev_filter = "fk_product_type:=:".((int) $object->type);

View File

@@ -912,7 +912,7 @@ if ($action == 'create' || $action == 'presend') {
$head = ticket_prepare_head($object);
print dol_get_fiche_head($head, 'tabTicket', $langs->trans("Ticket"), -1, 'ticket');
print dol_get_fiche_head($head, 'tabTicket', $langs->trans("Ticket"), -1, 'ticket', 0, '', '', 0, '', 1);
$morehtmlref = '<div class="refidno">';

View File

@@ -1642,7 +1642,7 @@ if ($action == 'create' || $action == 'adduserldap') {
* View mode
*/
if ($action != 'edit') {
print dol_get_fiche_head($head, 'user', $title, -1, 'user');
print dol_get_fiche_head($head, 'user', $title, -1, 'user', 0, '', '', 0, '', 1);
$morehtmlref = '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'&output=file&file='.urlencode(dol_sanitizeFileName($object->getFullName($langs).'.vcf')).'" class="refid valignmiddle" rel="noopener">';
$morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard").' ('.$langs->trans("AddToContacts").')', 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"');