@extends('cr_blank') @section('content')
{{ $title }}
Fecha de pedido: {{ date('d/m/Y', strtotime($data->fecha)) }}
Nombre/Razón Social: {{ $data->razon_social }}
NIT/CI: {{ $data->nit_ci }}
Pedido realizado por: {{ $data->usuario->nombre_completo }}
Datos del cliente:
Contacto: {{ $data->cliente->contacto }}
Dirección: {{ $data->cliente->direccion }}
Celular: {{ $data->cliente->celular }}
Telefono: {{ $data->cliente->telefono }}
@foreach ($data->detalle as $item) {{-- --}} @endforeach @if ($data->descuento) @else @endif
N. Detalle Cantidad Precio Total
{{ ++$i }}{{ date('d-m-Y', strtotime($item->fecha)) }}{{ $item->suministro->nombre }} {{ number_format($item->cantidad,2) }} {{ number_format($item->precio,2) }} {{ number_format($item->total,2) }}
Total {{ number_format($data->subtotal,2) }}
Descuento {{ number_format($data->descuento,2) }}
TOTAL {{ number_format($data->total,2) }}
TOTAL {{ number_format($data->total,2) }}
{{ $txt_total }}
@endsection @section('scripts') @endsection