2021-07-30 16:38:17 -04:00
|
|
|
@extends('cuentas.base')
|
2021-07-29 22:05:48 -04:00
|
|
|
|
2021-07-30 16:38:17 -04:00
|
|
|
@section('cuentas_title')
|
|
|
|
<span id="cuenta"></span>
|
2021-07-29 22:05:48 -04:00
|
|
|
@endsection
|
|
|
|
|
2021-07-30 16:38:17 -04:00
|
|
|
@section('cuentas_content')
|
2022-03-18 17:50:21 -03:00
|
|
|
<div class="ui right aligned header">
|
|
|
|
<div class="ui calendar" id="mes">
|
|
|
|
<div class="ui input right icon">
|
|
|
|
<input type="text" placeholder="Mes" />
|
|
|
|
<i class="calendar icon"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ui icon button" id="prev_button">
|
|
|
|
<i class="double left angle icon"></i>
|
|
|
|
</div>
|
|
|
|
<div class="ui icon button" id="left_button">
|
|
|
|
<i class="left angle icon"></i>
|
|
|
|
</div>
|
|
|
|
<div class="ui icon disabled button" id="right_button">
|
|
|
|
<i class="right angle icon"></i>
|
|
|
|
</div>
|
|
|
|
<div class="ui icon disabled button" id="next_button">
|
|
|
|
<i class="double right angle icon"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-30 16:38:17 -04:00
|
|
|
<table class="ui striped table">
|
2021-07-29 22:05:48 -04:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
Fecha
|
|
|
|
</th>
|
|
|
|
<th>
|
2021-07-30 16:38:17 -04:00
|
|
|
Categoría
|
2021-07-29 22:05:48 -04:00
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
Detalle
|
|
|
|
</th>
|
|
|
|
<th class="right aligned">
|
2021-07-30 16:38:17 -04:00
|
|
|
Debe
|
|
|
|
</th>
|
|
|
|
<th class="right aligned">
|
|
|
|
Haber
|
|
|
|
</th>
|
|
|
|
<th class="right aligned">
|
|
|
|
Saldo
|
2021-07-29 22:05:48 -04:00
|
|
|
</th>
|
|
|
|
<th class="right aligned">
|
2022-01-05 15:56:03 -03:00
|
|
|
<button class="ui tiny blue circular icon button" id="refresh">
|
|
|
|
<i class="refresh icon"></i>
|
|
|
|
</button>
|
|
|
|
<button class="ui tiny green circular icon button" id="add">
|
2021-07-29 22:05:48 -04:00
|
|
|
<i class="plus icon"></i>
|
|
|
|
</button>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2022-01-05 15:56:03 -03:00
|
|
|
<tbody id="transacciones"></tbody>
|
2021-07-29 22:05:48 -04:00
|
|
|
</table>
|
2021-07-30 16:38:17 -04:00
|
|
|
|
2021-07-29 22:05:48 -04:00
|
|
|
<div class="ui modal">
|
|
|
|
<i class="close icon"></i>
|
|
|
|
<div class="content">
|
|
|
|
<form class="ui form">
|
2021-12-06 22:10:57 -03:00
|
|
|
<input type="hidden" name="id" />
|
2021-07-29 22:05:48 -04:00
|
|
|
<div class="field">
|
|
|
|
<label>Fecha</label>
|
|
|
|
<div class="ui calendar">
|
|
|
|
<div class="ui input left icon">
|
|
|
|
<i class="calendar icon"></i>
|
|
|
|
<input type="text" name="fecha" placeholder="Fecha" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label>Cuenta</label>
|
2022-03-25 20:54:02 -03:00
|
|
|
<select name="cuenta" class="ui searchable dropdown"></select>
|
2021-07-29 22:05:48 -04:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label>Glosa</label>
|
|
|
|
<input type="text" name="glosa" />
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<label>Detalle</label>
|
|
|
|
<input type="text" name="detalle" />
|
|
|
|
</div>
|
2022-03-25 17:39:12 -03:00
|
|
|
<div class="fields">
|
|
|
|
<div class="field">
|
|
|
|
<label>Valor</label>
|
|
|
|
<input type="text" name="valor" />
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<lable>Moneda</lable>
|
|
|
|
<select name="moneda"></select>
|
|
|
|
</div>
|
2021-07-29 22:05:48 -04:00
|
|
|
</div>
|
|
|
|
<button class="ui icon button">
|
|
|
|
<i class="plus icon"></i>
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@push('scripts')
|
2022-03-25 20:54:02 -03:00
|
|
|
<script type="text/javascript" src="{{$urls->scripts}}/cuentas/show.js"></script>
|
2021-07-29 22:05:48 -04:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(() => {
|
2021-07-30 16:38:17 -04:00
|
|
|
transacciones.cuenta_id = {{$cuenta_id}}
|
2022-03-18 17:50:21 -03:00
|
|
|
transacciones.max = {{$max_transacciones ?? 100}}
|
2021-07-30 16:38:17 -04:00
|
|
|
transacciones.setup()
|
2021-07-29 22:05:48 -04:00
|
|
|
})
|
|
|
|
</script>
|
|
|
|
@endpush
|