• person
    {{ $document->document_number }}
    @if (! $hideShow) {{ $document->contact_name }} @else
    {{ $document->contact_name }}
    @endif
  • bookmark_border
    @php $history = $document->last_history; @endphp {{ $history->description }} {{ \Date::parse($history->created_at)->diffForHumans() }}
  • @if ($document->items->count()) @foreach ($document->items as $document_item) @if ($loop->index > 1) @break @endif
  • sell
    {{ $document_item->name }}
    {{ $document_item->description }}
  • @endforeach @endif @if ($document->items->count() > 2)
  • @if (! $hideShow) {{ trans('documents.invoice_detail.more_item', ['count' => $document->items->count() - 2]) }} @else
    {{ trans('documents.invoice_detail.more_item', ['count' => $document->items->count() - 2]) }}
    @endif
  • @endif
  • attach_money
    {{ trans('general.paid') }} @if ($document->paid) @endif
    {{ trans('general.due') }}