can('client','read') && $_['id']!=0 && !$myUser->can('client_sheet','read',$_['id'])) throw new Exception("Permission non accordée sur cette fiche"); require_once(__DIR__.SLASH.'Client.class.php'); $client = Client::provide(); $clientType = $conf->get('client_type'); //hook champs de fiche client Plugin::callHook('client_sheet',array(&$sheet,$client)); $index = 1; $moreFields = array(); $maxSheetFields = !empty($conf->get('client_sheet_max_field')) ? $conf->get('client_sheet_max_field') : 6; $sheetOptions = array(); Plugin::callHook('client_sheet_option',array(&$sheetOptions)); ?>
0): ?> type = empty($client->type) ? 'firm' : $client->type; ?>
$type): ?>
$field): ?> has_plugin('fr.core.dynamicform')){ Plugin::need('dynamicform/DynamicForm'); ?>
'client', 'uid'=>$client->id )); ?>
Enregistrer
can('client_history','read')): ?>

Historique

Enregistrer