| {{ \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