Created
September 21, 2017 18:39
-
-
Save betinho37/21181a26adfc6a7616e5f8a1ecf47ef3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('content') | |
<p></p><h3 align="center">SigeTOQ</h3> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="container" > | |
<div class="col-md-7" > | |
<ul class="nav nav-tabs nav-pills nav-justified" > | |
<li role="presentation" class="dropdown active active" > | |
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> | |
Cadastro <span class="caret"></span> | |
</a> | |
<ul class="dropdown-menu"> | |
<li><a href="/empresas">Empresa</a></li> | |
<li><a href="/destino">Despesa</a></li> | |
<li><a href="/clientescadastrados">Clientes</a></li> | |
</ul> | |
</li> | |
<li class="dropdown active" > | |
<a href="/receita" >Receitas</a> | |
<ul class="dropdown-menu" role="menu"> | |
</ul> | |
</li> | |
<li class="dropdown active" > | |
<a href="/pagamentos">Despesas</a> | |
<ul class="dropdown-menu" role="menu"> | |
</ul> | |
</li> | |
</li> | |
<li class="dropdown active" > | |
<a href="#" class="dropdown-toggle" data-toggle="dropdown" >Relatórios<span class="caret" > </span></a> | |
<ul class="dropdown-menu" role="menu"> | |
<li><a href="">Mensal</a></li> | |
<li><a href="/">Anual</a></li> | |
</ul> | |
</li> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('content') | |
<h1>Receita</h1><br> | |
<div align="left" border="2" > | |
<a href="/receita/create" class="btn btn-primary">Novo</a> | |
<a href="paginainicial" class="btn btn-primary">Inicio</a> | |
</div><br> | |
<table align="center" class="table"> | |
<tr> | |
<th>Empresa</th> | |
<th>Cliente</th> | |
<th>Valor</th> | |
<th>Data de Emissão</th> | |
<th>Previsão de Pagamento</th> | |
<th>Data de Pagamento</th> | |
<th>Contrato</th> | |
<th>Arquivo</th> | |
<th>Opções</th> | |
</tr> | |
@foreach( $receita as $receita ); | |
<tr> | |
<td>{{ $receita->empresa->name }}</td> | |
<td>{{ $receita->cliente->name }}</td> | |
<td>{{ 'R$ '. number_format($receita->valor, 2, ',', '.') }} </td> | |
<td>{{ date( 'd/m/Y' , strtotime($receita->data ))}} </td> | |
<td>{{ date( 'd/m/Y' , strtotime($receita->previsao ))}}</td> | |
<td>{{($receita->pagamento ? date('d/m/Y', strtotime($receita->pagamento)) : '')}}</td> | |
<td>{{ $receita->numerocontrato }}</td> | |
<td><a href={{ asset('uploads/'. $receita->arquivo) }} target="_blank">{{$receita->arquivo}}</a></td> | |
<td><a href="{{@url('receita').'/edit/'.$receita->id.''}}" class="btn btn-primary">Editar</a> | |
<a href="{{@url('receita').'/destroy/'.$receita->id.''}}" class="btn btn-danger">Excluir</a></td> | |
</tr> | |
@endforeach | |
</table> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment