| 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/marisol/application/plugins/module_teammanagement/views/ar/ |
Upload File : |
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<a href="{$_url}module_teammanagement/ar/add" class="btn btn-success">
<i class="fa fa-plus"></i> {$_L['module_teammanagement ar Add']}
</a>
</div>
<div class="panel-body">
<form action="{U}module_teammanagement/product/listAll" method="post" id="form-filter" class="search" autocomplete="off">
<input type="hidden" name="filter" value='Y'>
<input type="hidden" name="items_per_page" value="{if isset($filter['items_per_page'])}{$filter['items_per_page']}{/if}">
<input type="hidden" name="situation" value='{if isset($filter['filter_module_teammanagement_product_situation'])}{$filter['filter_module_teammanagement_product_situation']}{/if}'>
<div class="row">
<div class="col-md-4 col-sm-12 col-xs-12">
<label class="control-label" for="store_id">
{$_L['teammanagement branch']}
</label>
<select name="store_id" id="store_id" class="form-control " required>
{$store}
</select>
</div>
<div class="col-md-4 no-padding">
<div class="col-md-12">
<label class="control-label" >
{$_L['Situation']}
</label>
</div>
<div class="col-md-12">
<div class="btn-group">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
{if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] != '' && $filter['filter_module_teammanagement_product_situation'] != 'all'}
{if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] == 1}{$_L['module_teammanagement Enable']}{/if}
{if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] == 0} {$_L['module_teammanagement Disabled']}{/if}
{else}
{$_L['All']}
{/if}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" id="filter-situation">
<li class="dropdown-header">{$_L['Situation']}</li>
<li role="separator" class="divider"></li>
<li data-type='situation' {if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] == 'all'} class="active"{/if}>
<a data-type='situation' data-val="all" href="#">{$_L['All']}</a>
</li>
<li {if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] == '1'} class="active"{/if}>
<a data-type='situation' data-val="1" href="#">{$_L['module_teammanagement Enable']}</a>
</li>
<li {if isset($filter['filter_module_teammanagement_product_situation']) && $filter['filter_module_teammanagement_product_situation'] == '0'} class="active"{/if}>
<a data-type='situation' data-val="0" href="#">{$_L['module_teammanagement Disabled']}</a>
</li>
</ul>
</div>
<a class="btn btn-primary" id="filter-clear" href="#">
<i class="fa fa-eraser"></i> {$_L['Clean Filter']}
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<br/>
<small>{$_L['Page']} {$paginator->current_page} de {$paginator->total_pages}.</small>
</div>
<div class="col-md-1">
<div class="dropdown inline margin-10px0">
<select class="form-control input-sm select-custom" id="items_per_page">
<option {if $filter['items_per_page'] == 5}selected="selected"{/if} value="5">5</option>
<option {if $filter['items_per_page'] == 10}selected="selected"{/if} value="10">10</option>
<option {if $filter['items_per_page'] == 50}selected="selected"{/if} value="50">50</option>
<option {if $filter['items_per_page'] == 100}selected="selected"{/if} value="100">100</option>
<option {if $filter['items_per_page'] == 500}selected="selected"{/if} value="500">500</option>
<option {if $filter['items_per_page'] == all}selected="selected"{/if} value="all">Todos</option>
</select>
</div>
</div>
<div class="col-md-11">
<ul class="pagination pagination-xs margin-10px0">
{assign var=url value=U|cat:'module_teammanagement/product/listAll/'}
{$paginator->paginate($url)}
</ul>
</div>
</div>
</form>
<br/>
<table class="table table-bordered table-hover sys_table footable" data-filter="#foo_filter" data-page-size="50">
<thead>
<tr>
<th class="col-xs-1">#</th>
<th>{$_L['Title']}</th>
<th>{$_L['teammanagement branch']}</th>
{* <th class="col-xs-1">{$_L['module_teammanagement qty']}</th>*}
<th class="col-xs-2">{$_L['Action']}
<form action="{$_url}module_teammanagement/product/delete" method="post" id="formdelete"></form>
<form action="{$_url}module_teammanagement/product/active" method="post" id="formactive"></form>
</th>
</tr>
</thead>
<tbody>
{if count($products) > 0}
{foreach $products as $d}
<tr>
<td>{$d['id']}</td>
<td>{$d['title']}</td>
<td>{$d['account_branch']}</td>
{* <td>{$d['qty']}</td>*}
<td>
<a href="{$_url}module_teammanagement/product/edit/{$d['id']}" class="btn btn-xs btn-warning"
data-toggle="tooltip" title="{$_L['Edit']}">
<i class="fa fa-pencil"></i>
</a>
<a href="#" onclick="ConfirmDelete({$d['id']})" class="btn btn-xs btn-danger"
id="c{$d['id']}" data-toggle="tooltip" title="{$_L['Delete']}">
<i class="fa fa-trash"></i>
</a>
<input name="situation" type="checkbox" data-id="{$d['id']}" class="btn btn-primary btn-xs" value="1"
data-toggle="toggle" data-size="small" data-on="{$_L['module_teammanagement Enable']}" data-off="{$_L['module_teammanagement Disabled']}"
{if $d['situation']==1}checked{/if}>
</td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="5">
{$_L['No_Records_Found']}
</td>
</tr>
{/if}
</tbody>
</table>
<div class="col-md-12">
<ul class="pagination pagination-xs">
{$paginator->paginate($url)}
</ul>
</div>
</div>
</div>
</div>
</div>