@extends('admin.layout') @section('content')

{{ trans('Purchase Order') }}

@php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); @endphp
{{-- @if(count($result['SignaturesData'])<1) --}}
{{-- {{ trans('Back') }} --}} {{ trans('Back') }} {{-- --}} {{ trans('Save as PDF') }} @if(empty($result['Purchase_order_draft']->deleted_at)) {{ trans('Edit') }} {{ trans('Convert To Main PO') }} @endif

{{-- @endif --}}
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{{-- --}}
Issue No. {{ $result['Purchase_order_draft']->issues_no }}
www.rhysley.com
Purchase Order
{{ $result['Purchase_order_draft']['get_company_info']->name }}
{{ $result['Purchase_order_draft']['get_company_info']->address }} @if(!empty($result['Purchase_order_draft']['get_company_info']->address2)) , {{ $result['Purchase_order_draft']['get_company_info']->address2 }} @endif
{{ $result['Purchase_order_draft']['get_company_info']->city }} , {{ $result['Purchase_order_draft']['get_company_info']->province }} , {{ $result['Purchase_order_draft']['get_company_info']->postal_code }} , {{ $result['Purchase_order_draft']['get_company_info']->country }}
Ph: {{ $result['Purchase_order_draft']['get_company_info']->phone_number }}
Email: {{ $result['Purchase_order_draft']['get_company_info']->email_address }}
Format No.
{{ $result['Purchase_order_draft']->format_no }}
Rev. No: {{ $result['Purchase_order_draft']->rev_number }}
Date: {{ date('d-m-Y', strtotime($result['Purchase_order_draft']->poc_date)) }}
Page No : 01 of 01

Supplier Name & Address:

{{ $result['Purchase_order_draft']['get_vendor']->name }}
@if(!empty($result['Purchase_order_draft']['get_vendor']->full_name)) Full Name: {{ $result['Purchase_order_draft']['get_vendor']->full_name }}
@endif Address: {{ $result['Purchase_order_draft']['get_vendor']->address1 }} @if(!empty($result['Purchase_order_draft']['get_vendor']->address2)) , {{ $result['Purchase_order_draft']['get_vendor']->address2 }} @endif @if(!empty($result['Purchase_order_draft']['get_vendor']->city)) , {{ $result['Purchase_order_draft']['get_vendor']->city }} @endif , {{ $result['Purchase_order_draft']['get_vendor']['get_province']->zone_name }} @if(!empty($result['Purchase_order_draft']['get_vendor']->postal_code)) , {{ $result['Purchase_order_draft']['get_vendor']->postal_code }} @endif , {{ $result['Purchase_order_draft']['get_vendor']['get_country']->countries_name }}
PH: {{ $result['Purchase_order_draft']['get_vendor']->phone_number }}
@if(!empty($result['Purchase_order_draft']['get_vendor']->email_address)) Email: {{ $result['Purchase_order_draft']['get_vendor']->email_address }}
@endif @if(!empty($result['Purchase_order_draft']['get_vendor']->gst_number)) GSTIN: {{ $result['Purchase_order_draft']['get_vendor']->gst_number }}
@endif

 
PO #: DR{{ $result['Purchase_order_draft']->po }}
Date: {{ date('d-m-Y', strtotime($result['Purchase_order_draft']->po_date)) }}
@if($result['Purchase_order_draft']['get_vendor']['get_country']->countries_name == 'India') @if($result['Purchase_order_draft']['get_vendor']['get_province']->zone_name == 'Haryana') @else @endif @else @endif @foreach($result['Purchase_order_draft']['get_purchase_order_draft_data'] as $gpod) @endforeach
Sr. No. HSN Code Material Specification Unit Qty. Rate Total
PriceGST GST AmountIGST IGST AmountGST GST Amount
{{ $i }} {{ $gpod->hsn_code }} {{ $gpod->material_specification }} {{ $gpod->unit }} {{ $gpod->qty }} {{ number_format((float)$gpod->price, 2, '.', ',') }} {{ $gpod->gst_percent }}% {{ number_format((float)$gpod->gst_amount, 2, '.', ',') }} {{ number_format((float)$gpod->total_amount, 2, '.', ',') }}
  {{ number_format((float)$result['Purchase_order_draft']->grand_total, 2, '.', ',') }}
Amount in words: {{ ucwords(getIndianCurrency($result['Purchase_order_draft']->grand_total)) }}
{!! $result['Purchase_order_draft']->instructions !!}
For Rhysley Pvt Ltd
This is an electronically generated PO and does not require a stamp and signature
@endsection