Correction saisie
This commit is contained in:
parent
699bd474ec
commit
fc39d7c6f0
@ -2,17 +2,56 @@
|
||||
header('Content-Type: text/html; charset=ISO-8859-1');
|
||||
session_start();
|
||||
include_once(realpath(dirname(__FILE__).'/constantes.php'));
|
||||
include('getmandataires.php');
|
||||
|
||||
$tribunal = (isset($_REQUEST['tribunal'])? $_REQUEST['tribunal'] : '');
|
||||
|
||||
//Connection au webservice
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
'soap_version' => SOAP_1_1,
|
||||
'location' => WEBSERVICE_URL,
|
||||
'uri' => WEBSERVICE_URI,
|
||||
'login' => $_SESSION['tabInfo']['login'],
|
||||
'password' => $_SESSION['tabInfo']['password'],
|
||||
// 'encoding' => 'UTF-8'
|
||||
));
|
||||
|
||||
//Sélection de la cour d'appel en fonction du tribunal
|
||||
include(realpath(dirname(__FILE__)).'/coursAppel.php');
|
||||
|
||||
//La cour d'appel suivant le tribunal sélectionné
|
||||
$codeCourAppel=$client->getIdCoursAppel($tribunal);
|
||||
$firephp->log($codeCourAppel, 'IdCourAppel');
|
||||
foreach ($coursAppel as $value){
|
||||
if ($codeCourAppel == $value['triId']){
|
||||
$tribunal = $value['triCode'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
try {
|
||||
$tmp=$client->getMandataires($tribunal, array('A', 'M', 'V', 'N'));
|
||||
//$firephp->log($tmp, 'Test Mandataires');
|
||||
$mandataires = $tmp['result'];
|
||||
asort($mandataires);
|
||||
} catch (SoapFault $fault) {
|
||||
$firephp->log($client->__getLastRequest(), 'Request');
|
||||
$firephp->log($client->__getLastResponse(), 'Response');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<label>Date de jouissance / effet :</label>
|
||||
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" /><span class="left">(Format JJ/MM/AAAA)</span>
|
||||
|
||||
<label>Montant de la vente</label>
|
||||
<input type="text" name="jugement[montant]" size="10" maxlength="15" value="" />
|
||||
<span class="left">en € sans les cents</span>
|
||||
|
||||
|
||||
<script type="text/javascript" src="./js/thickbox.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(".date").blur(function() {
|
||||
//Test du format date
|
||||
$(this).val(dateInputFormat($(this).val()));
|
||||
//Test spécifique
|
||||
if( $(this).attr('name')=='jugement[dateJuge]' ){
|
||||
if (ctrlDateJugement($(this).val())==false){ $(this).val(''); }
|
||||
}
|
||||
if( $(this).attr('name')=='jugement[datePaie]' ){
|
||||
if (ctrlDatePaiement($(this).val())==false){ $(this).val(''); }
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<label>Opposition</label>
|
||||
<select name="jugement[oppo]">
|
||||
<option value="-" selected>Au siège</option>
|
||||
@ -29,5 +68,12 @@ include_once( realpath(dirname(__FILE__)).'/lienMandataireEdit.php' );
|
||||
include_once( realpath(dirname(__FILE__)).'/lienMandataire.php' );
|
||||
?>
|
||||
|
||||
<label>Date de jouissance / effet :</label>
|
||||
<input type="text" maxlength="10" class="date" name="jugement[dateFinPeriode]" value="" /><span class="left">(Format JJ/MM/AAAA)</span>
|
||||
|
||||
<label>Montant de la vente</label>
|
||||
<input type="text" name="jugement[montant]" size="10" maxlength="15" value="" />
|
||||
<span class="left">en € sans les cents</span>
|
||||
|
||||
<label>Complément, huissier, etc...</label>
|
||||
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />
|
||||
|
Loading…
Reference in New Issue
Block a user