70 lines
4.0 KiB
PHP
Executable File
70 lines
4.0 KiB
PHP
Executable File
<div class="mainContentContainer" style="top:100px">
|
|
<div class="pageTitle"><?php echo $pageTitle;?></div>
|
|
<form method="post" action="<?php echo base_url();?>services/service-process">
|
|
<input type="hidden" name ="service_id" value="<?php echo $selectedItem->service_id;?>">
|
|
<div class="formRow">
|
|
<label class="formTitle">Típus</label>
|
|
<select class="formDropdownBox" style="padding:0;" name="service_type">
|
|
<option value="beauty" <?php echo $selectedItem->service_type=='beauty'?'selected':'';?>>beauty</option>
|
|
<option value="barber" <?php echo $selectedItem->service_type=='barber'?'selected':'';?>>barber</option>
|
|
</select>
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Kategória (NO)</label>
|
|
<input type="text" class="formInputBox" name="service_category_no" value="<?php echo $selectedItem->service_category_no;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Kategória (EN)</label>
|
|
<input type="text" class="formInputBox" name="service_category_en" value="<?php echo $selectedItem->service_category_en;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Kategória (HU)</label>
|
|
<input type="text" class="formInputBox" name="service_category_hu" value="<?php echo $selectedItem->service_category_hu;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Megnevezés (NO)</label>
|
|
<input type="text" class="formInputBox" name="service_name_no" value="<?php echo $selectedItem->service_name_no;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Megnevezés (EN)</label>
|
|
<input type="text" class="formInputBox" name="service_name_en" value="<?php echo $selectedItem->service_name_en;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Megnevezés (HU)</label>
|
|
<input type="text" class="formInputBox" name="service_name_hu" value="<?php echo $selectedItem->service_name_hu;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Leírás (NO)</label>
|
|
<input type="text" class="formInputBox" name="service_description_no" value="<?php echo $selectedItem->service_description_no;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Leírás (EN)</label>
|
|
<input type="text" class="formInputBox" name="service_description_en" value="<?php echo $selectedItem->service_description_en;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Leírás (HU)</label>
|
|
<input type="text" class="formInputBox" name="service_description_hu" value="<?php echo $selectedItem->service_description_hu;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Szolgáltatás ára</label>
|
|
<input type="number" class="formInputBox" name="service_price" value="<?php echo $selectedItem->service_price;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Szolgáltatás időtartama</label>
|
|
<input type="time" class="formInputBox" name="service_time" value="<?php echo $selectedItem->service_time;?>">
|
|
</div>
|
|
<div class="formRow">
|
|
<label class="formTitle">Aktív</label>
|
|
<select class="formDropdownBox" style="padding:0;" name="is_enabled">
|
|
<option value="1" <?php echo $selectedItem->is_enabled?'selected':'';?>>igen</option>
|
|
<option value="0" <?php echo !$selectedItem->is_enabled?'selected':'';?>>nem</option>
|
|
</select>
|
|
</div>
|
|
<div class="formRow">
|
|
<input type="submit" class="submitButton" name="updateService" value="Módosítás">
|
|
<a href="<?php echo base_url();?>services" class="cancelButton" >Mégsem</a>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|