コード例 #1
0
 public function showbranch($id)
 {
     $branch = PartnerBranch::where('partner_id', $id)->get();
     $countries = Country::all();
     $partnerid = Partner::whereId($id)->first();
     return view('deskpad/branches', compact('branch', 'partnerid', 'countries'));
 }