コード例 #1
0
 public static function getPurchase()
 {
     $vacations = Vacation::getVacations(Auth::user()->id);
     $destination = Vacation::getAll();
     // $remaining = Vacation::remainingBalance($id);
     return view("account", ["vacations" => $vacations, "destination" => $destination]);
 }
コード例 #2
0
 public function viewAll()
 {
     $destinations = Vacation::getAll();
     $images = DestinationImage::getAllImages();
     return view("home", ["destinations" => $destinations, "images" => $images]);
 }