Add llxHeader to reception (#29935)

This commit is contained in:
Anthony Damhet 2024-06-08 18:53:19 +02:00 committed by GitHub
parent b155370957
commit f0ccd63ed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 8 additions and 7 deletions

View File

@ -746,7 +746,7 @@ if (empty($reshook)) {
$title = $object->ref.' - '.$langs->trans('Reception');
llxHeader('', $title, 'Reception');
llxHeader('', $title, 'Reception', '', 0, 0, '', '', '', 'mod-reception page-card');
$form = new Form($db);
$formfile = new FormFile($db);

View File

@ -139,7 +139,8 @@ if ($action == 'addcontact' && $user->hasRight('reception', 'creer')) {
* View
*/
llxHeader('', $langs->trans('Reception'), 'EN:Customers_Orders|FR:receptions_Clients|ES:Pedidos de clientes');
$help_url = 'EN:Customers_Orders|FR:receptions_Clients|ES:Pedidos de clientes';
llxHeader('', $langs->trans('Reception'), $help_url, '', 0, 0, '', '', '', 'mod-reception page-card_contact');
$form = new Form($db);
$formcompany = new FormCompany($db);

View File

@ -307,7 +307,7 @@ $help_url = 'EN:Module_Suppliers_Orders|FR:CommandeFournisseur|ES:Módulo_Pedido
$morejs = array('/fourn/js/lib_dispatch.js.php');
$numline = 0;
llxHeader('', $title, $help_url, '', 0, 0, $morejs);
llxHeader('', $title, $help_url, '', 0, 0, $morejs, '', '', 'mod-reception page-card_dispatch');
if ($id > 0 || !empty($ref)) {
if (!empty($object->origin) && $object->origin_id > 0) {

View File

@ -123,7 +123,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
* View
*/
llxHeader('', $langs->trans('Reception'), '');
llxHeader('', $langs->trans('Reception'), '', '', 0, 0, '', '', '', 'mod-reception page-card_documents');
$form = new Form($db);

View File

@ -55,7 +55,7 @@ $orderstatic = new CommandeFournisseur($db);
$companystatic = new Societe($db);
$helpurl = 'EN:Module_Receptions|FR:Module_Receptions|ES:Módulo_Receptiones';
llxHeader('', $langs->trans("Reception"), $helpurl);
llxHeader('', $langs->trans("Reception"), $helpurl, '', 0, 0, '', '', '', 'mod-reception page-dashboard');
print load_fiche_titre($langs->trans("ReceptionsArea"), '', 'dollyrevert');

View File

@ -596,7 +596,7 @@ $formfile = new FormFile($db);
$helpurl = 'EN:Module_Receptions|FR:Module_Receptions|ES:Módulo_Receptiones';
llxHeader('', $langs->trans('ListOfReceptions'), $helpurl);
llxHeader('', $langs->trans('ListOfReceptions'), $helpurl, '', 0, 0, '', '', '', 'mod-reception page-list');
$sql = "SELECT e.rowid, e.ref, e.ref_supplier, e.date_reception as date_reception, e.date_delivery as delivery_date, l.date_delivery as date_reception2, e.fk_statut as status, e.billed,";
$sql .= " s.rowid as socid, s.nom as name, s.town, s.zip, s.fk_pays, s.client, s.code_client,";

View File

@ -114,7 +114,7 @@ if (empty($reshook)) {
* View
*/
llxHeader('', $langs->trans('Reception'));
llxHeader('', $langs->trans('Reception'), '', '', 0, 0, $morejs, '', '', 'mod-reception page-card_notes');
$form = new Form($db);