{{ __('main.purchase_list') }}
@foreach ($purchases as $row) @if ($row->purchase_type == 1) @endif @if ($row->purchase_type == 2) @endif @endforeach
# {{ __('main.purchase_info') }} {{ __('main.supplier') }} {{ __('main.total') }} {{ __('main.status') }} {{ __('main.actions') }}
{{ $loop->index + 1 }}
{{ $row->purchase_number }}
{{ \Carbon\Carbon::parse($row->purchase_date)->format('d/m/Y') }}
{{ __('main.by') }} {{ $row->createdBy->name ?? '' }}
{{ $row->supplier->name ?? '' }}
{{ $row->supplier->tax_number ?? '' }}
{{ getFormattedCurrency($row->total) }}
{{ __('main.draft') }} {{ __('main.view') }} {{ __('main.edit') }} {{ __('main.pushed') }} {{ __('main.view') }}
@if (count($purchases) == 0) @endif