Sindbad~EG File Manager

Current Path : /var/www/html/carsanies.sumar.com.py/resources/views/exports/
Upload File :
Current File : /var/www/html/carsanies.sumar.com.py/resources/views/exports/compras_detalladas.blade.php

<table>
    <thead>
        <tr>
            <th>Fecha</th>
            <th>Proveedor</th>
            <th>Usuario</th>
            <th>Producto</th>
            <th>Cantidad</th>
            <th>Precio Unitario</th>
        </tr>
    </thead>
    <tbody>
        @foreach ($compras as $compra)
            @foreach ($compra->detalles as $detalle)
                <tr>
                    <td>{{ \Carbon\Carbon::parse($compra->created_at)->format('Y-m-d') }}</td>
                    <td>{{ $compra->proveedor }}</td>
                    <td>{{ $compra->name }}</td>
                    <td>{{ $detalle->producto }}</td>
                    <td>{{ $detalle->cantidad }}</td>
                    <td>{{ number_format($detalle->precio, 0, ',', '.') }}</td>
                </tr>
            @endforeach
        @endforeach
    </tbody>
</table>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists