/[dolibarr]/dolibarr/htdocs/comm/addpropal.php
ViewVC logotype

Diff of /dolibarr/htdocs/comm/addpropal.php

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

revision 1.32 by eldy, Tue Aug 23 19:32:44 2005 UTC revision 1.33 by eldy, Tue Aug 23 21:41:42 2005 UTC
# Line 198  if ($_GET["action"] == 'create') Line 198  if ($_GET["action"] == 'create')
198    print '<td>';    print '<td>';
199    include_once(DOL_DOCUMENT_ROOT.'/includes/modules/propale/modules_propale.php');    include_once(DOL_DOCUMENT_ROOT.'/includes/modules/propale/modules_propale.php');
200    $model=new ModelePDFPropales();    $model=new ModelePDFPropales();
201    $liste=$model->liste_modeles($this->db);    $liste=$model->liste_modeles($db);
202    $html->select_array("modelpdf",$liste,PROPALE_ADDON_PDF);    $form->select_array("modelpdf",$liste,$conf->global->PROPALE_ADDON_PDF);
203    print "</td></tr></table>";    print "</td></tr></table>";
204        
205    print '<br>';    print '<br>';
# Line 216  if ($_GET["action"] == 'create') Line 216  if ($_GET["action"] == 'create')
216        for ($i = 1 ; $i <= PROPALE_NEW_FORM_NB_PRODUCT ; $i++)        for ($i = 1 ; $i <= PROPALE_NEW_FORM_NB_PRODUCT ; $i++)
217          {          {
218            print '<tr><td>';            print '<tr><td>';
219            $html->select_produits('',"idprod".$i);            $form->select_produits('',"idprod".$i);
220            print '</td>';            print '</td>';
221            print '<td><input type="text" size="2" name="qty'.$i.'" value="1"></td>';            print '<td><input type="text" size="2" name="qty'.$i.'" value="1"></td>';
222            print '<td><input type="text" size="3" name="remise'.$i.'" value="'.$soc->remise_client.'"> %</td></tr>';            print '<td><input type="text" size="3" name="remise'.$i.'" value="'.$soc->remise_client.'"> %</td></tr>';

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

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