Cambio en orden de columnas en tabla de unidades
This commit is contained in:
@ -11,13 +11,13 @@
|
|||||||
<th>Tipo</th>
|
<th>Tipo</th>
|
||||||
<th>Nombre</th>
|
<th>Nombre</th>
|
||||||
<th>Abreviación</th>
|
<th>Abreviación</th>
|
||||||
|
<th>#</th>
|
||||||
<th>Líneas</th>
|
<th>Líneas</th>
|
||||||
<th>m² Útil</th>
|
<th>m² Útil</th>
|
||||||
<th>m² Terraza</th>
|
<th>m² Terraza</th>
|
||||||
<th>m² Vendible</th>
|
<th>m² Vendible</th>
|
||||||
<th>m² Total</th>
|
<th>m² Total</th>
|
||||||
<th>Descripción</th>
|
<th>Descripción</th>
|
||||||
<th>#</th>
|
|
||||||
<th><a href="{{nUrl('proyectos', 'add_tipo_unidad', ['proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-plus"></span></a></th>
|
<th><a href="{{nUrl('proyectos', 'add_tipo_unidad', ['proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-plus"></span></a></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -33,6 +33,7 @@
|
|||||||
{{$tipo->abreviacion}}
|
{{$tipo->abreviacion}}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
|
<td>{{count($tipo->unidades())}}</td>
|
||||||
<td>{{$tipo->lineas()}}</td>
|
<td>{{$tipo->lineas()}}</td>
|
||||||
<td>{{format('m2', $tipo->m2 + $tipo->logia)}}</td>
|
<td>{{format('m2', $tipo->m2 + $tipo->logia)}}</td>
|
||||||
<td>{{format('m2', $tipo->terraza)}}</td>
|
<td>{{format('m2', $tipo->terraza)}}</td>
|
||||||
@ -45,7 +46,6 @@
|
|||||||
{{$tipo->descripcion}}
|
{{$tipo->descripcion}}
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>{{count($tipo->unidades())}}</td>
|
|
||||||
<td><a href="{{nUrl('proyecto_tipo_unidades', 'edit', ['tipo_unidad' => $tipo->id])}}"><span class="glyphicon glyphicon-edit"></span></a></td>
|
<td><a href="{{nUrl('proyecto_tipo_unidades', 'edit', ['tipo_unidad' => $tipo->id])}}"><span class="glyphicon glyphicon-edit"></span></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="unidades" data-tipo="{{$tipo->id}}">
|
<tr class="unidades" data-tipo="{{$tipo->id}}">
|
||||||
@ -55,6 +55,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Descripción</th>
|
<th>Descripción</th>
|
||||||
|
<th>#</th>
|
||||||
<th>Piso</th>
|
<th>Piso</th>
|
||||||
<th>Línea</th>
|
<th>Línea</th>
|
||||||
<th>Orientación</th>
|
<th>Orientación</th>
|
||||||
@ -72,10 +73,10 @@
|
|||||||
<?php $subtipo = $unidad->subtipo; $cnt[$tipo->nombre."-".$subtipo] = 0; $pisos[$tipo->nombre."-".$subtipo] = [] ?>
|
<?php $subtipo = $unidad->subtipo; $cnt[$tipo->nombre."-".$subtipo] = 0; $pisos[$tipo->nombre."-".$subtipo] = [] ?>
|
||||||
<tr data-id="{{$tipo->nombre}}-{{$subtipo}}" data-status="closed" class="subtipo">
|
<tr data-id="{{$tipo->nombre}}-{{$subtipo}}" data-status="closed" class="subtipo">
|
||||||
<th>Línea {{$subtipo}}</th>
|
<th>Línea {{$subtipo}}</th>
|
||||||
|
<th class="cantidad_subtipo" data-subtipo="{{$tipo->nombre}}-{{$subtipo}}"></th>
|
||||||
<th class="pisos_subtipo" data-subtipo="{{$tipo->nombre}}-{{$subtipo}}"></th>
|
<th class="pisos_subtipo" data-subtipo="{{$tipo->nombre}}-{{$subtipo}}"></th>
|
||||||
<th>{{$subtipo}}</th>
|
<th>{{$subtipo}}</th>
|
||||||
<th>{{$unidad->orientacion}}</th>
|
<th>{{$unidad->orientacion}}</th>
|
||||||
<th class="cantidad_subtipo" data-subtipo="{{$tipo->nombre}}-{{$subtipo}}"></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
<tr>
|
<tr>
|
||||||
@ -85,7 +86,7 @@
|
|||||||
<td>{{$unidad->orientacion}}</td>
|
<td>{{$unidad->orientacion}}</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="{{nUrl('unidades', 'edit', ['unidad' => $unidad->id])}}"><span class="glyphicon glyphicon-edit"></span></a>
|
<a href="{{nUrl('unidades', 'edit', ['unidad' => $unidad->id])}}"><span class="glyphicon glyphicon-edit"></span></a>
|
||||||
<a href="{{nUrl('unidades', 'remove', ['unidad' => $unidad->id, 'proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-remove"></span></a>
|
<a href="{{nUrl('unidades', 'remove', ['unidad' => $unidad->id, 'proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-remove"></span></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@ -113,7 +114,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Descripción</th>
|
<th>Descripción</th>
|
||||||
<th>Piso</th>
|
<th>Piso</th>
|
||||||
<th>Línea</th>
|
<th>Línea</th>
|
||||||
<th>Orientación</th>
|
<th>Orientación</th>
|
||||||
<th>Valor</th>
|
<th>Valor</th>
|
||||||
@ -130,7 +131,7 @@
|
|||||||
<td>{{format('ufs', $unidad->valor, null, true)}}</td>
|
<td>{{format('ufs', $unidad->valor, null, true)}}</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{nUrl('unidades', 'edit', ['unidad' => $unidad->id])}}"><span class="glyphicon glyphicon-edit"></span></a>
|
<a href="{{nUrl('unidades', 'edit', ['unidad' => $unidad->id])}}"><span class="glyphicon glyphicon-edit"></span></a>
|
||||||
<a href="{{nUrl('unidades', 'remove', ['unidad' => $unidad->id, 'proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-remove"></span></a>
|
<a href="{{nUrl('unidades', 'remove', ['unidad' => $unidad->id, 'proyecto' => $proyecto->id])}}"><span class="glyphicon glyphicon-remove"></span></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Reference in New Issue
Block a user