introduce fichinter rec models
This commit is contained in:
parent
5da89e1cad
commit
4a7ac774f7
@ -2,7 +2,8 @@
|
|||||||
/* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2016 Gilles Poirier <glgpoirier@gmail.com>
|
* Copyright (C) 2016 Gilles Poirier <glgpoirier@gmail.com>
|
||||||
|
* Copyright (C) 2018 charlene Benke <charlie@patas-monkey.com>
|
||||||
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -162,4 +163,23 @@ function fichinter_admin_prepare_head()
|
|||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fichinter_rec_prepare_head ($object)
|
||||||
|
{
|
||||||
|
global $langs, $conf; //, $user;
|
||||||
|
|
||||||
|
$h = 0;
|
||||||
|
$head = array();
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/fichinter/card-rec.php?id='.$object->id;
|
||||||
|
$head[$h][1] = $langs->trans("CardFichinter");
|
||||||
|
$head[$h][2] = 'card';
|
||||||
|
$h++;
|
||||||
|
|
||||||
|
complete_head_from_modules($conf, $langs, $object, $head, $h, 'intervention-rec');
|
||||||
|
|
||||||
|
complete_head_from_modules($conf, $langs, $object, $head, $h,'intervention-rec','remove');
|
||||||
|
|
||||||
|
|
||||||
|
return $head;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user