@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)
Código |
Tipo |
Peso Bruto |
Peso Neto |
Garantía |
Descripción |
@foreach($contenedores as $c)
{{ $c->codigo }} |
{{ $c->get_tipo_display() }} |
{{ $c->peso_bruto }} |
{{ $c->peso_neto }} |
{{ $c->garantia }} |
{{ $c->descripcion }} |
@endforeach
@endif
@if(sizeof($cargas)>0)
{{-- Carga | --}}
Tipo |
Cantidad |
Embalaje |
Peso Bruto |
Peso Neto |
Descripción |
@foreach($cargas as $c)
{{-- {{ $c->carga }} | --}}
{{ $c->get_tipo_display() }} |
{{ $c->cantidad }} |
{{ $c->get_embalaje_tipo_display() }} |
{{ $c->peso_bruto }} |
{{ $c->peso_neto }} |
{{ $c->descripcion }} |
@endforeach
@endif
@if(sizeof($graneles)>0)
{{--Granel | --}}
Cantidad |
Peso Bruto |
Peso Neto |
Descripción |
@foreach($graneles as $g)
{{--{{ $g->granel }} | --}}
{{ $g->cantidad }} |
{{ $g->peso_bruto }} |
{{ $g->peso_neto }} |
{{ $g->descripcion }} |
@endforeach
@endif
Descripción:
@if(!$envio->descripcion)
N/A
@else
{{ $envio->descripcion }}
@endif
@if($envio->puedeModificar())
@endif
@endsection
@section('js-footer')
@endsection