".$this->get_display_late()."
";
}
protected function get_form_title() {
global $msg;
global $sub;
$form_title = '';
switch($sub) {
case "retard" :
$form_title .= $msg[1112];
break;
case "retard_par_date" :
$form_title .= $msg['edit_expl_retard_par_date'];
break;
case 'short_loans' :
$form_title .= $msg['current_short_loans'];
break;
case 'unreturned_short_loans' :
$form_title .= $msg['unreturned_short_loans'];
break;
case 'overdue_short_loans' :
$form_title .= $msg['overdue_short_loans'];
break;
default :
case "encours" :
$form_title .= $msg[1111];
break;
}
return $form_title;
}
protected function get_selection_actions() {
global $msg;
global $base_path;
global $pmb_gestion_amende, $pmb_gestion_financiere;
global $sub;
if(!isset($this->selection_actions)) {
$this->selection_actions = array();
if($pmb_gestion_amende==0 || $pmb_gestion_financiere==0) {
if($sub == 'pargroupe') {
$relance_link = array(
'openPopUp' => $base_path."/pdf.php?pdfdoc=lettre_retard_groupe",
'openPopUpTitle' => 'lettre'
);
$this->selection_actions[] = $this->get_selection_action('relance_groupe', $msg['lettres_relance_groupe'], 'print.gif', $relance_link);
}
if($sub == 'retard' || $sub == 'retard_par_date') {
$relance_link = array(
'href' => static::get_controller_url_base()."&action=print"
);
$this->selection_actions[] = $this->get_selection_action('relance', $msg['lettres_relance'], 'print.gif', $relance_link);
}
}
}
return $this->selection_actions;
}
protected function init_default_columns() {
global $pmb_gestion_amende, $pmb_gestion_financiere;
global $sub;
if ($pmb_gestion_amende==0 || $pmb_gestion_financiere==0) {
if($sub == 'retard' || $sub == 'retard_par_date' || $sub == 'pargroupe') {
$this->add_column_selection();
}
}
$this->add_column('cb_expl');
$this->add_column('cote');
$this->add_column('typdoc');
$this->add_column('record');
$this->add_column('author');
$this->add_column('empr');
$this->add_column('pret_date');
$this->add_column('pret_retour');
$this->add_column('late_letter', '369', '', false);
}
protected function get_display_spreadsheet_title() {
global $titre_page;
$this->spreadsheet->write_string(0,0,$titre_page);
}
protected function get_html_title() {
global $titre_page;
return "