@extends('admin.layout.master') @section('title', strtoupper($type) . ' MANAGEMENT') @section('custom_style') @endsection @section('content')

{{ strtoupper($type) }} {{ __('obs.edit') }}

@csrf
@if ($content->attachment) @php $fileType = pathinfo($content->attachment, PATHINFO_EXTENSION); $fileUrl = asset('storage/requisition') . '/' . $content->attachment; @endphp @if (in_array($fileType, ['jpg', 'jpeg', 'png', 'gif'])) Attachment Image @elseif($fileType === 'pdf') @else

Preview not available for this file type.

@endif
@endif
@if ($content->supplier)
@include('v2.inventory.global.party_live_dd', [ 'type' => 1, 'cls' => 'p', 'id' => 'vendor_id', 'name' => 'vendor_id', 'selected_party' => $content->supplier, ])
@endif
@if ($type == 'requisition') @elseif($type == 'quotation') @else @endif @if ($type != 'requisition') @endif @php $i = 0; @endphp @if ($content) @forelse ($content->details as $p=>$item) {{-- --}} @if ($type == 'requisition') @elseif($type == 'quotation') @else @endif @if ($type !== 'requisition') @endif @php $i++; @endphp @empty @endforelse @endif @if ($type != 'requisition') @endif
# {{ __('obs.product') }} {{ __('obs.note') }}{{ __('obs.qty') }}{{ __('obs.req.') }} {{ __('obs.qty') }}{{ __('obs.quot.') }} {{ __('obs.qty') }}{{ __('obs.qty') }} {{ __('obs.price') }} {{ __('obs.subtotal') }}
{{ $i + 1 }}
{{ $item->product->name_eng }} {{ store_info()->is_barcode_show ? '(' . $item->product->barcode . ')' : '' }}
{{$item->quantity}}
{{ __('obs.total') }}
{{ __('obs.discount') }} {{ __('obs.(%)') }} {{ __('obs.discount') }} {{ __('obs.(amount)') }}
{{ __('obs.net') }} {{ __('obs.amount') }}
@include('inventory.prepurchase.po.install_modal') @endsection @section('script') @stop