AnonSec Shell
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/hexagon/application/plugins/module_helpdesk/views/ticket/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/hexagon/application/plugins/module_helpdesk/views/ticket/add_offline.tpl
<div class="wrapper wrapper-content" id='content-modal-add-ticket' style="padding-bottom: 0;">
    {$can_edit = true}


    <div class="row">

        <div class="col-md-12">

            <div class="ibox float-e-margins">

                <div class="ibox-content" id="ibox_form">

                    <div class="alert alert-danger" id="emsg-add-ticket">
                        <span id="emsgbody-modal-add-ticket"></span>
                    </div>


                    <ul class="nav nav-tabs">
                        <li class="active"><a style="" data-toggle="tab" href="#general_data_form_offline">{$_L['module_helpdesk data ticket'] }</a></li>
                        <li><a data-toggle="tab" href="#attachment_div_form_offline">{$_L['module_helpdesk Attachment']}</a></li>
                    </ul>

                    <form class="form-horizontal" id="form-ticket-add" method="post" enctype="multipart/form-data"   >
                        <input name="id_offline" id="id_offline" type="hidden" value="">
                        <input name="begin_at" id="begin_at_offline" type="hidden" value="">
                      
                        <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_form_offline" class="tab-pane fade in active">

                                <div class="row">

                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" for="title">
                                            {$_L['Customer']} {$_L['*']}
                                        </label>
                                        <select name="client_id" id="client_id" required="" style="width:100%" class=" select2AddTicket form-control ">
                                            {if not empty($client)}
                                                <option value="">{$_L['Select']}</option>
                                                {foreach $client as $cl}
                                                    <option value="{$cl->id}" > {$cl->account}</option>
                                                {/foreach}
                                            {/if}
                                        </select>
                                    </div>

                                    {* GUARDO OS CLIENTES QUE PRECISAM DE PROVEDOR *}
                                    {if not empty($cost_center_provider)}
                                        <div id="cost_center_provider" data-array='[{implode(',', $cost_center_provider)}]'></div>
                                    {/if}
                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk provider']} {$_L['*']}
                                        </label>
                                        <select name="provider_id" id="provider_id" class="form-control select2AddTicket" >
                                            <option value="">{$_L['Select']}</option>
                                            {foreach $provider as $pr}
                                                <option value="{$pr->id}" > {$pr->account}</option>
                                            {/foreach}
                                        </select>
                                    </div>
                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk priority']}  {$_L['*']}
                                        </label>
                                        <select name="module_helpdesk_tickets_priority_id"required=""  style="width:100%" id="module_helpdesk_tickets_priority_id" class=" select2AddTicket form-control " >
                                            {if not empty($priority)}
                                                <option value="">{$_L['Select']}</option>
                                                {foreach $priority as $priority_ticket}
                                                    <option value="{$priority_ticket->id}" > {if $priority_ticket->default==1}{$_L[$priority_ticket->name]}{else} {$priority_ticket->name}{/if} </option>
                                                {/foreach}
                                            {/if}
                                        </select>

                                    </div>
                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" for="title">
                                            {$_L['module_helpdesk ticket category']} {$_L['*']}
                                        </label>
                                        <select name="module_helpdesk_tickets_cat_id" required=""  id="module_helpdesk_tickets_cat_id" style="width:100%"  class="select2AddTicket form-control " >

                                            {if not empty($cat)}
                                                <option value="">{$_L['Select']}</option>
                                                {foreach $cat as $cat_ticket}
                                                    <option value="{$cat_ticket->id}" selected> {$cat_ticket->title}</option>
                                                {/foreach}
                                            {/if}
                                        </select>

                                    </div>

                                </div>


                                <div class="row">
                                    {* <div class="col-sm-12 col-md-4 ">
                                    <label class="control-label" >
                                    {$_L['module_helpdesk responsible']} 
                                    </label>
                                    <select name="responsible_id" id="responsible_id" style="width:100%"  class="select2AddTicket form-control " >
                                    {if not empty($responsible)}
                                    <option value="">{$_L['Select']}</option>
                                    {foreach $responsible as $r}
                                    <option value="{$r->id}" > {$r->account}</option>
                                    {/foreach}
                                    {/if}
                                    </select>

                                    </div> *} 
                                    <input type="hidden" name='responsible_id' id="responsible_id" value="{$responsible_id}">
                                    {* <div class="col-sm-12 col-md-4 ">
                                        <label class="control-label" for="">
                                            {$_L['Status']} {$_L['*']}
                                        </label>
                                        <select name="status" style="width:100%"  id="status" class="select2AddTicket form-control" {if $can_edit == false}disabled{/if}>
                                            <option selected value = "Open" >{$_L['module_helpdesk status Open']}</option>
                                            <option  value = "Atendence">{$_L['module_helpdesk status Atendence']}</option>
                                            <option  value = "Closed">{$_L['module_helpdesk status Closed']}</option>
                                        </select>
                                    </div> *}
                                    <input type="hidden" name="status"  id="status" value="Atendence">
                                </div>
                                <div class="row">
                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk type']}  {$_L['*']}
                                        </label>
                                        <select name="module_helpdesk_tickets_treatment_type_id" required=""  id="module_helpdesk_tickets_treatment_type_id" style="width:100%"  class="form-control  select2AddTicket"  >
                                            {if not empty($type)}
                                                <option value="0">{$_L['Select']}</option>
                                                {foreach $type as $type_ticket }
                                                    <option value="{$type_ticket->id}" >{if $type_ticket->default==1}{$_L[$type_ticket->name]}{else} {$type_ticket->name}{/if}</option>
                                                {/foreach}
                                            {/if}
                                        </select>
                                    </div>
                                    {$ocult="hide"}
                                    {if not empty($type_ticket)}
                                        {if $type_ticket->id==2}
                                            {$ocult=""}
                                        {/if}
                                    {/if}
                                    <div class="col-sm-12 col-md-8 inputbytype type2   {$ocult}">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk type local assistence']}
                                        </label>
                                        <input name='treatment_type_local' value="" class="form-control">
                                    </div>
                                    {$ocult="hide"}
                                    {if not empty($type_ticket)}
                                        {if $type_ticket->id==3}
                                            {$ocult=""}
                                        {/if}
                                    {/if}
                                    <div class="col-sm-12 col-md-8 inputbytype type3   {$ocult}">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk add atach fical note']}
                                        </label>
                                        {* <div action="" class="dropzone dz-clickable drp_small" id="upload_container_attachment_type_atendence">
                                        <div class="dz-message">
                                        <h3> <i class="fa fa-cloud-upload"></i>{$_L['module_helpdesk upload add']}</h3>
                                        <br>
                                        <span class="note">{$_L['Or Click to Upload']}</span>
                                        </div>
                                        </div>*}
                                        <input type="file" class='fl-upload' multiple name="attachment_type_atendence_file[]" id="attachment_type_atendence_file"  value="" >  
                                    </div>
                                </div>
                                <div class="row">

                                    <div class="col-sm-12 col-md-4">
                                        <label class="control-label" for="title">
                                            {$_L['Category']} {$_L['*']}
                                        </label>
                                        <select name="product_cat_id" id="product_cat_id" required=""  style='width:100%' class="select2AddTicket form-control ">
                                            {if not empty($category)}
                                                <option value="">{$_L['Select']}</option>
                                                {foreach $category as $c}
                                                    {if $c['name_parent']==null}
                                                        <option  value="{$c['id']}" >   {$c['name']}</option>
                                                    {else}
                                                        <option  value="{$c['id']}" >   {$c['name_parent']} > {$c['name']} </option>
                                                    {/if}
                                                {/foreach}
                                            {/if}
                                        </select>

                                    </div>

                                    <div class="col-sm-12 col-md-8">
                                        <label class="control-label" >
                                            {$_L['module_helpdesk products']}  {$_L['*']}
                                        </label>
                                        <select name="product_id[]" id="product_id" required=""  style="width:100%" class=" select2AddTicket form-control " multiple="" >
                                          
                                        </select>
                                        <div id='option_products_new_ticket_offline' class='hide'>
                                            {if not empty($products)}
                                                {foreach $products as $product}
                                                    <option data-category="{$product->category_id}" value="{$product->id}"> ({$product->id})  {$product->description}</option>
                                                {/foreach}
                                            {/if}  
                                        </div>
                                        
                                    </div>

                                    {if $client_id > 0 }
                                        <div class="col-sm-12 col-md-4 inputbytype type2">
                                            <label class="control-label" >
                                                Nome Solicitante
                                            </label>
                                            <input name='treatment_type_local' value=" {$ticket->treatment_type_local}" class="form-control">
                                        </div>
                                        <div class="col-sm-12 col-md-8 inputbytype type2">
                                            <label class="control-label" >
                                                Email Solicitante
                                            </label>
                                            <input name='treatment_type_local' value=" {$ticket->treatment_type_local}" class="form-control">
                                        </div>
                                    {else}
                                        <div class="col-sm-12 col-md-8">
                                            <label class="control-label" for="title">
                                                {$_L['module_helpdesk ticket form select']} {$_L['*']}
                                            </label>
                                            <select name="form_id" id="form_id" class="form-control " >
                                                <option value="">{$_L['Select']}</option>
                                                {foreach $forms as $form}
                                                    <option value="{$form->id}"> {$form->title}</option>
                                                {/foreach}
                                            </select>
                                        </div>

                                    {/if}
                                </div>
                                <div class="row">
                                    <div class="col-md-12 col-sm-12 col-xs-12">
                                        <label class="control-label" for="title">
                                            {$_L['module_helpdesk description']} <small class="red">*</small>
                                        </label> 

                                        <textarea class="form-control"  name="description"  id="description"
                                                  rows="5"></textarea>


                                    </div>
                                </div>
                            </div>  


                            <!-- ANEXOS -->
                            <div id='attachment_div_form_offline' class="tab-pane fade">   
                                <div class="row">

                                    <div class="col-sm-12 col-md-12 col-xs-12">

                                        <label class="control-label" for="title">
                                            {$_L['module_helpdesk Document Attachment']}
                                        </label>

                                        {*  <div action="" class="dropzone dz-clickable drp_small" id="upload_container_attachment">
                                        <div class="dz-message">
                                        <h3> <i class="fa fa-cloud-upload"></i>{$_L['module_helpdesk upload add']}</h3>
                                        <br>
                                        <span class="note">{$_L['Or Click to Upload']}</span>
                                        </div>*}
                                        <input class='fl-upload' type="file" name="attachment_file[]" multiple id="attachment_file" value="">

                                    </div>


                                </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-modal">
                                <i class="fa fa-check"></i> {$_L['Submit']}
                            </a>
                        </div>
                    </div>
                </div>

                </form>
            </div>
        </div>
    </div>
</div>

Anon7 - 2022
AnonSec Team