@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 }}
| N. |
Detalle |
Cantidad |
Precio |
Total |
@foreach ($data->detalle as $item)
| {{ ++$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) }} |
@endforeach
@if ($data->descuento)
| Total |
{{ number_format($data->subtotal,2) }} |
| Descuento |
{{ number_format($data->descuento,2) }} |
| TOTAL |
{{ number_format($data->total,2) }} |
@else
| TOTAL |
{{ number_format($data->total,2) }} |
@endif
{{ $txt_total }}
@endsection
@section('scripts')
@endsection