@extends('Reports.template') @section('title') {{ __("Purchase Order Report") }} @endsection @section('ExternalCss') @parent @if($documentSetupData != null) @php $pageSize = $documentSetupData->page_size; $pageType = $documentSetupData->page_type; $pageOrientation = ($documentSetupData->page_orientation == "P" ) ? "Potrait" : "Landscape"; $pageLM = $documentSetupData->page_LM."mm"; $pageTM = $documentSetupData->page_TM."mm"; $pageRM = $documentSetupData->page_RM."mm"; $pageBM = $documentSetupData->page_BM."mm"; @endphp @endif @if($poHeader->po_status != 'A') @endif @endsection @section('Content')
|
@if($businessEntityMasterData[0]->logo != null)
|
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{ __("Phone") }} : {{$businessEntityMasterData[0]->tel1}}
@if ($businessEntityMasterData[0]->pan_no != '')
{{ __("PAN No") }} : {{$businessEntityMasterData[0]->pan_no}},
@endif
@if ($businessEntityMasterData[0]->tan_no != '')
{{ __("TAN No") }} : {{$businessEntityMasterData[0]->tan_no}},
@endif
@if ($businessEntityMasterData[0]->CIN_NO != '')
{{ __("CIN No") }} : {{$businessEntityMasterData[0]->CIN_NO}},
@endif
@if ($businessEntityMasterData[0]->tinno != '')
{{ __("TIN No") }} : {{$businessEntityMasterData[0]->tinno }}
@endif
|
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @if ($purchase_order_type == "RPO") {{ __('RATE CONTRACT PURCHASE ORDER') }} @elseif ($poHeader->po_status == 'A') {{ __('PURCHASE ORDER') }} @else {{ __('PURCHASE ORDER (UNAPPROVED)') }} @endif | |||||||||||||||||||
|
{{$poHeader->supplier_name}} {{$poHeader->supplier_address1}} {{$poHeader->supplier_address2}} {{$poHeader->supplier_city}} {{$poHeader->supplier_pincode}} |
{{$businessEntityMasterData[0]->name}} {{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }} |
{{ __('PO No') }}
{{ __('PO Date') }} @if ($purchase_order_type=="RPO") {{ __('PO Valid Until') }} @endif {{ __('Prepared By') }} {{ __('Approved By') }} |
@if($poHeader->po_status == 'A')
: {{ $poHeader->po_fyear.'/'.$poHeader->po_id}}
@else : {{ __('UNAPPROVED') }} @endif : {{\Helper::getDisplayDate($poHeader->po_date)}} @if ($purchase_order_type=="RPO") : {{\Helper::getDisplayDate($poHeader->po_valid_upto)}} @endif : {{strtoupper($poHeader->createdFname.' '.$poHeader->createdLname)}} : {{strtoupper($poHeader->approvedFname.' '.$poHeader->approvedLname)}} |
||||||||||||||||
| {{ __('Sr.') }} {{ __('Product Name') }} | {{ __('HSN') }} | {{ __('Qty') }} | {{ __('UOM') }} | {{ __('Pkg') }} | {{ __('Rate') }} | {{ __('Discount %') }} | {{ __('Discount Amt') }} | {{ __('Taxable') }} | {{ __('GST%') }} | {{ __('GST Amt') }} | {{ __('Total') }} | ||||||||
| {{$sr++}} {{ substr($poTransaction->product_name, 0, 60) }} | {{ \Helper::zeroValueToDash($poTransaction->product_hsn_code) }} | @if ($purchase_order_type=="RPO")@else | {{$poTransaction->po_quantity}} | @endif{{$poTransaction->unit_abbrev}} | {{"1x".$poTransaction->conversion_factor}} | {{number_format($poTransaction->price,2)}} | @if($poTransaction->discount_type == 'P'){{number_format($poTransaction->discount,1)}} | @if ($purchase_order_type=="RPO")@else | {{number_format($poTransaction->discount_amt,2)}} | @endif @else0.0 | @if ($purchase_order_type=="RPO")@else | {{number_format($poTransaction->discount_amt,2)}} | @endif @endif @if ($purchase_order_type=="RPO")@else | {{number_format($poTransaction->taxable_amt,2)}} | @endif{{number_format($poTransaction->sgst_percentage + $poTransaction->cgst_percentage + $poTransaction->igst_percentage,1)}} | @if ($purchase_order_type=="RPO")@else | {{number_format($poTransaction->sgst_value + $poTransaction->cgst_value + $poTransaction->igst_value,2)}} | {{number_format($poTransaction->total,2)}} | @endif|
| {{$poTransaction->additional_product_description}} | |||||||||||||||||||
| {{ substr($poTransaction->generic_drug_name, 0, 100) }} | @if ($purchase_order_type=="RPO") | @else | {{$schedule->po_quantity}} | {{\Helper::getDisplayDate($schedule->expected_delivery_date)}} | @endif|||||||||||||||
| {{ __('Taxable Amount') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->net_taxable_amt,2)}} | @endif|||||||||||||||||
| {{ __('GST Amount') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format(($poHeader->cgst_amt + $poHeader->sgst_amt + $poHeader->igst_amt),2)}} | @endif|||||||||||||||||
| {{ __('Sub Total') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->gross_total,2)}} | @endif|||||||||||||||||
| {{ __('Shipping Charges') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->shipping_charges,2)}} | @endif|||||||||||||||||
| {{ __('Other Charges') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->other_charges,2)}} | @endif|||||||||||||||||
| {{ __('Adjustment') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->round_off,2)}} | @endif|||||||||||||||||
| {{ __('Net Total') }} : | @if ($purchase_order_type=="RPO")0.00 | @else{{number_format($poHeader->total,2)}} | @endif|||||||||||||||||
|
{{ __('Terms & Conditions') }} : {{ __('Payment Terms') }} : {{$poHeader->payment_terms_after." ".$poHeader->payment_terms_after_unit}} after date of delivery / inspection. {!! $poHeader->terms_conditions !!} |
|||||||||||||||||||
| {{ __('This Purchase Order is NOT approved. Please DO NOT supply any material against this Purchase Order.') }} | @endif|||||||||||||||||||
|
@if($poHeader->user_signature != "") @endif {{ __('Authorized Signature') }} |
|||||||||||||||||||
| {{ __('Print By') }} : {{ strtoupper($userId)." # ".$currentTime->format('d/m/Y H:i:s ')}} | {{ __('Created By') }} : @if($poHeader->lastmodified_by) {{strtoupper($poHeader->lastmodified_by.' # '.\Helper::getDisplayDateTime($poHeader->lastmodified_date))}} @else {{strtoupper($poHeader->created_by.' # '.\Helper::getDisplayDateTime($poHeader->created_date))}} @endif | ||||||||||||||||||