403Webshell
Server IP : 54.94.228.101  /  Your IP : 172.28.20.13
Web Server : Apache
System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/vinumday2_0/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/vinumday2_0/storage/framework/views/e39753d942f810440f123ee6db0022484f648721.php
<?php $__env->startSection('content'); ?>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
	<!-- Content Header (Page header) -->
	<section class="content-header">
		<h1>
			Adega
			<small>Listagem</small>
		</h1>
		<ol class="breadcrumb">
			<li><a href="<?php echo e(url('admin')); ?>"><i class="fa fa-dashboard"></i> Dashboard</a></li>
			<li class="active">Adega</li>
		</ol>
	</section>

	<!-- Main content -->
	<section class="content">
		<div class="row">
			<div class="col-xs-12">

				<div class="box">
					<div class="box-header">
						<?php if($current_role->hasAccess($current_module->nome_tabela.'.create')){ ?>
							<a href="<?php echo e(url('admin/adega/add')); ?>" class="table-add"><i class="fa fa-plus"></i> Adicionar</a>
						<?php } ?>
						<hr>
					</div>
					<!-- /.box-header -->
					<div class="box-body">
						<div class="row">
							<div class="col-md-3 col-md-offset-9">
								<form action="<?php echo url('admin/adega'); ?>" method="GET">
									<input value="<?php echo (isset($_GET['term'])) ? $_GET['term'] : '' ?>" type="text" name="term"><button class="btn btn-primary">Buscar</button>
								</form>
							</div>
						</div>

						<table id="data-table" class="table table-bordered table-striped">
							<thead>
								<tr>
									<th>ID</th>
									<th>Data Abertura</th>
									<th>Data Fechamento</th>
									<th>Status</th>
									<th>Cliente</th>
									<th>Observações</th>
									<th>Quantidade Pedidos</th>
									<th>Quantidade Produtos</th>
									<th>Valor Total</th>
									<th class="th-action">Ação</th>
								</tr>

							</thead>
							<tbody>
								<?php foreach ($adegas as $item): ?>
									<tr>
										<td><?php echo $item->id; ?></td>
										<td>
											<?php 
											$dataAbertura = date_create_from_format('Y-m-d H:i:s', $item->data_abertura);
											echo $item->data_abertura ? date_format($dataAbertura, 'd/m/Y H:i') : '-'; 
											?>
										</td>
										<td>
											<?php 
											if ($item->data_fechamento != '0000-00-00 00:00:00') {
												$dataFechamento = date_create_from_format('Y-m-d H:i:s', $item->data_fechamento);
												echo $item->data_fechamento ? date_format($dataFechamento, 'd/m/Y H:i') : ''; 
											}
											?>
										</td>
										<td><?php echo ($item->status == 'A') ? 'Aberta' : 'Fechada'; ?></td>
										<td><?php echo $item->nome . " " . $item->sobrenome; ?></td>
										<td><?php echo $item->observacoes; ?></td>
										<td><?php echo $item->quantidade_pedidos; ?></td>
										<td><?php echo $item->quantidade_produtos; ?></td>
										<td><?php echo $item->valor_total; ?></td>
										<td>
											<?php if($current_role->hasAccess($current_module->nome_tabela.'.update')){ ?>
												<a href="/admin/adega/edit/<?php echo $item->id; ?>" class="btn btn-primary"><i class="fa fa-pencil-alt"></i></a>
											<?php } ?>

											<?php /*if($current_role->hasAccess($current_module->nome_tabela.'.delete')){ ?>
												<a href="/admin/adega/delete/<?php echo $item->id; ?>" class="btn btn-danger deletar"><i class="fa fa-trash"></i></a>
											<?php } */?>
										</td>
									</tr>
								<?php endforeach ?>
							</tbody>
							<tfoot>
								<tr>
									<th>ID</th>
									<?php foreach ($fields_listagem as $field): ?>
										<th><?php echo $field->label; ?></th>
									<?php endforeach ?>
									<th>Ação</th>
								</tr>
							</tfoot>
						</table>

						<div class="text-center">
							<?php echo $adegas->appends(['term' => (isset($_GET['term'])) ? $_GET['term'] : ''])->links(); ?>
						</div>

					</div>
					<!-- /.box-body -->
					<div class="box-footer">
						<?php if($current_role->hasAccess($current_module->nome_tabela.'.create')){ ?>
							<a href="<?php echo e(url('admin/adega/add')); ?>" class="table-add"><i class="fa fa-plus"></i> Adicionar</a>
						<?php } ?>
					</div>
				</div>
				<!-- /.box -->
			</div>
			<!-- /.col -->
		</div>
		<!-- /.row -->
	</section>
	<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make($current_template, array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit