@if(!is_null($order->invoice))
@if(isset($order->invoice->company) && !is_null($order->invoice->reference))
@endif
@if(isset($order->invoice->company->card) && !is_null($order->invoice->company->card))
@endif
{{ $order->invoice->number }}
@else
{{ $order->company->expire_date->format('Y-m-d H:i') }}
@endif
{{ number_format($order->calculateTotal(), 2) }}
{{ $order->created_at->format('Y-m-d H:i') }}