@extends('layouts.app') @section('css') @endsection @section('content')
{{__('Purchase Receive') }} >> #{{ sprintf("%04d", $receivedData->id) }}
@if(Helpers::has_permission(Auth::user()->id, 'add_quotation'))  {{ __('Purchase Order') }} @endif
{{ __('Print') }} {{ __('PDF') }} @if(Helpers::has_permission(Auth::user()->id, 'edit_purchase_receive')) {{ __('Edit') }} @endif @if(Helpers::has_permission(Auth::user()->id, 'delete_purchase_receive'))
{!! csrf_field() !!}
@endif
{{ $company_name }}
{{ $company_street }}
{{ $company_city }}, {{ $company_state }}
{{ $company_country_name }}, {{ $company_zipCode }}
{{isset($receivedData->supplier->name) ? $receivedData->supplier->name : ''}}
{{ isset($receivedData->supplier->street) ? $receivedData->supplier->street : ''}}
{{ isset($receivedData->supplier->city) ? $receivedData->supplier->city : ''}}{{ isset($receivedData->supplier->state) ? ', '.$receivedData->supplier->state : ''}}
{{ isset($receivedData->supplier->country->name) ? $receivedData->supplier->country->name : '' }}{{ isset($receivedData->supplier->zipcode) ? ', '.$receivedData->supplier->zipcode : '' }}
{{ __('Purchase No') }} #{{ $receivedData->reference }}
{{ __('Location') }} : {{ isset($receivedData->location->name) ? $receivedData->location->name : ''}}
{{ __('Date') }} : {{formatDate($receivedData->receive_date)}}
@if ( count($receivedData->receivedOrderDetails) > 0 ) @foreach ($receivedData->receivedOrderDetails as $key=>$result) @endforeach @endif
{{ __('SL No') }} {{ isset($receivedData->purchaseOrder->invoice_type) && $receivedData->purchaseOrder->invoice_type == 'hours' ? __('Service') : __('Item') }} {{ isset($receivedData->purchaseOrder->invoice_type) && $receivedData->purchaseOrder->invoice_type == 'hours' ? __('Hours') : __('Quantity') }}
{{ ++$key }} {{ $result->item_name }} {{ formatCurrencyAmount($result->quantity) }}
@if(!empty($receivedData->order_receive_no))
{{ __('Note') }}: {{ $receivedData->order_receive_no }}
@endif
@endsection @section('js') @endsection