@extends('sistema') @section('contenido')

Inicio Sistema Inventario Platino Guia

Buscar guías de remisión

{!! Form::open(array('url' => 'inicio', 'class' => 'form-inline busqueda', 'method' => 'GET')) !!}
{!! Form::label('actividad', 'Campaña:') !!} {!! Form::text('actividad', $busqueda['actividad'], ['class' => 'form-control', 'style' => 'width: 120px;']) !!}
{!! Form::label('cliente', 'Cliente:') !!} {!! Form::select('cliente', $clientesCmb, $busqueda['cliente'], ['class' => 'form-control', 'style' => 'width: 120px;']) !!}
{!! Form::select('tipo', array('' => 'Ingresos y despachos', '1' => 'Solo ingresos', '2' => 'Solo despachos', '4' => 'Transferencias'), $busqueda['tipo'], ['class' => 'form-control', 'style' => 'width: 180px;']) !!}
{!! Form::label('desde', 'Desde:') !!} {!! Form::text('desde', $busqueda['desde'], ['class' => 'form-control fecha', 'size' => '12', 'readonly']) !!}
{!! Form::label('hasta', 'Hasta:') !!} {!! Form::text('hasta', $busqueda['hasta'], ['class' => 'form-control fecha', 'size' => '12', 'readonly']) !!}
{!! Form::close() !!}
@foreach($guias as $guiaItem) @endforeach
Código Fecha iniciación Campaña Punto operac. Procedencia Cliente Motivo traslado Abrir Imprimir
{{ $guiaItem->id }} {{ substr($guiaItem->iniciacion_traslado, 0, 10) }} @if($guiaItem->actnombre != "") {{ $guiaItem->actnombre }} @else -- @endif @if($guiaItem->punnombre != "") {{ $guiaItem->punnombre }} @else -- @endif @if($guiaItem->punto_partida == "") -- @else {{ $guiaItem->punto_partida }} @endif @if($guiaItem->clinombre != "") {{ $guiaItem->clinombre }} @else -- @endif @if($guiaItem->motivo_traslado == "1") Venta @elseif($guiaItem->motivo_traslado == "2") Consignación @elseif($guiaItem->motivo_traslado == "3") Devolución @elseif($guiaItem->motivo_traslado == "4") Ingreso @elseif($guiaItem->motivo_traslado == "5") Egreso @elseif($guiaItem->motivo_traslado == "6") Transferencia @endif tipomovimiento == "1") href="{{ URL::to('ingreso-edit/'.$guiaItem->id.'/0') }}" @elseif($guiaItem->tipomovimiento == "2") href="{{ URL::to('despacho-edit/'.$guiaItem->id.'/0') }}" @elseif($guiaItem->tipomovimiento == "4") href="{{ URL::to('transferencia-edit/'.$guiaItem->id) }}" @endif>Abrir tipomovimiento != "4") href="{{ URL::to('imprimir/'.$guiaItem->id) }}" @else href="{{ URL::to('imprimir-transferencia/'.$guiaItem->id) }}" @endif target="_blank">Imprimir
{!! $guias->setPath('')->appends(Request::except('page'))->render() !!}
@if(Session::get("message") != "") @endif @endsection