{{--
{!! __('add_stock.invoice') !!} |
{!! __('add_stock.bilag_nummer') !!} {{ $result->invoice_no }}{!! __('add_stock.firm') !!} : {!! $result->store_name !!} {!! __('add_stock.org_no') !!} : {!! $result->org_no !!} |
{{-- {!! __('stock_request.request_date') !!}: {{ dateFormat($result->adjustment_dt, SHOW_DATE) }} --}}
{!! __('add_stock.bilag_nummer') !!} {{ $result->invoice_no }} |
|
@php $editedBy = ($result->edited_by_type == 1) ? ($result->admin(false)->full_name ?? '') : ($result->employee(false)->first_name ?? ''); $createdBy = ($result->created_by_type == 1) ? ($result->admin()->full_name ?? '') : ($result->employee()->first_name ?? ''); @endphp {!! __('add_stock.bilag') !!}{!! __('add_stock.nummer') !!}: {{ $result->invoice_no }} {!! __('add_stock.date_pdf') !!} : {{ dateFormat($result->adjustment_dt, SHOW_DATE) }} {!! __('add_stock.created_by') !!} : {{ $createdBy }} {!! __('add_stock.created_at') !!} : {{ dateFormat($result->created_at, DB_DATETIME) . ' ' . __('add_stock.date_comment') }} {!! __('add_stock.edited_by') !!} : {{ $editedBy }} {!! __('add_stock.edited_at') !!} : {{ dateFormat($result->updated_at, DB_DATETIME) . ' ' . __('add_stock.date_comment') }} |
{{--
![]() | --}}
{!! __('add_stock.details') !!}
{!! __('add_stock.item') !!} | {!! __('add_stock.unit') !!} | {!! __('add_stock.stock_quantity') !!} | {!! __('add_stock.price') !!} | {!! __('add_stock.total') !!} |
{{ $row->item_name }} | {{ $row->unit_name }} | {{ $row->quantity }} | @php $price = $row->item_price; $weight = $row->weight; $id = $row->adjustment_id; if ($id > 62) { $price = $row->sale_price_excl; $weight = $row->stock_weight; } @endphp @if ($weight > 0) @php $price = $price / $weight; @endphp @endif{{ numberFormat($price, 1) }} | {{ numberFormat($price * $row->quantity, 1) }} | @php $total_price += $price * $row->quantity; @endphp
{{ __('add_stock.sum') }} | {{ numberFormat($total_price, 1) }} | |||