{{ __('main.purchase_details') }}
{{ $purchase->supplier->name ?? '' }}
{{ $purchase->supplier->tax_number ?? '' }}
{{ getCountryCode() }} {{ $purchase->supplier->phone ?? '' }}
{{ __('main.purchase') }} # {{ $purchase->purchase_number }}
Date: {{ \Carbon\Carbon::parse($purchase->purchase_date)->format('d/m/Y') }}
{{ __('main.by') }} {{ $purchase->createdBy->name ?? '' }}
@if ($purchase->purchase_type == 2) {{ __('main.pushed') }} @endif @if ($purchase->purchase_type == 1) {{ __('main.draft') }} @endif`
@php $details = \App\Models\PurchaseDetail::where('purchase_id', $current_id)->get(); @endphp @foreach ($details as $row) @endforeach
# {{ __('main.particulars') }} {{ __('main.rate') }} {{ __('main.qty') }} {{ __('main.tax') }} % {{ __('main.tax_amount') }} {{ __('main.total') }}
{{ $loop->index + 1 }}
{{ $row->material_name }}
{{ getFormattedCurrency($row->purchase_price) }} {{ $row->purchase_quantity }} {{ getUnitType($row->material_unit) }} {{ $row->purchase->tax_percentage ?? '' }} {{ getFormattedCurrency($row->tax_amount) }} {{ getFormattedCurrency($row->purchase_item_total) }}