</tr> <tr> <td class="FacetFieldCaptionTD">Imponibile </td><td class="FacetDataTD"><input type="text" name=form[Imponibile] value="<?php print $form['Imponibile']; ?> " maxlength="100" size="50" class="FacetInput"> </td> </tr> <tr> <td class="FacetFieldCaptionTD">IVA * </td> <td class="FacetDataTD"> <?php // inserisco il select box per il campo iva $select_iva = new select_codice_iva(); $select_iva->addSelectName("form[Iva]"); $select_iva->addSelected("20"); // iva al 20 preselezionata $select_iva->output(); ?> </td> </tr> <tr> <td class="FacetFieldCaptionTD">Descrizione </td><td class="FacetDataTD"><textarea name="form[Descrizione]" cols="40" rows="5" class="FacetInput"><?php print $form['Descrizione']; ?> </textarea></td> </tr> <tr> <td class="FacetFieldCaptionTD">Note </td><td class="FacetDataTD"><textarea name="form[Note]" cols="40" rows="5" class="FacetInput"><?php print $form['Note']; ?>
<td class="FacetDataTD"><input type="text" name="form[Prezzo]" value="<?php print $form["Prezzo"]; ?> " maxlength="20" size="10" class="FacetInput"> </td> </tr> <tr> <td class="FacetFieldCaptionTD">IVA * </td> <td class="FacetDataTD"> <?php // inserisco il select box per il campo iva $select_iva = new select_codice_iva(); $select_iva->addSelectName("form[Iva]"); $select_iva->addSelected($form["Iva"]); $select_iva->output(); ?> </td> </tr> <tr> <td class="FacetFieldCaptionTD">Data Ordine</td> </td> <td class="FacetDataTD"> <SELECT NAME="giorno"> <?php // imposto come selezionato il giorno che e' nel database print "<option value=\"" . $giorno . "\" selected>" . $giorno . "</option>\n"; ?> <OPTION value=""></OPTION>