/[dolibarr]/dolibarr/htdocs/soc.php
ViewVC logotype

Diff of /dolibarr/htdocs/soc.php

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

revision 1.125 by eldy, Fri Sep 16 01:23:29 2005 UTC revision 1.126 by eldy, Tue Sep 20 20:33:26 2005 UTC
# Line 240  if ($_GET["action"] == 'create' || $_POS Line 240  if ($_GET["action"] == 'create' || $_POS
240            
241          // Client / Prospect          // Client / Prospect
242          print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">';          print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">';
243          print '<option value="2"'.($soc->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>';          print '<option value="2"'.($soc->client==2?' selected="true"':'').'>'.$langs->trans('Prospect').'</option>';
244          print '<option value="1"'.($soc->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>';          print '<option value="1"'.($soc->client==1?' selected="true"':'').'>'.$langs->trans('Customer').'</option>';
245          print '<option value="0"'.($soc->client==0?' selected':'').'>Ni client, ni prospect</option>';          print '<option value="0"'.($soc->client==0?' selected="true"':'').'>Ni client, ni prospect</option>';
246          print '</select></td>';          print '</select></td>';
247          print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">';          print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">';
248          print '<input type="text" name="code_client" size="16" value="'.$soc->code_client.'" maxlength="15">';          print '<input type="text" name="code_client" size="16" value="'.$soc->code_client.'" maxlength="15">';
# Line 459  elseif ($_GET["action"] == 'edit' || $_P Line 459  elseif ($_GET["action"] == 'edit' || $_P
459    
460          // Client / Prospect          // Client / Prospect
461          print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">';          print '<tr><td width="25%">'.$langs->trans('ProspectCustomer').'</td><td width="25%"><select class="flat" name="client">';
462          print '<option value="2"'.($soc->client==2?' selected':'').'>'.$langs->trans('Prospect').'</option>';          print '<option value="2"'.($soc->client==2?' selected="true"':'').'>'.$langs->trans('Prospect').'</option>';
463          print '<option value="1"'.($soc->client==1?' selected':'').'>'.$langs->trans('Customer').'</option>';          print '<option value="1"'.($soc->client==1?' selected="true"':'').'>'.$langs->trans('Customer').'</option>';
464          print '<option value="0"'.($soc->client==0?' selected':'').'>Ni client, ni prospect</option>';          print '<option value="0"'.($soc->client==0?' selected="true"':'').'>Ni client, ni prospect</option>';
465          print '</select></td>';          print '</select></td>';
466          print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">';          print '<td width="25%">'.$langs->trans('CustomerCode').'</td><td width="25%">';
467          if ($soc->codeclient_modifiable == 1)          if ($soc->codeclient_modifiable == 1)

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26