| Server IP : 162.214.74.102 / Your IP : 216.73.216.192 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/imobles/application/plugins/module_helpdesk/views/sla/ |
Upload File : |
<div class="wrapper wrapper-content" style="padding-bottom: 0;">
{$title_action = $_L['module_helpdesk sla Add']}
{if (!empty($sla->id))}
{$title_action = $_L['module_helpdesk sla Edit']}
{/if}
{* {$can_edit = false}
{$value_patient = 0}
{foreach $items as $item}
{$value_patient = $value_patient + $item['value_patient']}
{/foreach}
{if $sla->status!="Finished" || $value_patient == 0}
{$can_edit = true}
{/if}*}
{$can_edit = true}
<div class="row">
<div class="col-md-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{$title_action}</h5>
{if $typeForm!='modal'}
<a href="{$_url}module_helpdesk/sla/listAll"
class="btn btn-xs btn-primary btn-rounded pull-right">
<i class="fa fa-bars"></i> {$_L['module_helpdesk sla List']}
</a>
{else}
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
{/if}
</div>
<div class="ibox-content" id="ibox_form">
<div class="alert alert-danger" id="emsg">
<span id="emsgbody"></span>
</div>
<ul class="nav nav-tabs">
<li class="active"><a style="" data-toggle="tab" href="#general_data">{$_L['module_helpdesk sla data'] }</a></li>
</ul>
<form class="form-horizontal" id="form-sla" method="post" enctype="multipart/form-data">
<input name="id" id="id" type="hidden" value="{$sla->id}">
<input name="created_user_id" type="hidden" value="{if isset($user->id)}{$user->id}{else}0{/if}">
<div class="tab-content">
<!-- DADOS GERAIS -->
<div id="general_data" class="tab-pane fade in active">
<div class="row">
{if !$client_id}
<div class="col-sm-12 col-md-4">
<label class="control-label" for="title">
{$_L['Customer']}
</label>
<select name="client_id" id="client_id" class="form-control ">
{if not empty($client)}
<option value="{$client->id}" selected> {$client->account}</option>
{/if}
</select>
</div>
{/if}
<div class="col-sm-12 col-md-4">
<label class="control-label" for="title">
{$_L['module_helpdesk ticket category']}
</label>
<select name="module_helpdesk_tickets_cat_id" id="module_helpdesk_tickets_cat_id" class="form-control " >
{if not empty($cat_ticket)}
<option value="{$cat_ticket->id}" selected> {$cat_ticket->title}</option>
{/if}
</select>
</div>
<div class="col-sm-12 col-md-4">
<label class="control-label" >
{$_L['module_helpdesk type']}
</label>
<select name="module_helpdesk_tickets_treatment_type_id" id="module_helpdesk_tickets_treatment_type_id" class="form-control " >
{if not empty($type_ticket)}
<option value="{$type_ticket->id}" selected>{if $type_ticket->default==1}{$_L[$type_ticket->name]}{else} {$type_ticket->name}{/if}</option>
{/if}
</select>
{if $isAdminOrManager}
<span class="help-block"><a href="#" id="add_new_type">{$_L['module_helpdesk Add type']}</a> </span>
{/if}
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-6">
<label class="control-label" for="title">
{$_L['Category']}
</label>
<select name="product_cat_id" id="product_cat_id" class="form-control ">
</select>
</div>
<div class="col-sm-12 col-md-6">
<label class="control-label" >
{$_L['module_helpdesk products']}
</label>
<select name="product_id[]" id="product_id" class="form-control " multiple="" >
{if not empty($products)}
{foreach $products as $product}
<option value="{$product->id}" selected> ({$product->id}) {$product->description}</option>
{/foreach}
{/if}
</select>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-2 inputbytype type2">
<label class="control-label" >
{$_L['module_helpdesk sla']}1
</label>
<input name='sla1' value=" {$sla->sla1}" class="form-control float">
</div>
<div class="col-sm-12 col-md-2 inputbytype type2">
<label class="control-label" >
{$_L['module_helpdesk sla']}2
</label>
<input name='sla2' value=" {$sla->sla2}" class="form-control float">
</div>
</div>
</div>
</div>
<div class="row" style="margin-top:20px">
<div class=" col-md-12 form-group">
<div class="col-lg-10">
<a href="#" class="md-btn md-btn-primary waves-effect waves-light" id="submit">
<i class="fa fa-check"></i> {$_L['Submit']}
</a>
{if $typeForm!='modal'}
| <a href="{$_url}module_helpdesk/sla/listAll">{$_L['Or Cancel']}</a>
{/if}
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<input type="hidden" id="type_form" value="{$typeForm}">
<input type="hidden" id="category_id" value="{$sla->product_cat_id}">
<input type="hidden" name="_msg_add_new_priority" id="_msg_add_new_priority" value="{$_L['module_helpdesk new priority']}">
<input type="hidden" name="_msg_priority_name" id="_msg_priority_name" value="{$_L['module_helpdesk priority']}">
<input type="hidden" name="_msg_edit" id="_msg_edit" value="{$_L['Edit']}">
<input type="hidden" name="_msg_ok" id="_msg_ok" value="{$_L['OK']}">
<input type="hidden" name="_msg_cancel" id="_msg_cancel" value="{$_L['Cancel']}">
<input type="hidden" name="_msg_save" id="_msg_save" value="{$_L['Save']}">
<input type="hidden" name="_msg_add_new_type" id="_msg_add_new_type" value="{$_L['module_helpdesk new type']}">
<input type="hidden" name="_msg_type_name" id="_msg_type_name" value="{$_L['module_helpdesk type']}">
<input type="hidden" id="_msg_add_new_type_success" value="{$_L['module_helpdesk _msg_add_new_type_success']}">
<input type="hidden" id="_msg_add_new_priority_success" value="{$_L['module_helpdesk _msg_add_new_priority_success']}">