<?php

namespace App\View\Components;

use Illuminate\View\Component;

class OPDItemDetails extends Component
{
    public $sale_invoice,$voucher_type;
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($saleInvoice,$voucherTypeDetails)
    {
        $this->sale_invoice  = $saleInvoice;
        $this->voucher_type  = $voucherTypeDetails;
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return view('components.o-p-d-item-details');
    }
}