<option></option> <?php echo DataList::getOption('City'); ?> </select> </td> <td width="5px"></td> <td width="40px"> <a href="#" class="btn btn-success btn-plus" id="btn-choose-city"><span class="glyphicon glyphicon-plus"></span></a> </td> </tr> </table> <select class="hidden" id="contractor-city" name="Contractor[city][]" multiple> <?php echo DataList::getOption('City'); ?> </select> </div> <div class="col-md-27 tagContainer pull-left"> </div> </div>
<hr> <div class="rooms"> <div class="room addRoom"> <div class="row"> <div class="col-md-14"> <div class="form-group"> <label class="control-label" for="service-live-room_type_id">Категория номера</label> <select class="form-control" id="service-live-room_type_id" name="ServLiveRoom[room_type_id][]"> <?php echo DataList::getOption('RoomType'); ?> </select> </div> </div> <div class="col-md-9"> <div class="form-group"> <label class="control-label" for="service-live-room_count">Количество комнат</label> <input type="text" class="form-control" id="service-live-room_count" name="ServLiveRoom[room_count][]" placeholder=""> </div> </div>
</div> <div class="col-md-2 glyph"> <span class="glyphicon glyphicon-arrow-right btn-lg"></span> </div> <div class="col-md-11"> <div class="form-group"> <select class="form-control" name="editServTransportTrip[<?php echo $trip->id; ?> ][city_id_to]"> <?php echo DataList::getOption('City', '', $trip->city_id_to); ?> </select> </div> </div> <div class="col-md-8"> <div class="form-group"> <input type="text" class="form-control" name="editServTransportTrip[<?php echo $trip->id; ?> ][hour]" value="<?php echo $trip->hour; ?>
<?php echo DataList::getOption('Language'); ?> </select> </td> <td width="5px"></td> <td width="40px"> <a href="#" class="btn btn-success btn-plus" id="btn-choose-language"><span class="glyphicon glyphicon-plus"></span></a> </td> </tr> </table> <select class="hidden" id="service-personal-language" name="ServPersonal[language][]" multiple> <?php echo DataList::getOption('Language'); ?> </select> </div> </div> </div> <div class="row"> <div class="col-md-36 tagContainerLanguage pull-left">
<div class="col-md-10"> </div> <!-- <div class="col-md-11 text-center"> --> <div class="col-md-16 text-center"> <select class="form-control" id="contractor-category-id" name="Contractor[category_id]" > <option value=0></option> <?php if ($active) { echo DataList::getOption('Category', '', $active); } else { echo DataList::getOption('Category'); } ?> </select> </div> <!-- <div class="col-md-5"> <a href="#" class="btn btn-success col-md-30" id="btn-choose-category">Выбрать</a> </div> --> <div class="col-md-10"> </div>
<div class="panel panel-default service"> <div class="panel-heading"> <div class="row"> <div class="col-md-4 "><label class="subCatHeader">Подкатегория:</label></div> <div class="col-md-18"> <select class="form-control" id="service-sub-category-id" name="Service[sub_category_id]" > <?php if ($curService) { echo DataList::getOption('SubCategory', 'category_id=' . $category_id, $curService->sub_category_id); } else { echo DataList::getOption('SubCategory', 'category_id=' . $category_id); } ?> </select> </div> <div class="col-md-14"> <!-- <div class="pull-right butBlockService"> <a class="btn btn-default btn-lg windowControl copyService"><span class="glyphicon glyphicon-plus "></span></a> <a class="btn btn-default btn-lg windowControl"><span class="glyphicon glyphicon-remove"></span></a> </div> -->
<option></option> <?php echo DataList::getOption('FoodType'); ?> </select> </td> <td width="5px"></td> <td width="40px"> <a href="#" class="btn btn-success btn-plus" id="btn-choose-food"><span class="glyphicon glyphicon-plus"></span></a> </td> </tr> </table> <select class="hidden" id="service-food-type" name="ServFood[food_type][]" multiple> <?php echo DataList::getOption('FoodType'); ?> </select> </div> </div> </div> <div class="row"> <div class="col-md-36 tagContainerFood"> </div> </div>
<div class="row"> <div class="col-md-16"> <div class="form-group"> <label class="control-label" for="company-select">Компания</label> <select class="form-control" id="company-select" name="Contractor[company_id]"> <?php echo DataList::getOption('Company'); ?> </select> </div> </div> </div>
][id]" value="<?php echo $deliv->id; ?> "> <div class="row "> <div class="col-md-24"> <div class="form-group"> <select class="form-control" name="editServTransportDeliv[<?php echo $deliv->id; ?> ][city_id]"> <?php echo DataList::getOption('City', '', $deliv->city_id); ?> </select> </div> </div> <div class="col-md-8"> <div class="form-group"> <input type="text" class="form-control" name="editServTransportDeliv[<?php echo $deliv->id; ?> ][hour]" value="<?php echo $deliv->hour; ?>
</div> </div> <div class="row "> <div class="col-md-24"> <div class="form-group"> <select class="form-control" name="ServTransport[serv_transport_type_id]"> <?php if ($curService) { echo DataList::getOption('ServTransportType', '', $curService->serv_transport_type_id); } else { echo DataList::getOption('ServTransportType'); } ?> </select> </div> </div> <div class="col-md-8"> <div class="form-group"> <input type="text" class="form-control" name="ServTransport[capacity]" placeholder="" <?php echo $curService ? 'value="' . $curService->capacity . '"' : ''; ?> > </div>
<form role="form" method="POST" enctype="multipart/form-data" id="modalForm" action="<?php echo Yii::app()->createUrl('servTransportType/edit'); ?> "> <div class="form-group"> <div class="row"> <div class="col-md-36"> <label class="control-label" for="service-food-type">Категория</label> <select class="form-control col-md-10 " name="ServTransportType[sub_category_id]"> <?php echo DataList::getOption('SubCategory', array('condition' => 'category_id = 1'), $sCat['sub_category_id']); ?> </select> </div> </div> <?php if ($id) { ?> <input type="hidden" class="form-control" name="ServTransportType[id]" value="<?php echo $id; ?>