@extends('templates.default') @section('css') @endsection @section('nav')
  • Home
  • Envios
  • Consultar
  • @endsection @section('title_right') @endsection @section('content')

    Fecha Apertura:
    {{ date('d/m/Y', strtotime(str_replace('/', '-', $envio->fecha_apertura))) }}

    Fecha Arribo:
    @if($envio->fecha_arribo) {{ date('d/m/Y', strtotime(str_replace('/', '-', $envio->fecha_arribo))) }} @else N/A @endif

    Cliente:
    {{ $envio->cliente->razon_social }}

    Fecha Salida:
    @if($envio->fecha_salida) {{ date('d/m/Y', strtotime(str_replace('/', '-', $envio->fecha_salida))) }} @else N/A @endif

    Manifiesto:
    @if(!$envio->numero_manifiesto) N/A @else {{ $envio->numero_manifiesto }} @endif

    Agencia Naviera:
    @if($envio->agencia) {{ $envio->agencia->razon_social }} @else N/A @endif

    Bodega:
    @if($envio->bodega) {{ $envio->bodega->nombre }} @else N/A @endif

    OCE:
    @if($envio->oce == 'IMP') Importación @else Exportación @endif

    Carga Contenedorizada:
    @if($envio->carga_contenedorizada == '1') SI @else NO @endif


    @if(sizeof($contenedores)>0)
    @foreach($contenedores as $c) @endforeach
    Código Tipo Peso Bruto Peso Neto Garantía Descripción
    {{ $c->codigo }} {{ $c->get_tipo_display() }} {{ $c->peso_bruto }} {{ $c->peso_neto }} {{ $c->garantia }} {{ $c->descripcion }}
    @endif @if(sizeof($cargas)>0)
    {{-- --}} @foreach($cargas as $c) {{-- --}} @endforeach
    CargaTipo Cantidad Embalaje Peso Bruto Peso Neto Descripción
    {{ $c->carga }}{{ $c->get_tipo_display() }} {{ $c->cantidad }} {{ $c->get_embalaje_tipo_display() }} {{ $c->peso_bruto }} {{ $c->peso_neto }} {{ $c->descripcion }}
    @endif @if(sizeof($graneles)>0)
    {{----}} @foreach($graneles as $g) {{----}} @endforeach
    GranelCantidad Peso Bruto Peso Neto Descripción
    {{ $g->granel }}{{ $g->cantidad }} {{ $g->peso_bruto }} {{ $g->peso_neto }} {{ $g->descripcion }}
    @endif

    Descripción:
    @if(!$envio->descripcion) N/A @else {{ $envio->descripcion }} @endif

    @if($envio->puedeModificar())

     Modificar  Eliminar
    @endif
     
    @endsection @section('js-footer') @endsection