<!-- /.panel-heading --> <div class="panel-body"> <div class="list-group"> <?= DetailView::widget([ 'model' => $model, 'template' => '<a href="#" class="list-group-item">{label}<span class="pull-right text-muted small"><em>{value}</em></span></a>', 'attributes' => [ 'user0.name', 'contact', 'user0.email', ] ])?> </div> <!-- /.list-group --> </div> <!-- /.panel-body --> </div> <!-- /.panel --> <!-- /.Dealer Description Panel Start --> <?php BootstrapHelper::PanelInfo('Delaer Address',$model->address); ?> <!-- /.Dealer Description Panel End --> <!-- /.panel-body --> </div> <!-- /.panel .chat-panel --> </div> <!-- /.col-lg-4 --> </div> <!-- /.row -->
[ 'label' => 'is_active', 'value' => DatabaseHelper::GetStatus($model->is_active) ], 'user.email', ] ]) ?> </div> <!-- /.list-group --> </div> <!-- /.panel-body --> </div> <!-- /.panel Address--> <?= BootstrapHelper::PanelInfo('Company Address', '<address>' . $model->address . '</address>', false, ['class' => 'panel panel-info']) ?> <!-- /.panel Description--> <?= BootstrapHelper::PanelInfo('Company Description', '<address>' . $model->description . '</address>', false, ['class' => 'panel panel-info']) ?> </div> <!-- /.panel .chat-panel --> </div> <!-- /.col-lg-4 --> </div> <!-- /.row --> </div> <!-- /.row --> <?php if ($preferenceData && $preferenceData->is_active && $preferenceData->status): ?> <div class="row"> <div class="col-md-6 "><!--Add col-md-offset-3 to make it in center--> <div class="login-panel panel panel-info" style="margin-top: 20px"> <div class="panel-heading"> <h3 class="panel-title">Add Preferences</h3> </div>
'options'=> ['role' => 'form' ,'enctype' => 'multipart/form-data']]); ?> <fieldset> <?= $form->field($model, 'name')->textInput() ?> <?= $form->field($model, 'domain')->textInput() ?> <?= $form->field($model, 'mobile')->textInput() ?> <?= $form->field($model, 'contact')->textInput() ?> <?= $form->field($model, 'profile_pic')->fileInput(['class' => false]) ?> <?= $form->field($model, 'email')->textInput(['disabled' => true]) ?> <?= $form->field($model, 'address')->textarea(['rows' => 6]) ?> <?= $form->field($model, 'description')->textarea(['rows' => 3]) ?> <?= Html::submitButton('Edit Company',['class' => 'btn btn-lg btn-info btn-block'])?> </fieldset> <?php ActiveForm::end(); ?> </div> </div> </div> <div class="col-md-4"> <?= BootstrapHelper::PanelInfo('Company Image',Html::img(Auction::$app->request->baseUrl.'/uploads/company/thumbs/'.$model->profile_pic),false, ['class' => 'panel panel-success'])?> </div> </div>