?> </td> <td><?php echo CHtml::textField('amount[]', '', array('maxlength' => 15)); ?> </td> </tr> <?php } else { ?> <?php for ($i = 0; $i < sizeof($model->budget_id); ++$i) { ?> <tr> <td><?php echo CHtml::dropDownList('budget_id[]', $model->budget_id[$i], tAccount::item()); ?> </td> <td><?php echo CHtml::textField('description[]', $model->description[$i], array()); ?> </td> <td><?php echo CHtml::textField('qty[]', $model->qty[$i], array('maxlength' => 15)); ?> </td> <td><?php echo CHtml::textField('amount[]', $model->amount[$i], array('maxlength' => 15)); ?> </td> </tr>
?> Print List Journal </h1> </div> <?php $form = $this->beginWidget('BootActiveForm', array('id' => 'allocation-form', 'type' => 'horizontal', 'enableAjaxValidation' => false)); ?> <?php echo $form->errorSummary($model); ?> <?php echo $form->dropDownListRow($model, 'account_no_id', tAccount::item()); ?> <?php echo $form->textFieldRow($model, 'begindate'); ?> <?php echo $form->textFieldRow($model, 'enddate'); ?> <?php /* $this->widget('ext.monthpicker.MonthPicker', array( 'model'=>$model, 'name'=>'begindate', ));
?> </td> <td><?php echo CHtml::textField('user_remark[]', '', array()); ?> </td> </tr> <?php } else { ?> <?php for ($i = 0; $i < sizeof($model->account_no_id); ++$i) { ?> <tr> <td><?php echo CHtml::dropDownList('account_no_id[]', $model->account_no_id[$i], tAccount::item(), array()); ?> </td> <td><?php echo CHtml::textField('debit[]', $model->debit[$i], array()); ?> </td> <td><?php echo CHtml::textField('credit[]', $model->credit[$i], array()); ?> </td> <td><?php echo CHtml::textField('user_remark[]', $model->user_remark[$i], array()); ?> </td> </tr>