| Server IP : 162.214.74.102 / Your IP : 216.73.217.80 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/public_html/lrsys_apps/dialogo/ui/theme/lrsys/ |
Upload File : |
{include file="sections/header.tpl"}
<div class="wrapper wrapper-content">
<div class="row">
<div class="col-lg-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{$_L['List']} {if $type eq 'Product'} {$_L['Products']} {else} {$_L['Services']} {/if}</h5>
<div class="ibox-tools">
{if $type eq 'Product'}
<a href="{$_url}ps/p-list" class="btn btn-primary btn-xs">{$_L['List Products']}</a>
{/if}
{if $type eq 'Service'}
<a href="{$_url}ps/s-list" class="btn btn-primary btn-xs">{$_L['List Services']}</a>
{/if}
</div>
</div>
<div class="ibox-content" id="ibox_form">
<table class="table table-striped" >
<thead>
<tr>
<th>{$_L['Item Code']}</th>
<th>{if $type eq 'Product'} {$_L['Description']} {else} {$_L['Name']} {/if} </th>
<th>{$_L['Price']}</th>
</tr>
</thead>
<tbody>
<tr>
<th width="10%">{$prod_serv['id']}</th>
<th width="">{if $type eq 'Product'} {$prod_serv['description']} {else} {$prod_serv['name']}{/if} </th>
<th width="15%">{$prod_serv['sales_price']}</th>
</tr>
</tbody>
</table>
</div>
</div>
</div>'
<div class="col-md-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{$_L['Add Taxation']} - {$_L['UF Origin']} : {$estadoEmpresa['uf_state']}</h5>
</div>
<div class="ibox-content" id="taxation_form">
<div class="alert alert-danger" id="emsg">
<span id="emsgbody"></span>
</div>
<form class="form-horizontal" method="post" id="form" role="form">
<input type='hidden' name='id' value='{$prod_serv['id']}'>
<div class="row">
<div class="form-group col-sm-6" >
<label for="account" class="col-sm-4 control-label">{$_L['Condition']}</label>
<div class="col-sm-8">
<select id="comparation_condition_state" name="comparation_condition_state" class="form-control">
<option value="=">{$_L['Equal']}</option>
<option value="!=">{$_L['Not Equal']}</option>
</select>
</div>
</div>
<div class="form-group col-sm-6">
<label class="col-sm-4 control-label " for="state">{$_L['State Region']}{$_L['*']}</label>
<div class="col-sm-8">
<select name="state" id="state" class="form-control select2">
<option value="">{$_L['Select State']}</option>
{foreach $states as $fab}
<option value="{$fab['id']}">{$fab['uf_state']} - {$fab['state_name']}</option>
{/foreach}
</select>
</div>
</div>
<div class="form-group col-sm-6">
<label for="operacao" class="col-sm-4 control-label">{$_L['Operation']}</label>
<div class="col-sm-8">
<select id="operation" name="operation" class="form-control">
<option value="Sale">{$_L['Sale']}</option>
</select>
</div>
</div>
<div class="form-group col-sm-6">
<label class="col-sm-4 control-label"> {$_L['CST PIS/COFINS']}{$_L['*']}</label>
<div class="col-sm-8" style='margin-top:10px;'>
<input type="number" min='0' max='99999999999999' id="cst_pis_cofins" name="cst_pis_cofins" class="form-control" autocomplete="off">
</div>
</div>
</div>
<div class="row">
<div class="form-group col-lg-12">
<label class="col-lg-12" for="cfop">{$_L['Code Cfop']}{$_L['*']}</label>
<div class="col-lg-12">
<select name="cfop" id="cfop" class="form-control select2">
<option value="">{$_L['Select Options']}</option>
{foreach $cfop as $f}
<option value="{$f['id']}">{$f['code_cfop']} - {$f['desc_cfop']}</option>
{/foreach}
</select>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-9">
<button type="submit" id="submit" class="btn btn-primary"><i class="fa fa-check"></i> {$_L['Add']}</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-md-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{$_L['List Taxation']}</h5>
</div>
<div class="ibox-content">
<span class="help-block">
{$_L['For the correct identification of tax information. <br/> At least two entries are required: One equal to the state of origin and A different register of the state of origin.']} <br/></span>
{$_L['UF Origin']} : {$estadoEmpresa['uf_state']}
<table class="table table-bordered sys_table">
<thead>
<tr>
<th>{$_L['Condition']}</th>
<th>{$_L['UF Destiny']}</th>
<th>{$_L['Operation']}</th>
<th>{$_L['CST PIS/COFINS']}</th>
<th>{$_L['Code Cfop']}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach $tributacao as $trs}
<tr>
<td>{if $trs['comparation_condition_state']=='='}{$_L['Equal']}{else}{$_L['Not Equal']}{/if}</td>
<td>{$trs['uf']}</td>
<td>{$_L[$trs['operation']]}</td>
<td>{$trs['cst_pis_cofins']}</td>
<td>{$trs['code_cfop']} - {$trs['desc_cfop']}</td>
<td>
<form role="form" id="formdelete" method="post" action="{$_url}ps/taxation-delete-post/">
</form>
<button alt="Excluir" Onclick="ConfirmDelete({$trs['id']})" type="submit" class="btn btn-danger "><i class="fa fa-trash"></i> </button>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
<input type="hidden" id="_lan_no_results_found" value="{$_L['No results found']}">
{include file="sections/footer.tpl"}