@extends('layouts.app') @section('title') {{__('View Request and Purchases')}} @endsection @section('css') @endsection @section('breadcrumb')

{{__('Request and Purchases')}}

@endsection @section('content')

{{__('View Request and Purchases')}}

@method('put')
@csrf {{-- @include('admin.inventory.purchases._form') --}}
{{ __('Products') }}
{{-- --}}
{{-- --}} @php $products_count = 0; $supplier_count = 0; $purchase_status = ''; @endphp @if (isset($purchase)) @php $purchase_status = $purchase->status; @endphp @foreach ($purchase['products']->sortBy(function ($t) { return $t->product->name; }) as $product) @php $products_count++; @endphp @endforeach @elseif(old('products')) @foreach (old('products') as $product) @php $products_count++; @endphp @endforeach @endif
{{ __('Product') }} {{ __('Unit') }}{{ __('Particulars') }}{{ __('Requested Quantity') }} {{ __('Lab PR No.') }} {{ __('Lab PR date') }} {{ __('UP PR No.') }} {{ __('PO No.') }} {{ __('File Attachment') }}
status != 'Pending') readonly @endif> @if(isset($product->converted_value)) @endif
status != 'Pending') readonly @endif>
status != 'Pending') readonly @endif>
status != 'Pending') readonly @endif>
status != 'Pending') readonly @endif>
View {{-- --}}
@if (isset($product['supplier'])) @foreach ($product['supplier'] as $supplier) @php $supplier_count = 0; @endphp @endforeach @endif
Supplier Delivery Date DR No. SI No. Batch No/Lot No Expiry Date Quantity Cost/Unit Location Storage Equipment IAT/COA File {{-- --}}
View {{-- --}}
{{-- --}}
{{__('Attachments')}}
{{-- --}}
    @if(isset($attachments)) @foreach($attachments as $attach)
  • {{$attach['file_name']}}
  • @endforeach @endif
{{-- @can('complete_purchase') @endcan --}}
@endsection @section('scripts') @endsection