This commit is contained in:
2021-12-25 23:17:47 -03:00
parent 7e01974ec8
commit d7d671fb51
68 changed files with 2991 additions and 160 deletions

View File

@ -1,28 +1,27 @@
@extends('layout.base')
@section('content')
@if ($hoy > 0)
<div clasS="row">
<div class="col-md-12">Hay {{$hoy}} deposito{{($hoy > 1) ? 's' : ''}} para hoy.</div>
</div>
@endif
@if ($pendientes > 0)
<div class="row">
<div class="col-md-12"><a href="{{url('', ['p' => 'cuotas', 'a' => 'pendientes'])}}">Existe{{($pendientes > 1) ? 'n' : ''}} {{$pendientes}} cuota{{($pendientes > 1) ? 's' : ''}} pendiente{{($pendientes > 1) ? 's' : ''}}. <span class="glyphicon glyphicon-arrow-right"></span></a></div>
</div>
@endif
<table class="ui table">
<tr>
@if (count($dias) > 0)
<td>
@include('calendario')
</td>
@endif
@if (count($cierres) > 0)
<td>
@include('cierres')
</td>
@endif
</tr>
</table>
<div id="hoy"></div>
<div id="pendientes"></div>
<table class="ui basic table">
<tr>
<td>
<div id="calendario"></div>
</td>
<td>
<div id="cierres"></div>
</td>
</tr>
</table>
@endsection
@push('scripts')
<script type="text/javascript" src="{{$urls->scripts}}/home.js"></script>
<script type="text/javascript">
$(document).ready(() => {
home.token = '{{$_COOKIE['rememberMe']}}'
home.setup()
})
</script>
@endpush