Skip to content

Commit

Permalink
Merge pull request #1917 from nicolas-eoxia/fix_a_style_ipc
Browse files Browse the repository at this point in the history
#1915 [PublicInterface] fix: a style wrong color
  • Loading branch information
nicolas-eoxia authored Nov 6, 2024
2 parents 2bda35a + c997f9c commit b6b1e08
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions public/control/public_control_history.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,14 @@
$arraySelected = '&categories[]=' . implode('&categories[]=', array_column($cats, 'id'));
}
$moreParams = '&fk_sheet=' . $object->fk_sheet . '&fk_user_controller=' . $object->fk_user_controller . '&projectid=' . $object->projectid . $arraySelected . '&' . $linkedObjectsData['post_name'] . '=' . $objectId;
print '<a class="wpeo-button marginleftonly" href="' . dol_buildpath('custom/digiquali/view/control/control_card.php?action=create' . $moreParams, 1). '" target="_blank">';
print '<i class="fas fa-plus pictofixedwidth"></i>' . $langs->trans('New' . ucfirst($object->element)) . '</a>';
print '<a href="' . dol_buildpath('custom/digiquali/view/control/control_card.php?action=create' . $moreParams, 1). '" target="_blank">';
print '<div class="wpeo-button marginleftonly"><i class="fas fa-plus pictofixedwidth"></i>' . $langs->trans('New' . ucfirst($object->element)) . '</div>';
print '</a>';
}
}
if (isModEnabled('dolicar') && $objectType == 'productlot') {
print '<a class="wpeo-button marginleftonly" href="' . dol_buildpath('custom/dolicar/public/agenda/public_vehicle_logbook.php?id=' . $objectId . '&entity=' . $entity . '&backtopage=' . urlencode($_SERVER['REQUEST_URI']), 1). '">';
print $langs->trans('PublicVehicleLogBook');
print '<a href="' . dol_buildpath('custom/dolicar/public/agenda/public_vehicle_logbook.php?id=' . $objectId . '&entity=' . $entity . '&backtopage=' . urlencode($_SERVER['REQUEST_URI']), 1). '">';
print '<div class="wpeo-button marginleftonly">' . $langs->trans('PublicVehicleLogBook') . '</div>';
print '</a>';
}
print '</div>';
Expand Down

0 comments on commit b6b1e08

Please sign in to comment.