{{ __('Purchase Details') }}
@if(Route::has('purchase.index')) @can('purchase-read')
{{ __('Purchase Details') }}
@endcan @endif
{{ __('Purchase Invoice') }}
#P-{{ \Illuminate\Support\Str::padLeft($purchase->id, 5, '0') }}
{{ __('Date') }} : {{ now()->toFormattedDateString() }}
{{ __('From') }}
{{ __('Supplier Id') }} #{{ $purchase->supplier }}
Name: {{ \App\Models\Supplier::where('id',$purchase->supplier)->value('name') }}
{{ __('To') }}
{{ config('app.name') }}
{{ config('site.store.address') }}
{{ config('site.store.phone') }}
@foreach($purchasedetails as $entry) @endforeach
{{ __('Sl') }} {{ __('Product') }} {{ __('Qty') }} {{ __('Price') }} {{ __('Amount') }}
{{ $loop->iteration }} {{\App\Models\Inventoryproduct::where('id',$entry->name)->value('name') }} {{ $entry->qty ??''}} {{ $entry->price ??''}} {{ $entry->qty * $entry->price }}
{{ __('Subtotal') }} : {{ $total }}
{{ __('In word') }} : {{ \App\Lib\Speller::spell($total) }} {{ __('Taka Only') }}
Powered By MMIT SOFT LTD