@if (isset($since) || isset($until))

@if (isset($since)) Desde: {{ \Carbon\Carbon::parse($since)->format('d/m/Y') }} @endif @if (isset($since) && isset($until)) - @endif @if (isset($until)) Hasta: {{ \Carbon\Carbon::parse($until)->format('d/m/Y') }} @endif

@endif @if (isset($since) || isset($until)) @endif @if ($currency == Currency::DOLAR) @else @endif @if ($currency == Currency::DOLAR) @else @endif @if ($currency == Currency::DOLAR) @else @endif ID Fecha Emisión Fecha Despacho Cliente Vendedor Estatus Pago Formas de Pago Total Deuda {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Por cobrar {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Pago de Inicial {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Abonos parciales {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} @foreach($orders as $item) {{ $item->number_format }} {{ \Carbon\Carbon::parse($item->created_at)->format('d/m/Y H:i') }} {{ $item->dispatch_date ? \Carbon\Carbon::parse($item->dispatch_date)->format('d/m/Y') : '' }} {{ $item->client ? $item->client->name : '' }} {{ $item->seller ? $item->seller->name : '' }} {{ $item->status_payment_expired_text }} {{ $item->payment_methods_text }} @if ($currency == Currency::DOLAR) {{ $item->total }} @else {{ Money::convertFrom($item->total,$conversion) }} @endif @if ($currency == Currency::DOLAR) {{ $item->to_pay }} @else {{ Money::convertFrom($item->to_pay,$conversion) }} @endif @if ($currency == Currency::DOLAR) {{ $item->initial_payment }} @else {{ Money::convertFrom($item->initial_payment,$conversion) }} @endif @if ($currency == Currency::DOLAR) {{ $item->partial_payment }} @else {{ Money::convertFrom($item->partial_payment,$conversion) }} @endif @endforeach