Formulaire client
This commit is contained in:
parent
760486d21e
commit
9bb3d32607
@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
|
||||
?>
|
||||
<form name="client" method="post" action="./?page=administration_client">
|
||||
<input type="hidden" name="action" value="newclient" />
|
||||
<input type="hidden" name="idClient" value="" />
|
||||
|
||||
<h2 class="menu-close">Identification</h2>
|
||||
|
||||
<div class="blockh2 close">
|
||||
@ -26,128 +29,251 @@
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Test</label>
|
||||
<div class="field"><input name="test" type="checkbox" value="1" /></div>
|
||||
<div class="field">
|
||||
<select name="test">
|
||||
<option>Oui</option>
|
||||
<option>Non</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Actif</label>
|
||||
<div class="field"><input name="actif" type="checkbox" value="1" /></div>
|
||||
<div class="field">
|
||||
<select name="actif">
|
||||
<option>Oui</option>
|
||||
<option>Non</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Date de signature</label>
|
||||
<div class="field"><input name="dateSignature" type="text" value="" /></div>
|
||||
<div class="field"><input name="dateSignature" type="text" value="" disabled/></div>
|
||||
</div>
|
||||
<div><span>Type de contrat</span></div>
|
||||
<div class="fieldgrp">
|
||||
<label>Contrat</label><input name="typeContrat" type="radio" value="Contrat" />
|
||||
<label>Marché</label><input name="typeContrat" type="radio" value="Marché" />
|
||||
<label>Type de contrat</label>
|
||||
<div class="field">
|
||||
<select name="editerFacture">
|
||||
<option value="Contrat">Contrat</option>
|
||||
<option value="Marché">Marché</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Commercial S&D</label>
|
||||
<div class="field"><input name="respComSD" type="text" value="" /></div>
|
||||
<div class="field"><input name="respComSD" type="text" value="" disabled/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Nom de l'apporteur d'affaire</label>
|
||||
<div class="field"><input name="apporteurAffaire" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Prestations</label>
|
||||
<div class="field"><input name="prestations" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Type d'accès</label>
|
||||
<div class="field"><input name="typeAcces" type="text" value="" /></div>
|
||||
<div class="field">
|
||||
<select name="typeAcces">
|
||||
<option value="userPassword">userPassword</option>
|
||||
<option value="userPasswordIP">userPasswordIP</option>
|
||||
<option value="IP">IP</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label>Remarques / Observations</label>
|
||||
<div class="field"><textarea name="remarque"></textarea></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Date de création de la fiche</label>
|
||||
<div class="field"><input name="dateInsert" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Date de modification de la fiche</label>
|
||||
<div class="field"><input name="dateUpdate" type="text" value="" /></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Facturation</h2>
|
||||
|
||||
<div class="blockh2 close">
|
||||
<div><label>N° de TVA</label></div>
|
||||
<div><label>Compte client rattaché</label></div>
|
||||
<div><label>Editer la facture automatiquement</label></div>
|
||||
<div><label>Editer le détail de la facture</label></div>
|
||||
<div><label>Nom du destinataire de la facture</label></div>
|
||||
<div><label>Prénom</label></div>
|
||||
<div><label>Fonction</label></div>
|
||||
<div><label>Adresse1</label></div>
|
||||
<div><label>Adresse2</label></div>
|
||||
<div><label>Adresse3</label></div>
|
||||
<div><label>Code Postal</label></div>
|
||||
<div><label>Ville</label></div>
|
||||
<div><label>Email</label></div>
|
||||
<div><label>Téléphone</label></div>
|
||||
<div><label>Fax</label></div>
|
||||
<div><label>RIB joint à la facture</label></div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label>N° de TVA</label>
|
||||
<div class="field"><input name="tva" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Compte client rattaché</label>
|
||||
<div class="field"><input name="xxxx" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Editer la facture automatiquement</label>
|
||||
<div class="field">
|
||||
<select name="editerFacture">
|
||||
<option>Oui</option>
|
||||
<option>Non</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Editer le détail de la facture</label>
|
||||
<div class="field">
|
||||
<select name="fact_detail">
|
||||
<option>Oui</option>
|
||||
<option>Non</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Nom du destinataire de la facture</label>
|
||||
<div class="field"><input name="fac_dest" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse1</label>
|
||||
<div class="field"><input name="fac_adr1" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse2</label>
|
||||
<div class="field"><input name="fac_adr2" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse3</label>
|
||||
<div class="field"><input name="fac_adr3" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Email</label>
|
||||
<div class="field"><input name="fac_email" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Téléphone</label>
|
||||
<div class="field"><input name="fac_tel" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>RIB joint à la facture</label>
|
||||
<div class="field">
|
||||
<select name="fact_rib">
|
||||
<option>BPOSTALE</option>
|
||||
<option>CCOOP</option>
|
||||
<option>CDNORD</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Contact : Information sur le contact / signataire</h2>
|
||||
<div class="blockh2 close">
|
||||
<div><label>Nom du destinataire de la livraison</label></div>
|
||||
<div><label>Prénom</label></div>
|
||||
<div><label>Fonction</label></div>
|
||||
<div><label>Adresse1</label></div>
|
||||
<div><label>Adresse2</label></div>
|
||||
<div><label>Adresse3</label></div>
|
||||
<div><label>Code Postal</label></div>
|
||||
<div><label>Ville</label></div>
|
||||
<div><label>Email</label></div>
|
||||
<div><label>Téléphone</label></div>
|
||||
<div><label>Fax</label></div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Livraison : Informations sur le destinatire de la livraison</h2>
|
||||
<div class="blockh2 close">
|
||||
<div><label>Nom du destinaire de la livraison</label></div>
|
||||
<div><label>Prénom</label></div>
|
||||
<div><label>Fonction</label></div>
|
||||
<div><label>Adresse1</label></div>
|
||||
<div><label>Adresse2</label></div>
|
||||
<div><label>Adresse3</label></div>
|
||||
<div><label>Code Postal</label></div>
|
||||
<div><label>Ville</label></div>
|
||||
<div><label>Email</label></div>
|
||||
<div><label>Téléphone</label></div>
|
||||
<div><label>Fax</label></div>
|
||||
<div class="fieldgrp">
|
||||
<label>Nom</label>
|
||||
<div class="field"><input name="liv_dest" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse1</label>
|
||||
<div class="field"><input name="liv_adr1" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse2</label>
|
||||
<div class="field"><input name="liv_adr2" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Adresse3</label>
|
||||
<div class="field"><input name="liv_adr3" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Email</label>
|
||||
<div class="field"><input name="liv_email" type="text" value="" /></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Téléphone</label>
|
||||
<div class="field"><input name="liv_tel" type="text" value="" /></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Paramétrage</h2>
|
||||
<div class="blockh2 close">
|
||||
<div><label>IndiScore</label></div>
|
||||
<div><label>Liste des adresses IP (séparé par des ;)</label></div>
|
||||
<div><label>Droits</label></div>
|
||||
<div><label>Comptes administrateurs possibles</label></div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label>IndiScore</label>
|
||||
<div class="field">
|
||||
<select name="typeScore">
|
||||
<option value="100">100</option>
|
||||
<option value="20">20</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Liste des adresses IP (séparé par des ;)</label>
|
||||
<div class="field"><textarea name="filtres_ip" rows="2" cols="30"></textarea></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Listes des Droits (séparé par un espace)</label>
|
||||
<div class="field"><textarea name="droits" rows="2" cols="30"></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="fieldgrp">
|
||||
<label>Timeout</label>
|
||||
<div class="field"><input type="text" name="timeout" value="1600"/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Tarification</h2>
|
||||
<div class="blockh2 close">
|
||||
<div><label>forfaitExtranetPeriode</label></div>
|
||||
<div><label>forfaitExtranetMontant</label></div>
|
||||
<div><label>reconductionAuto</label></div>
|
||||
<div><label>remarque</label></div>
|
||||
<div><label>Nombre de pièces officielles includes dans le forfait client</label></div>
|
||||
<div><label>Montant du forfait des pièces officielles</label></div>
|
||||
<div><label>Tarif unitaire en cas de dépassement</label></div>
|
||||
<div><label>Nombre d'investigations inclues dans le forfait client</label></div>
|
||||
<div><label>Montant du forfait des investigations</label></div>
|
||||
<div><label>Tarif unitaire pour les indiscore 1</label></div>
|
||||
<div><label>Tarif unitaire pour les indiscore 2</label></div>
|
||||
<div><label>Tarif unitaire pour les indiscore 3</label></div>
|
||||
<div class="fieldgrp">
|
||||
<label>forfaitExtranetPeriode</label>
|
||||
<div class="field">
|
||||
<select name="forfaitExtranetPeriode">
|
||||
<option value="Mensuel">Mensuel</option>
|
||||
<option value="Trimestriel">Trimestriel</option>
|
||||
<option value="Semestriel">Semestriel</option>
|
||||
<option value="Annuel">Annuel</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>forfaitExtranetMontant</label>
|
||||
<div class="field"><input type="text" name="forfaitExtranetMontant" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>reconductionAuto</label>
|
||||
<div class="field">
|
||||
<select name="reconductionAuto">
|
||||
<option value="Oui">Oui</option>
|
||||
<option value="Non">Non</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Nombre de pièces officielles inclues dans le forfait client</label>
|
||||
<div class="field"><input type="text" name="forfaitPiecesNb" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Montant du forfait des pièces officielles</label>
|
||||
<div class="field"><input type="text" name="forfaitPiecesMt" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Tarif unitaire en cas de dépassement</label>
|
||||
<div class="field"><input type="text" name="forfaitPiecesDep" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Nombre d'investigations inclues dans le forfait client</label>
|
||||
<div class="field"><input type="text" name="forfaitInvestigNb" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Montant du forfait des investigations</label>
|
||||
<div class="field"><input type="text" name="forfaitInvestigMt" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Tarif unitaire pour les indiscore</label>
|
||||
<div class="field"><input type="text" name="tarifIndiscore" value=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2 class="menu-close">Divers</h2>
|
||||
<div class="blockh2 close">
|
||||
<div><label>Intersud - Login</label></div>
|
||||
<div><label>Intersud - Mot de passe</label></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Accès Webservice</label>
|
||||
<div class="field"><input type="text" name="accesWS" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Intersud - Login</label>
|
||||
<div class="field"><input type="text" name="InterSudLogin" value=""/></div>
|
||||
</div>
|
||||
<div class="fieldgrp">
|
||||
<label>Intersud - Mot de passe</label>
|
||||
<div class="field"><input type="text" name="InterSudPass" value=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="submit">
|
||||
<input class="button" type="submit" name="submit" value="Créer le client" />
|
||||
</div>
|
||||
|
||||
</form>
|
@ -59,7 +59,12 @@ if (count($listeClients) > 0) {
|
||||
<div class="lien">
|
||||
<a title="Droits" href="">Droits</a>
|
||||
<span class="cadreinfo">
|
||||
|
||||
<?php
|
||||
$listedroits = explode(' ', $cl->droits);
|
||||
foreach($listedroits as $droit) {
|
||||
echo $droit.'<br/>';
|
||||
}
|
||||
?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -24,6 +24,21 @@ $(document).ready(function(){
|
||||
<div id="center">
|
||||
<h1>CREATION NOUVEAU CLIENT</h1>
|
||||
<?php
|
||||
require_once realpath(dirname(__FILE__)).'/form.php';
|
||||
if (isset($_REQUEST['submit'])){
|
||||
$Infos = $_REQUEST;
|
||||
|
||||
echo "<pre>";
|
||||
print_r($Infos);
|
||||
echo "</pre>";
|
||||
|
||||
$ws = new WsScores();
|
||||
$reponse = $ws->setClient($Infos);
|
||||
echo "<pre>";
|
||||
print_r($reponse);
|
||||
echo "</pre>";
|
||||
|
||||
} else {
|
||||
require_once realpath(dirname(__FILE__)).'/form.php';
|
||||
}
|
||||
?>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user