Révision 03d399f8
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_client2_8_to_9.form.php | ||
---|---|---|
21 | 21 |
$fk_entitee_client = $_POST['FK_entitee_client']; |
22 | 22 |
$fk_entitee_enduser = $_POST['FK_entitee_enduser']; |
23 | 23 |
|
24 |
if($fk_entitee_enduser == 0 || $fk_entitee_client == 0) { |
|
25 |
print "Erreur Grave:: Entitée client ou utilisateur incorrecte"; |
|
26 |
exit; |
|
27 |
} |
|
28 |
|
|
24 | 29 |
//Ensuite on cherche des details sur ce client (quel a ete le revendeur, ref contrat de maintenance etc.) |
25 | 30 |
$query_maint = "SELECT * FROM glpi_plugin_anet_epacks WHERE FK_enduser='" . $fk_entitee_enduser . "' AND FK_client='" . $fk_entitee_client . "'"; |
26 | 31 |
$result_maint = $DB->query($query_maint); |
Formats disponibles : Unified diff