".$msg['transferts_circ_menu_titre']." > ".$msg['transferts_circ_menu_envoi']."";
}
protected function get_form_title() {
global $msg;
global $transferts_envoi_lot;
if ($transferts_envoi_lot=="1") {
return "
".$msg["transferts_circ_envoi_lot"]."
";
} else {
return "
".$msg["transferts_circ_envoi_list"]."
";
}
}
protected function init_default_columns() {
global $action, $transferts_envoi_lot;
$this->add_column('record', '233');
$this->add_column('cb', '232');
$this->add_column('empr', 'transferts_circ_empr');
$this->add_column('destination', 'transferts_circ_destination');
$this->add_column('expl_owner', '651');
$this->add_column('formatted_date_creation', 'transferts_circ_date_creation');
$this->add_column('', 'transferts_circ_date_validation');
$this->add_column('motif', 'transferts_circ_motif');
$this->add_column('transfert_ask_user_num', 'transferts_edition_ask_user');
$this->add_column('transfert_send_user_num', 'transferts_edition_send_user');
if(($action == '' || $action == 'list') && $transferts_envoi_lot == '1') {
$this->add_column_sel_button();
}
}
protected function init_available_filters() {
$this->available_filters =
array('main_fields' =>
array(
'site_destination' => 'transferts_circ_envoi_filtre_destination',
'f_etat_date' => 'transferts_circ_retour_filtre_etat',
)
);
$this->available_filters['custom_fields'] = array();
}
protected function init_default_selected_filters() {
$this->add_selected_filter('site_destination');
$this->add_selected_filter('f_etat_date');
}
protected function get_search_filters() {
global $msg;
$search_filters = '';
$search_filters .= " ".$msg['transferts_circ_envoi_filtre_destination'];
$search_filters .= $this->get_search_filter_site_destination();
$search_filters .= " ".$msg["transferts_circ_retour_filtre_etat"]." ";
$search_filters .= $this->get_search_filter_f_etat_date();
return $search_filters;
}
protected function get_display_selection_actions() {
global $msg;
global $transferts_validation_actif;
global $transferts_envoi_lot;
if ($transferts_envoi_lot=="1") {
if ($transferts_validation_actif=="1") {
return "";
} else {
return "
";
}
} else {
return "";
}
}
protected function get_display_no_results() {
global $msg;
global $list_transferts_ui_no_results;
$display = $list_transferts_ui_no_results;
$display = str_replace('!!message!!', $msg["transferts_envoi_liste_vide"], $display);
return $display;
}
protected function get_valid_form_title() {
global $msg;
return "