11 |
if (isset($idz) && trim($idz) != '') { |
if (isset($idz) && trim($idz) != '') { |
12 |
$ent .= " ".strtoupper($idz)." "; |
$ent .= " ".strtoupper($idz)." "; |
13 |
} |
} |
14 |
|
$tab_title = _("DI"); |
15 |
|
|
16 |
/* Test SQL pour récupérer les bons champs selon la qualité du demandeur : |
/* Test SQL pour récupérer les bons champs selon la qualité du demandeur : |
17 |
* particulier ou personne morale*/ |
* particulier ou personne morale*/ |
59 |
$case_demandeur.' "'._("demandeur_nom").'"', |
$case_demandeur.' "'._("demandeur_nom").'"', |
60 |
$trim_concat_terrain, |
$trim_concat_terrain, |
61 |
'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
'to_char(dossier.date_depot ,\'DD/MM/YYYY\') as "'._("date_depot").'"', |
|
'substr( dossier.dossier, length(dossier.dossier), 1 ) as "'._("version").'"', |
|
62 |
'dossier_autorisation_type_detaille.libelle as "'._("nature_dossier").'"', |
'dossier_autorisation_type_detaille.libelle as "'._("nature_dossier").'"', |
63 |
'to_char(dossier.date_complet ,\'DD/MM/YYYY\') as "'._("date_complet").'"', |
'to_char(dossier.date_complet ,\'DD/MM/YYYY\') as "'._("date_complet").'"', |
64 |
'to_char(dossier.date_notification_delai ,\'DD/MM/YYYY\') as "'._("date_notification_delai").'"', |
'to_char(dossier.date_notification_delai ,\'DD/MM/YYYY\') as "'._("date_notification_delai").'"', |
100 |
ON b.dossier_autorisation=dossier_autorisation.dossier_autorisation |
ON b.dossier_autorisation=dossier_autorisation.dossier_autorisation |
101 |
JOIN '.DB_PREFIXE.'dossier_instruction_type |
JOIN '.DB_PREFIXE.'dossier_instruction_type |
102 |
ON dossier_instruction_type.dossier_instruction_type = b.dossier_instruction_type'; |
ON dossier_instruction_type.dossier_instruction_type = b.dossier_instruction_type'; |
103 |
$selection = 'WHERE a.dossier=\''.$idx.'\' AND b.dossier!=\''.$idx.'\''; |
$selection = 'WHERE a.dossier=\''.$idx.'\''; |
104 |
$tri= "order by b.date_depot ASC"; |
$tri= "order by b.date_depot ASC"; |
105 |
|
|
106 |
//Suppression du bouton d'ajout |
//Suppression du bouton d'ajout |