?> </td> <td><?php echo $f->date_fieldAnyDay('from_date', ${$class}->from_date); ?> </td> <td><?php echo $f->date_fieldAnyDay('to_date', ${$class}->to_date); ?> </td> <td><?php echo $f->select_field_from_array('status', inv_item_relation::$status_a, ${$class}->status); ?> </td> <td><?php $f->checkBox_field_d('planning_cb'); ?> </td> </tr> <?php $item_relation_object_ai->next(); if ($item_relation_object_ai->key() == $position + $per_page) { break; } $count = $count + 1; } ?> </tbody> </table> </div> </div>
?> </li> <li><?php $f->l_text_field_d('description'); ?> </li> <li><?php $f->l_checkBox_field_d('prepayment_cb'); ?> </li> <li><?php $f->l_status_field_d('status'); ?> </li> <li><?php $f->checkBox_field_d('rev_enabled_cb'); ?> </li> <li><?php $f->l_text_field_d('rev_number'); ?> </li> </ul> </div> </form> </div> <div id ="mix_form" class="mix_form"><span class="heading"><?php echo gettext('Schedule & Discount Lines'); ?> </span>
?> </li> <li><label>CC Email</label><?php echo $f->text_field('cc_email', ${$class}->cc_email, '', 'cc_email', 'cc_email', '', ''); ?> </li> <li><label>BCC Email</label><?php echo $f->text_field('bcc_email', ${$class}->bcc_email, '', 'bcc_email', 'bcc_email', '', ''); ?> </li> <li><label>Subject</label><?php echo $f->text_field('subject', ${$class}->subject, '', 'subject', 'subject', 1, ''); ?> </li> <li><label>Copy Me</label><?php echo $f->checkBox_field_d('send_me_copy_cb'); ?> </li> <li><label>Create Note</label><?php echo $f->checkBox_field_d('create_comment_cb'); ?> </li> <?php echo $f->hidden_field_withId('reference_table', $reference_table); ?> <?php echo $f->hidden_field_withId('reference_id', $reference_id); ?> </ul> <div><label for='message'>Message</label><?php echo $f->text_area('message', '', '5', 'message', 'form-control', 1);
?> </td> <td><?php $f->number_field_d('allocation_per'); ?> </td> <td><?php $f->number_field_d('flm'); ?> </td> <td><?php $f->number_field_d('ssd'); ?> </td> <td><?php $f->checkBox_field_d('planning_only_cb'); ?> </td> <td><?php $f->checkBox_field_d('auto_request_cb'); ?> </td> </tr> <?php $count = $count + 1; } } ?> </tbody> <!-- Showing a blank form for new entry-->