<?php

namespace App\View\Components\Stocks\StockIn;

use Illuminate\View\Component;

class VoucherItemDetails extends Component
{
    public $invoice,$voucher_type;
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($invoice,$voucherTypeDetails)
    {
        $this->invoice = $invoice;
        $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.stocks.stock-in.voucher-item-details');
    }
}
