extranet/www/pages_saisie/event_5500.php

66 lines
2.3 KiB
PHP
Raw Normal View History

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-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');
}
*/
require_once realpath(dirname(__FILE__)).'/field_opposition.php';
2009-03-25 09:34:44 +00:00
?>
<script type="text/javascript" src="./js/thickbox.js"></script>
<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">
$(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 &euro; sans les cents</span>
2009-03-24 12:00:16 +00:00
<label>Compl&eacute;ment, huissier, etc...</label>
2009-03-13 14:58:10 +00:00
<input type="text" name="jugement[comp]" size="70" maxlength="255" value="" />