Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getAmounts()
- {
- return $this->hasMany(Amounts::className(), ['product_id' => 'id']);
- }
- <?=$form->field($model->amounts, 'amount')->textInput(['class' => 'form-control m-input', 'placeholder' => ''])->label(false)?>
- Call to a member function isAttributeRequired() on array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement