change request show
This commit is contained in:
parent
06fc3ba919
commit
f1a1baa913
32 changed files with 34 additions and 13948 deletions
|
|
@ -3,6 +3,7 @@
|
|||
namespace App\Http\Controllers\SyS\Tools;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Booking;
|
||||
use App\Models\IQContentSite;
|
||||
use App\Models\IQContentSiteField;
|
||||
use App\Models\IQContentTree;
|
||||
|
|
@ -10,6 +11,8 @@ use App\Models\IQContentTreeNode;
|
|||
use App\Models\TravelCountry;
|
||||
use App\Models\TravelGuide;
|
||||
use App\Models\TravelNationality;
|
||||
use App\Models\TravelBooking;
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
use IqContent\LaravelFilemanager\Controllers\FileController;
|
||||
use IqContent\LaravelFilemanager\Controllers\FolderController;
|
||||
|
|
@ -35,6 +38,18 @@ class ContentLinkController extends Controller
|
|||
//content_links
|
||||
public function index()
|
||||
{
|
||||
/*$query = Booking::with('booking_draft_items')->select('booking.*')->where('new_drafts', true);
|
||||
|
||||
$query->whereHas('booking_draft_items', function ($q) {
|
||||
$q->where('comfort', true);
|
||||
});
|
||||
$bookings = $query->get();
|
||||
foreach ($bookings as $booking){
|
||||
$booking->comfort = true;
|
||||
$booking->save();
|
||||
}
|
||||
*/
|
||||
dd("nothing");
|
||||
$val = [];
|
||||
$text = "";
|
||||
/* $travelGuides = TravelGuide::all();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue