Review of module asset (#33847)

* Fixed Asset - Update translation of the module

* Fix asset create name

* Fix ref field

* Update module Asset

* Fix CI

* Fix CI

* Fix comment
This commit is contained in:
Alexandre SPANGARO
2025-04-15 17:21:45 +02:00
committed by GitHub
parent f0bd86c8a4
commit ab0ce1d645
10 changed files with 276 additions and 48 deletions

View File

@@ -1,7 +1,8 @@
<?php
/* Copyright (C) 2018-2022 OpenDSI <support@open-dsi.fr>
* Copyright (C) 2022-2024 Frédéric France <frederic.france@free.fr>
/* Copyright (C) 2018-2022 OpenDSI <support@open-dsi.fr>
* Copyright (C) 2022-2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
* Copyright (C) 2025 Alexandre Spangaro <alexandre@inovea-conseil.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -95,7 +96,7 @@ function assetPrepareHead(Asset $object)
$head = array();
$head[$h][0] = DOL_URL_ROOT . '/asset/card.php?id=' . $object->id;
$head[$h][1] = $langs->trans("Card");
$head[$h][1] = $langs->trans("Asset");
$head[$h][2] = 'card';
$h++;