Files
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Buscar</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{url('', ['p' => 'buscar'])}}" method="get" class="form form-horizontal">
|
||||
<form action="{{$urls->base}}/buscar" method="get" class="form form-horizontal">
|
||||
<input type="hidden" name="p" value="buscar" />
|
||||
<div class="form-group">
|
||||
<div class="col-md-6"><input type="text" name="q" class="form-control"
|
||||
|
@ -1,12 +1,12 @@
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{url('', ['p' => 'buscar', 'q' => urlencode('"' . $resultado->proyecto()->descripcion . '"'), 't' => 'proyecto'])}}">
|
||||
<a href="{{$urls->base}}/buscar/{{urlencode('"' . $resultado->proyecto()->descripcion . '"')}}/proyecto">
|
||||
{{$resultado->proyecto()->descripcion}} <span class="small glyphicon glyphicon-search"></span>
|
||||
</a>
|
||||
</td>
|
||||
@if (method_exists($resultado, 'unidad'))
|
||||
<td>
|
||||
<a href="{{url('', ['p' => 'ventas', 'a' => 'show', 'venta' => $resultado->id])}}">
|
||||
<a href="{{$urls->base}}/ventas/{{$resultado->id}}">
|
||||
{{$resultado->unidad()->descripcion}}
|
||||
@if ($resultado->estado == 0)
|
||||
(r)
|
||||
@ -17,17 +17,17 @@
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{url('', ['p' => 'buscar', 'q' => urlencode('"' . $resultado->propietario()->nombreCompleto() . '"'), 't' => 'propietario'])}}">
|
||||
<a href="{{$urls->base}}/buscar/{{urlencode('"' . $resultado->propietario()->nombreCompleto() . '"')}}/propietario">
|
||||
{{$resultado->propietario()->nombreCompleto()}} <span class="small glyphicon glyphicon-search"></span>
|
||||
</a>
|
||||
</td>
|
||||
<td>{{ucwords($resultado->unidad()->tipo()->descripcion)}}</td>
|
||||
<td>{{\App\Helper\Format::m2($resultado->unidad()->m2())}}</td>
|
||||
<td>{{\App\Helper\Format::ufs($resultado->valor_uf)}}</td>
|
||||
<td>{{\App\Helper\Format::shortDate($resultado->fecha)}}</td>
|
||||
<td>{{$format->m2($resultado->unidad()->m2())}}</td>
|
||||
<td>{{$format->ufs($resultado->valor_uf)}}</td>
|
||||
<td>{{$format->shortDate($resultado->fecha)}}</td>
|
||||
<td>
|
||||
@if ($resultado->entrega != 0)
|
||||
{{\App\Helper\Format::shortDate($resultado->entrega()->fecha)}}
|
||||
{{$format->shortDate($resultado->entrega()->fecha)}}
|
||||
@endif
|
||||
</td>
|
||||
@else
|
||||
@ -35,7 +35,7 @@
|
||||
{{$resultado->descripcion}} <span class="glyphicon glyphicon-ban-circle"></span>
|
||||
</td><td>
|
||||
<td>{{ucwords($resultado->tipo()->descripcion)}}</td>
|
||||
<td>{{\App\Helper\Format::m2($resultado->m2())}}</td>
|
||||
<td>{{$format->m2($resultado->m2())}}</td>
|
||||
@if ($resultado->valor)
|
||||
<td>{{format('ufs', $resultado->valor)}}</td>
|
||||
@else
|
||||
@ -43,4 +43,4 @@
|
||||
@endif
|
||||
<td></td>
|
||||
@endif
|
||||
</tr>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user