public function getSap($type, $no_sap) { $link = $this->link_dokumen($type, $no_sap); $dokumen_with_pr = $link['dok_pr']; $dokumen_with_po = $link['dok_po']; $no_pr = $link['no_pr']; $no_po = $link['no_po']; $actifity_all = Actifity::all(); $sub_jenis_all = Sub_jenis_dokumen::all(); $unit_po = Unit::where('id', '=', 22)->orWhere('id', '=', 23)->orWhere('id', '=', 19)->orWhere('id', 25)->orWhere('id', 20)->get(); return view('dokumen.sap', compact('no_pr', 'no_po', 'dokumen', 'actifity_all', 'sub_jenis_all', 'dokumen_with_pr', 'dokumen_with_po', 'actifity_list', 'unit_po')); }