FIX: Link a buscar propietario
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
unidad.html(unidad.html() + ' (I)')
|
||||
}
|
||||
propietario = $('<a></a>')
|
||||
.attr('href','{{$urls->base}}/search/' + encodeURIComponent(this.venta.propietario.nombre_completo) + '/propietario')
|
||||
.attr('href','{{$urls->base}}/search/"' + encodeURIComponent(this.venta.propietario.nombre_completo) + '"/propietario')
|
||||
.html(this.venta.propietario.nombre_completo)
|
||||
fecha = dateFormatter.format(new Date(this.venta.fecha))
|
||||
if (typeof this.venta.entrega !== 'undefined') {
|
||||
@ -315,9 +315,9 @@
|
||||
|
||||
$('#tipo').dropdown().dropdown('set selected', '*')
|
||||
@if (trim($post) !== '')
|
||||
$("[name='query']").val('{{$post}}')
|
||||
$("[name='query']").val('{!! $post !!}')
|
||||
@elseif (trim($query) !== '')
|
||||
$("[name='query']").val('{{$query}}')
|
||||
$("[name='query']").val('{!! $query !!}')
|
||||
@endif
|
||||
@if (trim($tipo) !== '')
|
||||
$('#tipo').dropdown('set selected', '{{$tipo}}')
|
||||
|
@ -4,10 +4,10 @@ use Psr\Container\ContainerInterface;
|
||||
return [
|
||||
Incoviba\Common\Define\Database::class => function(ContainerInterface $container) {
|
||||
return new Incoviba\Common\Implement\Database\MySQL(
|
||||
$container->has('MYSQL_HOST') ? $container->get('MYSQL_HOST') : 'db',
|
||||
$container->get('MYSQL_DATABASE'),
|
||||
$container->get('MYSQL_USER'),
|
||||
$container->get('MYSQL_PASSWORD')
|
||||
$container->has('DB_HOST') ? $container->get('DB_HOST') : 'db',
|
||||
$container->get('DB_DATABASE'),
|
||||
$container->get('DB_USER'),
|
||||
$container->get('DB_PASSWORD')
|
||||
);
|
||||
},
|
||||
Incoviba\Common\Define\Connection::class => function(ContainerInterface $container) {
|
||||
|
Reference in New Issue
Block a user