Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo $form->select2Row($model, 'service_id', [
- if ($model->contract_id !== 0){
- 'data' => Service::getAllContract($model->contract_id);
- } else{
- 'data' => Service::getAllContractone($model->CUers_id);
- }
- 'multiple' => false,
- 'id' => 'service',
- 'required' => true,
- 'options' => ['width' => '220 px'], ]); ?>
Advertisement
Add Comment
Please, Sign In to add comment