| 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_fish/views/movement/ |
Upload File : |
<div id="ibox-form" class="wrapper wrapper-content">
<div class="row">
<div class="col-md-12">
<div class="ibox float-e-margins">
<div class="ibox-content" id="ibox_form">
<div class="alert alert-danger hide" id="emsg">
<span id="emsgbody"></span>
</div>
<div class="row">
<div class="col-md-12" style="">
<div class="ibox">
<div class="ibox-title">
<h5>{$_L['Module_Fish Data Movement']}</h5>
</div>
<div class="ibox-content" id="ibox_form">
<div class="row">
<div class="col-md-12">
<div class="formSpacer"><span class="labelView">{$_L['Module_Fish Title Lote']} - {$_L['Module_Fish Tank'] } {$_L['Origin']}: </span><span class="contentView"><b>{$movement['title_lote']}-{$movement['title_tank']}</b></span></div>
<div class="formSpacer"><span class="labelView">{$_L['Module_Fish Date execution Management']}: </span><span class="contentView"><b>{date($formatDateHour,strtotime($movement['date']))}</b></span></div>
<div class="formSpacer"><span class="labelView">{$_L['Module_Fish Date system execution']}: </span><span class="contentView"><b>{date($formatDateHour,strtotime($movement['created_at']))}</b></span></div>
<div class="formSpacer"><span class="labelView">{$_L['User']}: </span><span class="contentView"><b>{$movement['user_name']}</b></span></div>
</div>
</div>
<div style="overflow-x:auto">
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th colspan="2"> </th>
<th class="bg-green" style="text-align:center" colspan="3">Antes</th>
<th class="bg-blue" style="text-align:center" colspan="3">Movimentado</th>
<th class="bg-yellow" style="text-align:center" colspan="3">Resultado</th>
</tr>
<tr>
<th>{$_L['Type']}</th>
<th>{$_L['Module_Fish Title Lote']}</th>
<th class="bg-green">{$_L['Qty']}</th>
<th class="bg-green">{$_L['Module_Fish average weight']} (g)</th>
<th class="bg-green">{$_L['Module_Fish Biomass']} (kg)</th>
<th class="bg-blue">{$_L['Qty']}</th>
<th class="bg-blue">{$_L['Module_Fish average weight']} (g)</th>
<th class="bg-blue">{$_L['Module_Fish Biomass']} (kg)</th>
<th class="bg-yellow">{$_L['Qty']}</th>
<th class="bg-yellow">{$_L['Module_Fish average weight']} (g)</th>
<th class="bg-yellow">{$_L['Module_Fish Biomass']} (kg)</th>
</tr>
</thead>
<tbody>
<tr>
<td>{$_L['Module_Fish Date Group Origin']}</td>
<td>{$movement['title_lote']}-{$movement['title_tank']}</td>
<td>{$movement['qty']}</td>
<td >{number_format($movement['weight_actual']*1000,0,'','')}</td>
<td >{number_format($movement['weight_actual']*$movement['qty'],3,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td> {if $itens[0]['type']=='recont'}{$movement['qty']+$movement['qty_out']}{else}{$movement['qty']-$movement['qty_out']}{/if}</td>
<td> {number_format($movement['biometry']*1000,0,'','')}</td>
<td>
{if $itens[0]['type']=='recont'}
{number_format($movement['biometry']*($movement['qty']+$movement['qty_out']),3,$_c['dec_point'],$_c['thousands_sep'])}
{else}
{number_format($movement['biometry']*($movement['qty']-$movement['qty_out']),3,$_c['dec_point'],$_c['thousands_sep'])}
{/if}
</td>
</tr>
{foreach $itens as $i}
<tr>
<td>
{if $i['type']=='death'}{$_L['Module_Fish Death']}{/if}
{if $i['type']=='sale'}{$_L['Module_Fish Sale']}{/if}
{if $i['type']=='division'}{$_L['Module_Fish Division']}{/if}
{if $i['type']=='fusion'}{$_L['Module_Fish Fusion']}{/if}
{if $i['type']=='recont'}{$_L['Module_Fish Recont']}{/if}
</td>
<td>{$i['dataLote'][0]['title_lote']}-{$i['dataLote'][0]['title_tank']}</td>
<td> {if $i['type']=='fusion'}{$i['dataLote'][0]['qty']}{else} - {/if}</td>
<td> {if $i['type']=='fusion'}{number_format($i['dataLote'][0]['weight_actual']*1000,0,'','')}{else} - {/if}</td>
<td> {if $i['type']=='fusion'}{number_format($i['dataLote'][0]['weight_actual']*$i['dataLote'][0]['qty'],3,$_c['dec_point'],$_c['thousands_sep'])}{else} - {/if}</td>
<td>{$i['qty']}</td>
<td >{number_format($i['average_weight']*1000,0,'','')}</td>
<td >{number_format($i['average_weight']*$i['qty'],3,$_c['dec_point'],$_c['thousands_sep'])}</td>
{if $i['type']=='recont'}
<td></td><td></td><td></td>
{elseif $i['type']=='fusion' }
<td>{$i['qty']+$i['dataLote'][0]['qty']}</td>
<td >{number_format($i['biometry']*1000,0,'','')}</td>
<td >{number_format(($i['biometry']*($i['qty']+$i['dataLote'][0]['qty'])),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
{else}
<td>{$i['qty']}</td>
<td >{number_format($i['average_weight']*1000,0,'','')}</td>
<td >{number_format(($i['average_weight']*$i['qty']),3,$_c['dec_point'],$_c['thousands_sep'])}</td>
{/if}
</tr>
{/foreach}
{if $itens[0]['type']!='recont'}
<tr>
<td colspan="4"></td>
<td class="bg-dark" style="text-align:right">Total</td>
<td>{$movement->qty_out}</td>
{* <td>{number_format($movement->average_weight_out*1000,0,'','')}</td>*}
<td>{number_format(($movement->total_weight_movement/$movement->qty_out)*1000,0,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{number_format($movement->total_weight_movement,3,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{$movement->total}</td>
{*<td>{number_format($movement->total_average_weight*1000,0,'','')}</td>*}
<td>{number_format(($movement->total_biomass/$movement->total)*1000,0,$_c['dec_point'],$_c['thousands_sep'])}</td>
<td>{number_format($movement->total_biomass,3,$_c['dec_point'],$_c['thousands_sep'])}</td>
</tr>
{/if}
</tbody>
</table>
</div>
<div class="row">
<hr>
<div class="right">
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_fish/movement/listMovement" class="btn btn-link">{$_L['Back']}</a>
<a href="{$_url}{if isset($client)}{'client/'}{/if}module_fish/movement/add" class="btn btn-success">{$_L['Module_Fish Add Movement']}</a>
<a href="#" onclick="ConfirmDelete({$movement['id']})" class="btn btn-danger"
data-toggle="tooltip" title="{$_L['Module_Fish Undo']}">
{$_L['Module_Fish Undo']}
</a>
<form action="{$_url}{if isset($client)}{'client/'}{/if}module_fish/movement/delete" method="post" id="formdelete"></form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>