forked from ansu92/sgcweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a
- Loading branch information
Showing
8 changed files
with
204 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
class CtrNosotros extends Controller | ||
{ | ||
public function __invoke() | ||
{ | ||
return view("nosotros.index"); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
|
||
class ShowBanco extends Component | ||
{ | ||
|
||
public Banco $banco; | ||
|
||
public function render() | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ class Visita extends Model | |
'matricula', | ||
'marca', | ||
'modelo', | ||
'color', | ||
]; | ||
|
||
public function unidad() { | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,124 @@ | ||
<div> | ||
{{-- The whole world belongs to you. --}} | ||
<div class="bg-white overflow-hidden shadow-xl rounded-xl"> | ||
<div class="px-4 py-5 sm:px-6"> | ||
<h3 class="text-lg leading-6 font-medium text-gray-900"> | ||
Visita | ||
</h3> | ||
</div> | ||
<div class="border-t border-gray-200"> | ||
<dl> | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Fecha de entrada: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ Str::substr($visita->fecha_hora_entrada, 0, 10) }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Hora de entrada:: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ Str::substr($visita->fecha_hora_entrada, 11) }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Cédula: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->letra }}-{{ $visita->ci }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Nombre: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->nombre }} {{ $visita->apellido }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Unidad a la que visita: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->unidad->numero }} - {{ $visita->unidad->propietario->integrante->nombre }} | ||
{{ $visita->unidad->propietario->integrante->apellido }} | ||
</dd> | ||
</div> | ||
|
||
@if ($visita->numero_personas > 1) | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Número de personas: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->numero_personas }} | ||
</dd> | ||
</div> | ||
|
||
@endif | ||
|
||
@if ($visita->matricula) | ||
|
||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Matrícula: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->matricula }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Marca: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->marca }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Modelo: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->modelo }} | ||
</dd> | ||
</div> | ||
|
||
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Color: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
{{ $visita->color }} | ||
</dd> | ||
</div> | ||
|
||
@else | ||
|
||
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||
<dt class="text-sm font-medium text-gray-500"> | ||
Vehículo: | ||
</dt> | ||
<dd class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"> | ||
Sin vehículo | ||
</dd> | ||
</div> | ||
|
||
@endif | ||
|
||
</dl> | ||
</div> | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<x-app-layout> | ||
<div class="py-12"> | ||
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> | ||
<div class="bg-white overflow-hidden shadow-xl sm:rounded-lg"> | ||
<div class=""> | ||
|
||
<!-- This example requires Tailwind CSS v2.0+ --> | ||
<div class="relative bg-white overflow-hidden"> | ||
<div class="max-w-7xl mx-auto"> | ||
<div | ||
class="relative z-10 pb-8 bg-white sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32"> | ||
<svg class="hidden lg:block absolute right-0 inset-y-0 h-full w-48 text-white transform translate-x-1/2" | ||
fill="currentColor" viewBox="0 0 100 100" preserveAspectRatio="none" | ||
aria-hidden="true"> | ||
<polygon points="50,0 100,0 50,100 0,100" /> | ||
</svg> | ||
|
||
<div> | ||
<div class="relative pt-6 px-4 sm:px-6 lg:px-8"> | ||
|
||
</div> | ||
|
||
|
||
|
||
</div> | ||
|
||
<main | ||
class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28"> | ||
<div class="sm:text-center lg:text-left"> | ||
<h1 | ||
class="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl"> | ||
<span class="block xl:inline">SGC Web</span> | ||
<span class="block text-indigo-600 md:text-4xl">Sistema Administrativo</span> | ||
</h1> | ||
<p | ||
class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0"> | ||
¡Cobranza, facturación, información y reportes para tu condominio en un solo lugar! | ||
</p> | ||
<div class="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start"> | ||
<div class="rounded-md shadow"> | ||
<a href="{{route('login')}}" | ||
class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 md:py-4 md:text-lg md:px-10"> | ||
Iniciar sesión | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
</div> | ||
<div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2"> | ||
<img class="h-56 w-full object-cover sm:h-72 md:h-96 lg:w-full lg:h-full" | ||
src="https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2850&q=80" | ||
alt=""> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</x-app-layout> |
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