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/hering/application/plugins/module_fish/views/associated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/hering/application/plugins/module_fish/views/associated/detail.tpl
<div class="row">

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

         <div class="ibox">
            <div class="ibox-title">
                <h5>{$_L['Module_Fish Vision detalhed']} - {$crm_account->account}</h5>
            </div>
            <div class="ibox-content" id="ibox_form">
           
        <div class="panel panel-default">
            <div class="panel-body">
                <div class='row'>
                    <div class="col-xs-12">
                        <form action="{U}module_fish/associated/detail/{if isset($filter['crm_accounts_id'])}{$filter['crm_accounts_id']}{/if}" method="post"  id="form-filter" class="search">
                            <div class="col-lg-5 col-md-5 col-sm-12">

                                <div id="treeview_lotes" style="margin-top:10px" class="treeview">

                                <label for="Lotes">Lotes</label>
                                <div class="row">
                                  <div class="col-md-12 col-sm-12">
                                    <a class="selecionar_todos btn btn-default btn-xs" href="#" onclick="selecionarTodos(); return false;">Selecionar Todos</a>
                                    <a class="limpar_selecao btn btn-default btn-xs" href="#" onclick="limparSelecao(); return false;">Limpar Seleção</a>
                                  </div>
                                </div>

                                <div class='top15'>&nbsp;</div>
                                <div class="" style="position: relative; overflow: hidden; width: auto;">
                                    <ul  class="filetree treeview-famfamfam scroller" style="margin-left: -30px;list-style-type: none; overflow: hidden; width: auto;">
                                     {assign var=lote value=""}
                                     {foreach $allLots as $a}
                                        {if $lote!=$a['id']}
                                            {if $lote!=""}
                                                 </ul>
                                                    </li>
                                            {/if}
                                            <li class="closed expandable"><div class="hitarea closed-hitarea expandable-hitarea"></div>
                                            <div class="">
                                                <i class='fa fa-plus open_close open_close_{$a['id']}' data-group='{$a['id']}'></i>
                                                <input value="{$a['id']}" id='lote_{$a['id']}' class="all_checks group_lote"  type="checkbox"><label for="lote_{$a['id']}">{$a['title_lote']}</label></div>
                                            <ul style="list-style-type: none;"  class='hide list_group_{$a['id']}'>
                                            {assign var=lote value=$a['id']}
                                        {/if}
                                        <li>
                                            <div class="" id="">
                                                <input class="all_checks lote group_lote_{$a['id']}" data-group='{$a['id']}' {if in_array($a['lote_id'],$filter['lote_id'])}checked='checked'{/if} id="lote_id_{$a['lote_id']}" name="lote_id[]" value="{$a['lote_id']}" type="checkbox"><label for="lote_id_{$a['lote_id']}">{$a['title_tank']}</label>
                                            </div>
                                        </li>

                                {/foreach}
                                {if $lote!=""}
                                        </ul>
                                    </li>
                                {/if}
                                </ul><div class="slimScrollBar" style="background: rgb(161, 178, 189) none repeat scroll 0% 0%; width: 7px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 240px;"></div><div class="slimScrollRail" style="width: 7px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; background: rgb(51, 51, 51) none repeat scroll 0% 0%; opacity: 0.2; z-index: 90; right: 1px;"></div></div>
                            </div>
                        </div>
			<div class="col-lg-7 col-md-7 col-sm-12">
                            <br/><br/>
                            <div class='col-md-12'>
			      
                                    <select id="module_fish_species_id" name='module_fish_species_id[]' class="form-control associated_select" multiple>
                                        {$species}
                                    </select>
                              
                            </div>
                        <div class='col-md-12'>
                            <br/>
                                <div class="btn-group">
                                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                                    aria-haspopup="true" aria-expanded="false">
                                            <i class="fa fa-calendar"></i>
                                           
                                                    {$_L['Period']} {$_L['Module_Fish Settlement']}
                                                                                                      {if (isset($filter['period_ini']) && !empty($filter['period_ini'])) || (isset($filter['period_end'])&& !empty($filter['period_end']))}<i class="fa fa-check text-success"></i>{/if}
                                             <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-period" id="filter-period">
                                            <li>
                                                    <div class="col-md-12">
                                                            {$_L['Outset']}: <input type="text" class="form-control" name="period_ini" data-date-format="dd/mm/yyyy"
                                                                       value="{if isset($filter['period_ini'])}{implode('/', array_reverse(explode('-', $filter['period_ini'])))}{/if}" datepicker>
                                                    </div>
                                            </li>
                                            <li>
                                                    <div class="col-md-12">
                                                            {$_L['End']}: <input type="text" class="form-control" name="period_end" data-date-format="dd/mm/yyyy"
                                                                       value="{if isset($filter['period_end'])}{implode('/', array_reverse(explode('-',$filter['period_end'])))}{/if}" datepicker>
                                                    </div>
                                            </li>
                                            <li>
                                                    <div class="col-md-12"><br>
                                                            <a id="period-filter-interval" class="btn btn-primary btn-xs" href="#">{$_L['Filtrate']}</a>
                                                    </div>
                                            </li>
                                    </ul>
                               </div>
                            
                                <div class="btn-group">
                                    
                                   
                                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                                    aria-haspopup="true" aria-expanded="false">
                                            <i class="fa fa-calendar"></i>
                                                    {$_L['Module_Fish average weight']}
                                                    {if (isset($filter['average_weight_ini']) && !empty($filter['average_weight_ini'])) || (isset($filter['average_weight_end'])&& !empty($filter['average_weight_end']))}<i class="fa fa-check text-success"></i>{/if}
                                        
                                             <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-period" id="filter-period">
                                                                              
                                            <li>
                                                <div class="col-md-12">
                                                        {$_L['Module_Fish Weight of']} Kg: <input type="text" class="form-control weight_kg" name="average_weight_ini" 
                                                                   value="{if isset($filter['average_weight_ini'])}{$filter['average_weight_ini']}{/if}">
                                                </div>
                                            </li>
                                            <li>
                                                <div class="col-md-12">
                                                        {$_L['Module_Fish Weight Up']} Kg: <input type="text" class="form-control weight_kg" name="average_weight_end" 
                                                       value="{if isset($filter['average_weight_end'])}{$filter['average_weight_end']}{/if}">
                                                </div>
                                            </li>
                                            <li>
                                                <div class="col-md-12"><br>
                                                        <a id="average-filter-interval" class="btn btn-primary btn-xs" href="#">{$_L['Filtrate']}</a>
                                                </div>
                                            </li>
                                    </ul>
                               </div>
                                <div class="btn-group">
                                    
                                   
                                    <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                                                    aria-haspopup="true" aria-expanded="false">
                                            <i class="fa fa-calendar"></i>
                                                    {$_L['Module_Fish Biomass']} Kg
                                                    {if (isset($filter['biomass_ini']) && !empty($filter['biomass_ini'])) || (isset($filter['biomass_end'])&& !empty($filter['biomass_end']))}<i class="fa fa-check text-success"></i>{/if}
                                        
                                             <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-period" id="filter-period">
                                                                              
                                            <li>
                                                <div class="col-md-12">
                                                        {$_L['Module_Fish Biomass initial']} Kg: <input type="text" class="form-control weight_kg" name="biomass_ini" 
                                                                   value="{if isset($filter['biomass_ini'])}{$filter['biomass_ini']}{/if}">
                                                </div>
                                            </li>
                                            <li>
                                                <div class="col-md-12">
                                                        {$_L['Module_Fish Biomass finish']} Kg: <input type="text" class="form-control weight_kg" name="biomass_end" 
                                                       value="{if isset($filter['biomass_end'])}{$filter['biomass_end']}{/if}">
                                                </div>
                                            </li>
                                            <li>
                                                <div class="col-md-12"><br>
                                                        <a id="average-filter-interval" class="btn btn-primary btn-xs" href="#">{$_L['Filtrate']}</a>
                                                </div>
                                            </li>
                                    </ul>
                               </div>
                        </div>
                               
                </div>
                            <div class="col-xs-12">
                                <a class="btn btn-primary" id="filter-search" href="#">
                                    <i class="fa fa-search"></i> {$_L['Filter']}
                                </a>
                                    
                                <a class="btn btn-default" id="filter-clear" href="#">
                                        <i class="fa fa-eraser"></i> {$_L['Clean Filter']}
                                </a>
                            </div>
                            <div class="col-xs-12">
                                <button class="btn btn-warning pull-right"  name='export' value='export'>
                                   <i class="fa fa-download"></i> {$_L['Export']}
                                </button>
                            </div>
                            </form>
                        </div>
                   
                    </div>    
                <br/><br/>
                <div style="overflow-x:auto">          
                {if count($settlements) > 0}
                    <table class="table table-bordered table-hover sys_table footable"  data-filter="#foo_filter" data-page-size="50">
                       
                        <thead>
                            <tr>
                            
                                <th>{$_L['Module_Fish Title Lote']}</th>
                                <th>{$_L['Module_Fish Tank'] }</th>
                                <th>{$_L['Module_Fish Date Settlement']}</th>
                                <th>{$_L['Species_List_Fish']}</th>
                                <th>{$_L['Module_Fish Initial Qty Px']}</th>
                                <th>{$_L['Module_Fish Weight start']  }(g) </th>
                                <th> {$_L['Module_Fish Initial Bio']}  </th>
                                <th> {$_L['Module_Fish Days Village']}  </th>
                                <th> {$_L['Module_Fish Days Expected']}  </th>
                                <th> {$_L['Module_Fish Quantity (und)']}  </th>
                                
                                <th>{$_L['Module_Fish Weight estimated']} (g)</th>
                                <th>{$_L['Module_Fish Weight Expected']  } (g)</th>
                                
                                <th>{$_L['Module_Fish Estimated Weight vs. Expected Weight Ratio'] }</th>
                                
                                <th>{$_L['Module_Fish Biomass estimated']}</th>
                                <th>{$_L['Module_Fish Biomass Expected'] }</th>
                                
                                <th>{$_L['Module_Fish Total Weight Gain (g)']}</th>
                                <th>{$_L['Module_Fish Diary Weight Gain diary (g)']}</th>
                                
                                
                                
                                <th>{$_L['Module_Fish Mortality']}  </th>
                                <th>{$_L['Module_Fish % Mortality']}  </th>
                                <th>{$_L['Module_Fish Biomass Mortality (kg)']}  </th>
                                <th>{$_L['Module_Fish % Survival']}  </th>

                                <th>{$_L['Module_Fish Last Biometrics (g)']}  </th>
                                <th>{$_L['Module_Fish Biomass of Last Biometry (kg)'] }  </th>
                                <th>{$_L['Module_Fish Date Last Weigh']}  </th>
                                
                            </tr>
                        </thead>
                        <tbody>
                    
                            {foreach $settlements as $d}
                                <tr>
                                    <td>{$d['title_lote']}</td>
                                    <td>{$d['title_tank']}</td>
                                    <td>{date($_c['df'],strtotime($d['date_settlement']))}</td>
                                    <td>{$d['popular_name']} - {$d['scientific_name']}</td>
                                    <td>{$d['qty']}</td>
                                    <td>{number_format(($d['average_weight']*1000),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format(($d['average_weight']*$d['qty']),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{$d['days_settlement']}</td>
                                    <td>{$d['days_finish_program']}</td>
                                    <td>{$d['qty_actual']}</td>
                                    
                                    <td>{number_format(($d['lastBiometry']['average_weight']*1000),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format(($d['total_weight']*1000),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    
                                    <td>{number_format((($d['lastBiometry']['average_weight']*100)/$d['total_weight']),2,$_c['dec_point'],$_c['thousands_sep'])} %</td>
                                    
                                    <td>{number_format(($d['lastBiometry']['average_weight']*$d['qty_actual']),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format(($d['total_weight']*$d['qty_actual']),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                     
                                    <td>{number_format(($d['lastBiometry']['average_weight']*1000)-($d['average_weight']*1000),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                     <td>{number_format(((($d['lastBiometry']['average_weight']*1000)-($d['average_weight']*1000))/$d['days_settlement']),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                   
                                    
                           
                                    <td>{$d['total_death']}</td>
                                    <td>{number_format(($d['total_death']*100)/$d['qty'],2,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format($d['total_biomass_death'],3,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format(100-(($d['total_death']*100)/$d['qty']),2,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                               
                    
                    
                                    <td>{number_format(($d['lastBiometry']['average_weight']*1000),0,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{number_format(($d['lastBiometry']['average_weight']*$d['qty_actual']),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
                                    <td>{date($_c['df'],strtotime($d['lastBiometry']['date']))}</td>

                                </tr>
                            {/foreach}
                        </tbody>
                    </table>
                         {else}
                           <div class='alert alert-warning'>
                                    {$_L['Module_Fish Select the Filters']}
                           </div>
                        {/if}
                </div>
            </div>
        </div>
            </div></div></div></div>

Anon7 - 2022
AnonSec Team