@if (isset($since) || isset($until)) Desde @if (isset($since)) {{ \Carbon\Carbon::parse($since)->format('d/m/Y') }} @endif Hasta @if (isset($since)) {{ \Carbon\Carbon::parse($until)->format('d/m/Y') }} @endif @endif @if (isset($since) || isset($until)) @endif Fecha N° Factura ID Vendedor Cliente Método de Pago Descuento General {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Descuento de Productos {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Total {{$currency == Currency::DOLAR ? '($)' : '(Bs)'}} Estatus Estatus de pago @foreach($orders as $item) {{ \Carbon\Carbon::parse($item->created_at)->format('d/m/Y H:i') }} {{ $item->fiscal_bill == \App\Models\Order::WITH_FISCAL_BILL ? $item->order_bill->bill_number : ($item->fiscal_bill_free == \App\Models\Order::WITH_FISCAL_BILL ? $item->bill_number : '') }} {{ $item->number_format }} {{ $item->seller ? $item->seller->name : '' }} {{ $item->client ? $item->client->name : '' }} {{ $item->payment_methods_text }} @if ($currency == Currency::DOLAR) {{ Money::getFormat($item->discount) }} ({{ $item->discount_percentage }}%) @else {{ Money::get(Money::convertFrom($item->discount,$item->conversion),Money::BOLIVAR) }} ({{ $item->discount_percentage }}%) @endif @if ($currency == Currency::DOLAR) {{ Money::getFormat($item->product_discount) }} @else {{ Money::get(Money::convertFrom($item->product_discount,$item->conversion),Money::BOLIVAR) }} @endif {{ Money::getFormat($item->total) }} {{ $item->deleted_at != null ? 'Eliminado' : $item->status_text }} {{ ($item->deleted_at != null || $item->status_text == 'Rechazado' || $item->status_text == 'Anulado') ? '-' : $item->status_payment_text }} @endforeach