| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 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/leads_history/ |
Upload File : |
<div class="wrapper wrapper-content" style="padding-bottom: 0;">
<div class="row">
<div class="col-md-12">
<div class="ibox float-e-margins">
{if $show_header === true}
<div class="ibox-title">
<h5>{if $module_imobles_deal_id>0 }{$_L['module imobles edit service']}{else}{$_L['module imobles create service']}{/if} | {$crm_accounts["account"]} | {$crm_accounts["id"]} | {$crm_accounts["phone"]} </h5>
</div>
{/if}
<div class="ibox-content" id="ibox_form_entreprise">
<div class="alert alert-danger" id="emsg_deal">
<span id="emsgbody_deals"></span>
</div>
<form class="form-horizontal" id="form-deal" method="post" enctype="multipart/form-data">
<input name="id" id="id" type="hidden" value="{if isset($deal->id)}{$deal->id}{/if}">
<input name="crm_account_id" id="crm_account_id" type="hidden" value="{$crm_accounts["id"]}">
<div class="row">
<div class="col-sm-12 col-md-3">
<label class="control-label" >
{$_L['Title']} {$_L['*']}
</label>
<input name='title' value="{$deal->title}" class="form-control" maxLength=40>
</div>
<div class="col-sm-12 col-md-3">
<label class="control-label" >
{$_L['module_imobles deals first choice']}
</label>
<input name='first_choice' value="{$deal->first_choice}" class="form-control" maxLength=60>
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_engagement']}
</label>
<select name="engagement_id" id="engagement_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_engagement)}
{foreach $module_imobles_pipe_engagement as $m}
<option value="{$m->id}" {if $deal->engagement_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<div class="row">
<div class="col-sm-4 col-md-6">
<label class="control-label">
{$_L['module imobles deals passing_event_date']}
</label>
<input type="text" class="form-control date" name="passing_event_date" datepicker
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($deal->passing_event_date) && $deal->passing_event_date > '2023-01-00'}{date( $_c['df'], strtotime($deal->passing_event_date))}{/if}">
</div>
<div class="col-sm-4 col-md-6">
<label class="control-label">
{$_L['module imobles deals passing_event_type']}
</label>
<select name="passing_event_type" id="passing_event_type" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
<option value="call" {if $deal->passing_event_type=='call'}selected{/if}>{$_L['module imobles deals passing_event_type call']}</option>
<option value="in_person" {if $deal->passing_event_type=='in_person'}selected{/if}>{$_L['module imobles deals passing_event_type in_person']}</option>
<option value="video" {if $deal->passing_event_type=='video'}selected{/if}>{$_L['module imobles deals passing_event_type video']}</option>
<option value="other" {if $deal->passing_event_type=='other'}selected{/if}>{$_L['module imobles deals passing_event_type other']}</option>
</select>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_timing']}
</label>
<select name="timing_id" id="timing_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_timing)}
{foreach $module_imobles_pipe_timing as $m}
<option value="{$m->id}" {if $deal->timing_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{*<span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_vgv']}
</label>
<select name="vgv_id" id="vgv_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_vgv)}
{foreach $module_imobles_pipe_vgv as $m}
<option value="{$m->id}" {if $deal->vgv_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{*<span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_first_contact']}
</label>
<select name="first_contact_id" id="first_contact_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_first_contact)}
{foreach $module_imobles_pipe_first_contact as $m}
<option value="{$m->id}" {if $deal->first_contact_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{*<span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_stages name']} {if not empty($deal->stage_update_at)}| entrada em: {date( $_c['df'], strtotime($deal->stage_update_at))}{/if}
</label>
<select name="sale_stage_id" id="sale_stage_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_stages)}
{foreach $module_imobles_pipe_stages as $m}
<option value="{$m->id}" {if $deal->sale_stage_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{*<span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module_imobles deals ammount']}
</label>
<input name='deal_amount' value="{$deal->deal_amount}" class="form-control monetary">
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module_imobles deals commission']}
</label>
<input name='commission' value="{if $deal->commission}{number_format($deal->commission,2,$_c['dec_point'],$_c['thousands_sep'])}{/if}" class="form-control porcentage">
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_status']}
</label>
<select name="status_id" id="status_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_status)}
{foreach $module_imobles_pipe_status as $m}
<option value="{$m->id}" {if $deal->status_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_service_region']}
</label>
<select name="service_region_id" id="service_region_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_service_region)}
{foreach $module_imobles_pipe_service_region as $m}
<option value="{$m->id}" {if $deal->service_region_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-3 ">
<label class="control-label">
{$_L['module_imobles deals sdr']} {$_L["*"]}
</label>
<select name="sdr_id" id="sdr_id" class="form-control ">
{if not empty($sdr)}
<option value="{$sdr->id}" selected> {$sdr->fullname}</option>
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module_imobles deals seller']}
</label>
<select name="seller_id" id="seller_id" class="form-control ">
{if not empty($seller)}
<option value="{$seller->id}" selected> {$seller->fullname}</option>
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-12 col-md-3">
<label class="control-label">
{$_L['module_imobles deals account related']}
</label>
<select name="crm_account_related[]" multiple id="cliente_related" class="form-control selectBusca ">
{if not empty($client_related)}
{foreach $client_related as $m}
<option value="{$m->id}" selected> {$m->account}</option>
{/foreach}
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
<div class="col-sm-4 col-md-3">
<label class="control-label">
{$_L['module imobles module_imobles_pipe_lost_reason']}
</label>
<select name="lost_reason_id" id="lost_reason_id" class="form-control selectBusca ">
<option value="0" >{$_L['Select']}</option>
{if not empty($module_imobles_pipe_lost_reason)}
{foreach $module_imobles_pipe_lost_reason as $m}
<option value="{$m->id}" {if $deal->lost_reason_id==$m->id}selected{/if}> {$m->name}</option>
{/foreach}
{/if}
</select>
{* <span class="help-block"><a href="#" id="add_new_enterprise_amenities">{$_L['module imobles Add enterprise_amenities']}</a> </span>*}
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-3 ">
<label class="control-label" >
{$_L['module imobles deal expected_close_date']}
</label>
<input type="text" class="form-control date" name="expected_closed_date" datepicker
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($deal->expected_closed_date) && $deal->expected_closed_date > '2023-01-00'}{date( $_c['df'], strtotime($deal->expected_closed_date))}{/if}">
</div>
<div class="col-sm-12 col-md-3 ">
<label class="control-label" >
{$_L['module imobles deal created_at']}
</label>
<input readonly type="text" class="form-control" name=""
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($deal->created_at)}{date( $_c['df'], strtotime($deal->created_at))}{/if}">
</div>
<div class="col-sm-12 col-md-3 ">
<label class="control-label" >
{$_L['module imobles deal opp_created_at']}
</label>
<input readonly type="text" class="form-control" name=""
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($deal->opp_created_at)}{date( $_c['df'], strtotime($deal->opp_created_at))}{/if}">
</div>
<div class="col-sm-12 col-md-3 ">
<label class="control-label" >
{$_L['module imobles deal closed_at']}
</label>
<input type="text" class="form-control date" name="closed_at" datepicker
data-date-format="{$_c['formatDate']}" data-auto-close="true"
value="{if not empty($deal->closed_at) && $deal->closed_at > '2020-01-00'}{date( $_c['df'], strtotime($deal->closed_at))}{/if}">
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 ">
<label class="control-label" >
{$_L['module_imobles deals closing_journey']}
</label>
<textarea class="form-control" name="closing_journey" id="closing_journey" rows="3">{$deal->closing_journey}</textarea>
</div>
</div>
</form>
<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_deal">
<i class="fa fa-check"></i> {$_L['Submit']}
</a>
| <a href='#' class='cancel_view_deal_form'>{$_L['Or Cancel']}</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>