/[openfoncier]/trunk/app/finalisation_document.php
ViewVC logotype

Diff of /trunk/app/finalisation_document.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1985 by vpihour, Tue May 28 16:37:10 2013 UTC revision 1986 by vpihour, Wed Jun 5 15:51:15 2013 UTC
# Line 12  $obj = (isset($_GET['obj'])) ? $_GET['ob Line 12  $obj = (isset($_GET['obj'])) ? $_GET['ob
12  $status = (isset($_GET['status'])) ? $_GET['status'] : "";  $status = (isset($_GET['status'])) ? $_GET['status'] : "";
13  $champ = (isset($_GET['champ'])) ? $_GET['champ'] : "";  $champ = (isset($_GET['champ'])) ? $_GET['champ'] : "";
14  $sousform = (isset($_GET['sousform'])) ? $_GET['sousform'] : "";  $sousform = (isset($_GET['sousform'])) ? $_GET['sousform'] : "";
15    $retourformulaire = (isset($_GET['retourformulaire'])) ? $_GET['retourformulaire'] : "";
16  $_GET['output'] = 'string';  $_GET['output'] = 'string';
17    
18  require_once "../obj/utils.class.php";  require_once "../obj/utils.class.php";
# Line 22  require_once "../obj/".$obj.".class.php" Line 23  require_once "../obj/".$obj.".class.php"
23  // Instanciation de l'objet metier  // Instanciation de l'objet metier
24  $object = new $obj($idx, $f->db, 0);  $object = new $obj($idx, $f->db, 0);
25  $f->db->autoCommit(false);  $f->db->autoCommit(false);
26  $res = $object->finaliser($champ, $status, $sousform);  $res = $object->finaliser($champ, $status, $sousform, $retourformulaire);
27  if ($res!=-1){  if ($res!=-1){
28      $f->db->commit();      $f->db->commit();
29      echo json_encode($res);      echo json_encode($res);

Legend:
Removed from v.1985  
changed lines
  Added in v.1986

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26