public static function filterAndPaginateSupplier($name) { return Partner::getSupplier($name); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { // $customers = Partner::getSupplier(''); return view('purchases.create', compact('customers')); }