@extends('cr_blank') @section('content') @include('componentes.pedido_header')
@if ($datos->estado == 'SOLICITADO') @endif @if ($datos->estado == 'AUTORIZADO') @endif @if ($datos->estado == 'INGRESADO') @endif @if ($datos->estado == 'ANULADO') @endif
Fecha de solicitud:
{{ date('d/m/Y',strtotime($datos->fecha_solicitud)) }}
Sucursal:
{{ $datos->sucursal->nombre }}
Estado:
{{ $datos->estado }}
Fecha autorizado:
{{ date('d/m/Y',strtotime($datos->fecha_autorizado)) }}
Fecha de ingreso:
{{ date('d/m/Y',strtotime($datos->fecha_ingreso)) }}
{{-- --}} @foreach ($datos->detalle as $item) {{-- --}} @endforeach
N. CÓDIGO PRODUCTO UNIDAD CANTIDAD PRECIO UNITARIO SUB TOTAL
{{ ++$i }} {{ $item->producto->codigo }} {{ $item->producto->nombre }}{{ date('d-m-Y H:i',strtotime($item->fecha)) }}{{ $item->unidad->sigla }} {{ $item->cantidad }} {{ number_format($item->precio_compra,2) }} {{ number_format($item->cantidad * $item->precio_compra,2) }}
TOTAL Bs. {{ number_format($datos->total,2) }}
{{ $txt_total }}
@endsection @section('scripts') @endsection