| 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/leo/application/plugins/module_imobles/views/deals/ |
Upload File : |
{if $id>=1}
{$title_action = $_L['module imobles edit deals task']}
{else}
{$title_action = $_L['module imobles add deals task']}
{/if}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>{$title_action}</h3>
</div>
<div class="modal-body">
<div class="alert alert-danger" id="emsg-form-task">
<span id="emsgbody-form-task"></span>
</div>
<form class="form-horizontal " id="form-post-task" method="post" onsubmit="return false;">
<input name="id" type="hidden" value="{$id}">
<div class="row">
<div class="col-xs-6 col-md-12 {if $profile_view == 1}hide{/if}">
<label class="control-label" > {$_L['module_imobles_crm_service']} </label>
<select name="deal_id" id="deal_id_form" class="form-control ">
{if isset($deal)}
{foreach $deal as $c}
<option selected="" value="{$c->id}">{$c->title}</option>
{/foreach}
{/if}
</select>
</div>
<div class="col-md-6 ">
<label class="control-label" > {$_L['module imobles create service responsible' ]} </label>
<select name="responsible_id" id="form_responsible_id" class="form-control ">
<option value="">{$_L['module imobles All']}</option>
{if isset($responsible)}
{foreach $responsible as $c}
<option selected value="{$c->id}">{$c->fullname}</option>
{/foreach}
{/if}
</select>
</div>
<div class="col-md-6 ">
<label class="control-label" > {$_L['Type' ]} </label>
<select name="type" id="form_type" class="form-control ">
<option value="" >{$_L['Select']}</option>
<option value="followup" {if isset($task->type) && $task->type=='followup'}selected{/if}>{$_L['module_imobles_task_followup']}</option>
<option value="meeting" {if isset($task->type) && $task->type=='meeting'}selected{/if}>{$_L['module_imobles_task_meeting']}</option>
<option value="delivery" {if isset($task->type) && $task->type=='delivery'}selected{/if}>{$_L['module_imobles_task_delivery']}</option>
</select>
</div>
<div class="col-xs-12 col-md-8 " style="">
<label class="control-label" for="">
{$_L['Title']} {$_L['*']}
</label>
<input type="text" name="title" value="{$task->title}" class="form-control" maxlength="90">
</div>
<div class="col-xs-12 col-md-4 " style="">
<label class="control-label" for="">
{$_L['module imobles deals tasks term']} {$_L['*']}
</label>
<input type="text" class="form-control" name="due_date" id="due_date"
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($task->due_date)}{date( $_c['df'], strtotime($task->due_date))}{/if}">
</div>
<div class="col-xs-12 col-md-12 " style="">
<label class="control-label" for="">
{$_L['Description']}
</label>
<textarea class="form-control" maxlength="270" name="description" id="task_description"
rows="3">{$task->description}</textarea>
</div>
<div class="col-md-6 col-sm-12 col-xs-12">
<label class=" control-label" >{$_L['module imobles crm_journey_stages responsible account']}</label>
<br/>
<input type="checkbox" data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" {if $task->client_responsibility==1}checked{/if} name="client_responsibility" value="1">
</div>
{if $id>=1}
<div class="col-md-6 col-sm-12 col-xs-12">
<label class=" control-label" >{$_L['module imobles deals status close']}</label>
<br/>
<input type="checkbox" data-toggle="toggle" data-size="small" data-on="{$_L['Yes']}" data-off="{$_L['No']}" name="closed" {if $task->closed==1}checked{/if} value="1">
</div>
{/if}
</div>
</form>
</div>
<div class="modal-footer">
{if $id>=1}
<button class="btn btn-primary submit_task" data-id='{$id}' type="submit">
<i class="fa fa-save"></i> {$_L['Save']}
</button>
{else}
<button class="btn btn-primary submit_task" data-id='{$id}' type="submit">
<i class="fa fa-plus"></i> {$_L['Add']}
</button>
{/if}
<a href="#" class="cancel_task" data-dismiss="modal"> | {$_L['Or Cancel']}</a>
</div>