@extends('relatorios.v2.base') @section('report_name', 'Relatório de Compras') @section('report_name_subtitle') @if($data_inicial && $data_final) Período: {{$data_inicial}} - {{$data_final}} @endif @endsection @section('style') @endsection @section('main_container', 'container-fluid') @section('content')
| DATA | FORNECEDOR | ITENS | NF-e | DESCONTO | TOTAL |
|---|---|---|---|---|---|
| {{ $compra->created_at->format('d/m/Y') }} | {{$compra->fornecedor->razao_social ?? '-'}} |
@endif @endforeach |
{{ $compra->nf > 0 ? $compra->nf : '--' }} | R$ {{number_format($compra->desconto, 2, ',', '.')}} | R$ {{number_format(($compra->valor - $compra->desconto), 2, ',', '.')}} |