/
_frmdelivery.php
executable file
·39 lines (29 loc) · 1.07 KB
/
_frmdelivery.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\helpers\ArrayHelper;
use kartik\money\MaskMoney;
?>
<?php
$form = ActiveForm::begin([
'id'=>'frm-delivery-proccess',
'enableClientValidation' => true,
'enableAjaxValidation' => true,
'method' => 'post',
'action' => ['/purchasing/purchase-order/delivery-save'],
]);
?>
<?php //echo $form->field($poHeaderVal, 'dELIVERY')->textInput(['placeholder' => 'Entry Nominal Delivery Cost ...'])->label('Delevery Cost [ ex: 1000000.00 ]');
echo $form->field($poHeaderVal, 'dELIVERY')->widget(MaskMoney::classname(), [
'pluginOptions' => [
//'prefix' => 'Rp',
//'suffix' => ' €',
'allowNegative' => false
]
]);
?>
<?php echo $form->field($poHeaderVal, 'kD_PO')->hiddenInput(['value'=>$poHeader->KD_PO,'maxlength' => true, 'readonly' => true])->label(false);?>
<div style="text-align: right;"">
<?php echo Html::submitButton('simpan',['class' => 'btn btn-primary']); ?>
</div>
<?php ActiveForm::end(); ?>