MIELICIUS / app / Http / Controllers / VendbillsController.php
VendbillsController.php
Raw
<?php

namespace App\Http\Controllers;

use App\Models\Purchaseorder;
use App\Models\Vendbills;
use Illuminate\Http\Request;

class VendbillsController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $Customerinvoices=Vendbills::all();
        $rfqs=Purchaseorder::all();
        return view ('dashboards.vendbills.index', [
            'Customerinvoices'=>$Customerinvoices,
            'rfqs'=>$rfqs,
        ]);
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        //
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        //
    }

    /**
     * Display the specified resource.
     *
     * @param  \App\Models\Vendbills  $vendbills
     * @return \Illuminate\Http\Response
     */
    public function show(Vendbills $vendbills)
    {
        //
    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Vendbills  $vendbills
     * @return \Illuminate\Http\Response
     */
    public function edit(Vendbills $vendbills)
    {
        //
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Models\Vendbills  $vendbills
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, Vendbills $vendbills)
    {
        //
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  \App\Models\Vendbills  $vendbills
     * @return \Illuminate\Http\Response
     */
    public function destroy(Vendbills $vendbills)
    {
        //
    }
}