34 lines
783 B
PHP
34 lines
783 B
PHP
@extends('layout.base')
|
|
|
|
@section('content')
|
|
<div class="row page-heading">
|
|
<h3>Ventas de <span id="proyecto"></span></h3>
|
|
</div>
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr class="section-heading">
|
|
<th>Departamento</th>
|
|
<th>Propietario</th>
|
|
<th>Valor [UF]</th>
|
|
<th>Tipología</th>
|
|
<th>UF/m²</th>
|
|
<th>Fecha Venta</th>
|
|
<th>Estado</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="ventas"></tbody>
|
|
</table>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
<script type="text/javascript" src="{{$urls->scripts}}/ventas/list.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(() => {
|
|
ventas.url = '/proyecto/{{$proyecto_id}}/ventas'
|
|
ventas.id_proyecto = '#proyecto'
|
|
ventas.id_ventas = '#ventas'
|
|
ventas.setup()
|
|
})
|
|
</script>
|
|
@endpush
|