2009-03-13 14:58:10 +00:00
|
|
|
|
<?php
|
|
|
|
|
header('Content-Type: text/html; charset=ISO-8859-1');
|
|
|
|
|
session_start();
|
2009-03-24 12:00:16 +00:00
|
|
|
|
include_once(realpath(dirname(__FILE__).'/constantes.php'));
|
2009-03-13 14:58:10 +00:00
|
|
|
|
|
2009-03-25 09:34:44 +00:00
|
|
|
|
$tribunal = (isset($_REQUEST['tribunal'])? $_REQUEST['tribunal'] : '');
|
2009-03-13 14:58:10 +00:00
|
|
|
|
|
2009-03-25 09:34:44 +00:00
|
|
|
|
//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');
|
2009-03-26 19:22:07 +00:00
|
|
|
|
/*
|
2009-03-25 09:34:44 +00:00
|
|
|
|
//La cour d'appel suivant le tribunal s<>lectionn<6E>
|
|
|
|
|
$codeCourAppel=$client->getIdCoursAppel($tribunal);
|
|
|
|
|
$firephp->log($codeCourAppel, 'IdCourAppel');
|
|
|
|
|
foreach ($coursAppel as $value){
|
|
|
|
|
if ($codeCourAppel == $value['triId']){
|
|
|
|
|
$tribunal = $value['triCode'];
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
try {
|
2009-03-25 18:25:50 +00:00
|
|
|
|
$tmp=$client->getMandataires('', array('A', 'M', 'V', 'N', 'H'));
|
2009-03-25 09:34:44 +00:00
|
|
|
|
//$firephp->log($tmp, 'Test Mandataires');
|
|
|
|
|
$mandataires = $tmp['result'];
|
|
|
|
|
asort($mandataires);
|
|
|
|
|
} catch (SoapFault $fault) {
|
|
|
|
|
$firephp->log($client->__getLastRequest(), 'Request');
|
|
|
|
|
$firephp->log($client->__getLastResponse(), 'Response');
|
|
|
|
|
}
|
2009-03-26 19:22:07 +00:00
|
|
|
|
*/
|
|
|
|
|
require_once realpath(dirname(__FILE__)).'/field_opposition.php';
|
2009-03-25 09:34:44 +00:00
|
|
|
|
?>
|
2009-03-27 08:34:36 +00:00
|
|
|
|
<script type="text/javascript" src="./js/thickbox.js"></script>
|
2009-03-26 19:22:07 +00:00
|
|
|
|
<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>
|
2009-03-25 09:34:44 +00:00
|
|
|
|
<script type="text/javascript">
|
2009-03-27 08:34:36 +00:00
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
$(".date").blur(function() {
|
|
|
|
|
//Test du format date
|
|
|
|
|
$(this).val(dateInputFormat($(this).val()));
|
|
|
|
|
//Test sp<73>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(''); }
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
2009-03-25 09:34:44 +00:00
|
|
|
|
</script>
|
|
|
|
|
<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>
|
|
|
|
|
|
2009-03-24 12:00:16 +00:00
|
|
|
|
<label>Complément, huissier, etc...</label>
|
2009-03-13 14:58:10 +00:00
|
|
|
|
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />
|