AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.114
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/regional/application/plugins/module_stock/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/regional/application/plugins/module_stock/views/item.tpl
<div class="modal-dialog" role="document" id="ins_release" style="display: none;">
	<div class="modal-content">
	  <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	    <h4 class="modal-title" id="a">{$_L['Stock release']}</h4>
	  </div>
	  <div class="modal-body">
	    <form class="form-group" method="post" id="addForm">
			<div class="row">
				<div class="col-md-4 form-group">
					<label for="type_release">{$_L['Type']} *</label>
					<select id="type_release" name="type_release" class="form-control">
						<option value="Entrada">{$_L['Entry']}</option>
						<option value="Saída">{$_L['Out']}</option>
						<option value="Balanço">{$_L['Balance item']}</option>
					</select>
				</div>
				<div class="col-md-4 form-group">
					<label for="date_release">{$_L['Date']} *</label>
					<div class="input-group">
						<input type="text" name="date_release" id="date_release" class="form-control datepicker" datepicker>
						<span class="input-group-btn">
							<button type="button" class="btn btn-default"><i class="fa fa-calendar"></i></button>
						</span>
					</div>
				</div>
				<div class="col-md-4 form-group">
					<label for="time_release">{$_L['Time']} *</label>
					<input type="text" class="form-control" id="time_release" name="time_release">
				</div>
			</div>
			<div class="row">
				<div class="col-md-4 form-group">
					<label for="qty_release">{$_L['Quantity']} *</label>
					<input type="text" class="form-control" id="qty_release" name="qty_release">
				</div>

				<div class="col-md-4 form-group lancamentos">
					<label for="price_release">{$_L['Unit price']} *</label>
					<input type="text" class="form-control" id="price_release" name="price_release">
				</div>
			</div>
			<div class="form-group lancamentos">
				<label for="obs_release">{$_L['Observations']}</label>
				<textarea id="obs_release" name="obs_release" class="form-control" rows="2"></textarea>
			</div>
			<input type="hidden" id="id" value="{$id_item}" name="id">
			<input type="hidden" id="id_rels" value="" name="id_rels">
	  </div>
	  <div class="modal-footer">
	    <button type="button" class="btn btn-default" data-dismiss="modal">{$_L['Close']}</button>
	    <button type="button" class="btn btn-primary" onclick="ins_release();">{$_L['Save']}</button>
	  </div>
	</div>
	</form>
</div>

<input type="hidden" id="item_unidade" value="{$item_unidade}" name="item_unidade">
<input type="hidden" id="item_decimal" value="{$item_decimal}" name="item_decimal">

