public function acceptanceSearchPO() { $get = Po::acceptanceGetPO(trim($_POST['filter'])); return view('material.acceptance.searchPO', ['fetch' => $get]); }
public function acceptanceSearchPO(Request $req) { $get = Po::acceptanceGetPO($req->all()); return view('material.acceptance.searchPO', ['fetch' => $get]); }