Ejemplo n.º 1
0
?>

    <?php 
echo $form->field($model, 'ID_Bab_masuk')->textInput();
?>

    <?php 
echo $form->field($model, 'No_Faktur')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'No_Surat_Jalan')->textInput(['maxlength' => true]);
?>

    <?php 
echo $form->field($model, 'ID_PO')->dropDownList(ArrayHelper::map(PurchaseOrder::findBySql("Select * from purchaseorder where status='On The Way'")->all(), 'ID_PO', 'ID_PO'), ['prompt' => 'Select Purchase Order']);
?>

    <?php 
echo $form->field($model, 'Tanggal_Surat')->textInput(['maxlength' => 255, 'class' => 'form-control input-datepicker class'])->label('Tanggal_Surat');
?>

    <?php 
echo $form->field($model, 'Tanggal_Terima')->textInput(['maxlength' => 255, 'class' => 'form-control input-datepicker class'])->label('Tanggal_Terima');
?>

    <?php 
echo $form->field($model, 'Kondisi')->dropDownList(['Baik' => 'Baik', 'Buruk' => 'Buruk'], ['prompt' => 'Select Kondisi']);
?>

    <?php