<div class="row">
    <div class="col-md-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>{$name}</h5>
            </div>
            <div class="ibox-content" id="ibox_form">

                <div class="head">
                    <div class="row">
                        <div class="col-sm-7 col-xs-12">
                            <div class="btn-group">
								<a href="#" class="btn btn-primary includ" title="Incluir lançamento" id="btnIncluir"><i class="fa fa-plus"></i></a>
							</div>
                            <div class="btn-group">
								<a href="{$_url}module_stock/stock/list" class="btn btn-primary"><i class="fa fa-chevron-left"></i> {$_L['Back']}</a>
							</div>
                        </div>
                    </div>
                </div>
                
                <div class="project-list mt-md">
                    <div id="progressbar"></div>

                    <div class="nav navopt">
                    	<div class="nav nav-tabs navbar-left" style="margin-top: 20px;">
                            <ul class="nav nav-tabs navbar-left">
                                <li style="border-bottom: 2px solid blue; font-weight: bolder;">{$_L['Releases']}</li>
                            </ul>
                        </div>
                        <div class="nav nav-tabs navbar-right">
                        	<ul class="nav nav-tabs navbar-right">
                                <li class="">
                                    <a href="#" class="list" id="any_dep">
                                        {$_L['General']}<span class="caret"></span>
                                    </a>
                                    <div class="lst any_dep">
                                        <div class="form-group">
                                            <label for="id_dep">{$_L['General']}</label>
                                            <select class="form-control filter-apply" id="id_dep" name="id_dep">
                                                <option value="0" selected="">{$_L['Any']}</option>
                                                <optgroup label="------------------"></optgroup>
                                                <option value="" selected="">{$_L['Geral']}</option>
                                            </select>
                                        </div>
                                    </div>
                                </li>
                                <li>
									<a href="#" class="list" id="periodo"><i class="fa fa-fw fa-calendar"></i> <span class="caret"></span></a>

									<div class="lst periodo">
                                     	<label>Período</label><br>
										<div class="btn-group btn-group-vertical">
											<div class="btn-group"><button type="button" class="btn btn-default item-per filter-apply active" id="opc-ultimos">Todos</button></div>
											<div class="btn-group"><button type="button" class="btn btn-default item-per" id="opc-mes">Do mês</button></div>
											<div class="btn-group"><button type="button" class="btn btn-default item-per" id="opc-periodo">Do intervalo</button></div>
										</div>
										<div id="div-mes" class="input-group form-group" style="">
											<span class="input-group-btn">
												<button type="button" class="btn btn-default"><i class="fa fa-chevron-left"></i></button>
											</span>
											<input type="text" id="mes" name="mes" class="form-control">
											<span class="input-group-btn">
												<button type="button" class="btn btn-default"><i class="fa fa-chevron-right"></i></button>
											</span>
										</div>
									</div>
                                </li>
                                <li>
                                    <a href="#" onclick="location.reload();" title="{$_L['Clean filters']}">
                                        <i class="fa fa-fw fa-eraser"></i> <span class="visible-xs-inline">{$_L['Clean filters']}</span>
                                    </a>
                                </li>
                            </ul>

                            <div class="clearfix"></div>
                        </div>
                    </div>
                    <div class="clearfix"></div><br><br><br>
                    <div id="application_ajaxrender">
                        <table class="table table-striped table-hover">
                            <thead>
                                <tr><th style='width: 300px;'>{$_L['Date and time']}</th>
                                    <th style='width: 100px; text-align: center;'>{$_L['Entry']}</th>
                                    <th style='width: 100px; text-align: center;'>{$_L['Out']}</th>
                                    <th style='width: 200px; text-align: center;'>{$_L['Value']}</th>
                                    <th>{$_L['Observation']}</th>
                                    <th style='width: 200px; text-align: center;'>{$_L['Origin']}</th>
                                    <th style='width: 50px;'>&nbsp;</th></tr>
                            </thead>
                            <tbody id="tbody">
                            	{foreach $itemSelected as $item}
	                            	<tr><td onclick="busca({$item['id']})" style="cursor:pointer;">{$item['date']} - {$item['time']}</td>
	                            		{if $item['type'] eq $_L['Entry']}
	                            			<td onclick="busca({$item['id']})" style='text-align: center; cursor: pointer;'>{number_format($item['quantity'],2,$config['dec_point'],$config['thousands_sep'])}</td>
	                            			{$qtdTotalIn=$qtdTotalIn + $item['quantity']}
	                            		{else}
	                            			<td onclick="busca({$item['id']})" style="cursor:pointer;">&nbsp;</td>
	                            		{/if}
	                                    {if $item['type'] eq $_L['Out']}
	                            			<td onclick="busca({$item['id']})" style='text-align: center; cursor: pointer;'>{number_format($item['quantity'],2,$config['dec_point'],$config['thousands_sep'])}</td>
	                            			{$qtdTotalOut=$qtdTotalOut + $item['quantity']}
	                            		{else}
	                            			<td onclick="busca({$item['id']})" style="cursor:pointer;">&nbsp;</td>
	                            		{/if}
	                                    <td onclick="busca({$item['id']})" style='text-align: center; cursor:pointer;'>{number_format($item['unit_price'],2,$config['dec_point'],$config['thousands_sep'])}</td>
	                                    <td onclick="busca({$item['id']})" style='text-align: left; cursor: pointer;'>{$item['observation']}</td>
	                                    {if $item['type'] eq $_L['Balance item']}
	                            			<td onclick="busca({$item['id']})" style='text-align: center; cursor: pointer;'>{$_L['Balance item']}</td>
	                            			{$qtdTotalIn=$qtdTotalIn + $item['quantity']}
	                            		{else}
	                            			<td onclick="busca({$item['id']})" style="cursor:pointer;">&nbsp;</td>
	                            		{/if}
	                                    <td><button class='btn btn-xs btn-primary' title="Remover" type="button"><i class="fa fa-fw fa-remove" onclick="remov_lanc({$item['id']})"></i></button></td></tr>
	                                    <!--{$qtdReleases++}-->
                            	{/foreach}
                            </tbody>
                        </table><br>
                        <!-- <table class="end_stock" align="right">
                        	<tr><td style='text-align: center; width: 150px; font-weight: bolder; font-size: 18px;border-right: 1px solid black;'>{$qtdReleases}</td>
                        		<td style='text-align: center; width: 120px; font-weight: bolder; font-size: 18px;border-right: 1px solid black;'>{number_format($qtdTotalIn,2,$config['dec_point'],$config['thousands_sep'])}</td>
                        		<td style='text-align: center; width: 120px; font-weight: bolder; font-size: 18px;border-right: 1px solid black;'>{number_format($qtdTotalOut,2,$config['dec_point'],$config['thousands_sep'])}</td>
                        		<td style='text-align: center; width: 170px; font-weight: bolder; font-size: 18px'>{number_format($qtdTotalIn-$qtdTotalOut,2,$config['dec_point'],$config['thousands_sep'])}</td>
                        	</tr>
                        	<tr><td style='text-align: center; border-right: 1px solid black;'>{$_L['Releases']}</td>
                        		<td style='text-align: center; border-right: 1px solid black;'>{$_L['Entrys']}</td>
                        		<td style='text-align: center; border-right: 1px solid black;'>{$_L['Outs']}</td>
                        		<td style='text-align: center;'>{$_L['Currency balance']}<td>
                        	</tr>
                        </table> -->
                        <div class="clearfix"></div>
                    </div>
                </div>
             </div>
        </div>
    </div>
</div>
{include file="{$dir}/views/bottom_bar.tpl"}

Anon7 - 2022
AnonSec Team